Tor2web icon indicating copy to clipboard operation
Tor2web copied to clipboard

Please rename the debian directory.

Open cheako opened this issue 7 years ago • 4 comments

To make a debian package of tor2web there must not already be a folder called debian. Renaming this folder to something like debian.example will facilitate packaging this software.

Thanks.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

cheako avatar Aug 01 '17 10:08 cheako

thanks @cheako !

could you explain it better the reasons behind this ticket? are you going to support the packaging for some distributions?

the reasons we are keeping a debian directory (like in GlobaLeaks) is that we are officially managing the packaging; is there some refactor that you would like to suggest for this process?

evilaliv3 avatar Aug 01 '17 12:08 evilaliv3

If you plan on uploading the package to debian, then you would already know that this folder needs to be moved/deleted. I'm not really good at explaining things, but this folder makes it impossible to package software. If you wish you can ship a proper debian source archive, but I'm not sure how aside from having two git repositories and somehow generate the dsc file.

The best way to keep what you've got now and move forward is to rename your debian folder and ask your users to either rename it back or create a symlink. That would seem to be the simplest solution. I would pester the devs of tools like dpkg-buildpackage and ask them to look for another folder in case the debian folder can not be found, lessening the cost of renaming the folder and indeed highlighting to anyone else that debian is not the correct name for the folder you've made.

I see you'r using the native format and that indeed may be correct for what you'r trying to do. However there may be a need for Debian to ship a slightly different package than otherwise available and so I would urge you to consider that anyone uploading this to Debian would need to use a non-native source format.

cheako avatar Aug 03 '17 05:08 cheako

Maybe we could put this diretcory in a contrib directory so to prepar for official debian packaging.

Are you evaluating to pick up this support task and push the package for official debian packaging?

evilaliv3 avatar Aug 12 '17 17:08 evilaliv3

I'm only pointing out the issue, mainly to spread awareness and hopefully prevent other projects from copying the idea.

cheako avatar Aug 12 '17 17:08 cheako