-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create .deb package #28
Comments
Maybe a simpler way (even if palliative) would be to write a
I might have time to give it a try in the weekend… but cannot promise. |
I think using |
Although I enjoy We basically need two packages: one for Debian and other for Homebrew. The .deb packages can be converted quite easily in any other, and the homebrew recipes seems easy to write. The hard part is to get into the default repositories. |
Thanks to @arthar360, we now have a package for Homebrew (#31). We only need to generate a .deb now, which can be converted to other distribution's package managers. |
Hi. I was looking to package shellshare, but it depends too much nodejs modules not packaged in Debian yet. I had to gave up for now. |
@phls executing the |
@arthar360 is public/bin/shellshare is the client? |
Yes, Thats the client @phls . Does the file fail to execute? |
@arthar360 no, its ok to me. |
Hey @phls, it's been a long time. Nice to see you here! So, the shellshare client doesn't depend on NodeJS at all. Sorry, I think the install instructions are kinda confusing, as it's the server's install instructions. As @arthar360 was saying, the package just need to add https://github.com/vitorbaptista/shellshare/blob/master/public/bin/shellshare to the executable path, which only depends on Python. |
@vitorbaptista hi! In this case, to have a package with just shellshare, it's better if you create another repository like "shellshare-client" with README, LICENSE, public/bin/shellshare and all files you need to the client. |
Why? It isn't possible to use it as is?
I'd like to avoid any unnecessary complications, the client and server are
pretty much tied together, changing one usually imply changing the other,
and the server needs to serve the client (so I would need submodules or
similar if they were in a separate repository). Too much work just for a
single file.
|
Answering in portuguse. Me parece que o melhor para evitar complicações para todos é simplesmente não empacotar então. Do jeito que está, para empacotar apenas o public/bin/shellshare será necessário excluir todo o resto que não é usado durante o processo de empacotamento, e criar um pacote como +DFSG. E eu pessoalmente não estou afim de puxar essa complicação para mim :-) Como você não quer criar a complicação de seperar o software em outro repositório, melhor abandonar a ideia mesmo. Abraços, |
Tem algum problema em incluir tudo no pacote, mesmo que só vá usar o
`public/bin/shellshare`? Sabe se isso vai contra alguma política do Debian,
ou se eles deixariam de incluir o .deb se ele fosse criado assim? O
repositório é minúsculo, então acho que a diferença de tamanho do pacote
vai ser negligível.
|
humm, não faz muito sentido empacotar algo que não será usado. O pacote não vai construir porque tem dependências não satisfeitas, incluindo aquele diretório onde estão os módulos nodejs. |
Mas você consegue ver algum problema com isso, além de aumentar
denecessariamente o tamanho do pacote? Estou tentando entender se há uma
maneira mais simples, mantendo a estrutura do repositório atual.
|
Não é isso. Se o pacote não constroi, ele não entra no Debian. É como se ele tivesse uma falha e por isso fica impossibilidade de entrar no repositório. |
It seems that we could open a RFP (Request For Package) with Debian at https://www.debian.org/devel/wnpp/. Check https://www.debian.org/doc/manuals/maint-guide/ as well.
The text was updated successfully, but these errors were encountered: