-
Notifications
You must be signed in to change notification settings - Fork 246
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
Multiple quality issues with the generated deb #874
Comments
Lintian report attached. |
Absolutely agree that there are all sorts of things we could do better with the Debian package. The current package is a script I hacked together early on in the project just to get it to a usable and installable state. It’s certainly not state of the art or following any best practice whatsoever. Increasingly we lean on the community now to provide up-to-date packages, since the burden of maintaining packages for countless distributions and platforms could quite easily take up more time than maintaining the project itself. Would absolutely welcome any help in producing a better package. We actually did something similar a while ago for RPMs (separately, in the Right now our CircleCI pipeline runs the Go 1.17 Linux image — see here. Let me know if there’s anything I can do to help. |
Sure, I will be happy to do that. It will probably be next week due to some busy things on my end this week. |
Hello, I have prepared a packge for Debian and uploaded it to Debian. The review process will likely take a few weeks. After it is approved to unstable and migrates to testing, I will also upload it to bullseye-backports (which will be subject to a new approval). After that, it will be faster to make new releases. The Debian packaging lives here https://salsa.debian.org/go-team/packages/yggdrasil . I will highlight the changes I made between from the tree here:
I am attaching the amd64 deb here. github requires that I zip it first, sigh. |
The next step will be to see if this can be easily modified to be applicable within this source tree. It will require a CircleCI runner that is Debian or Ubuntu, but I think that the answer is "yes, this should be fairly easy". It would be ideal if there were a better way than patching the source to give the default run and config file locations. |
Hi,
This is both a conversation starter and a volunteer to help. The generated .deb is assembled very manually - down to the level of calling ar - and this is causing a number of quality issues.
set -e
) and also should only run when called withconfigure
as$1
, instead of always.Using the Debian native toolchain, including with debhelper, would itself address almost all of these issues, and the rest could be resolved fairly trivially as well.
I am a Debian developer and am considering packaging this up for inclusion in Debian. If so, I will prepare Debian packaging for it. I could also prepare Debian packaging using the native toolchain for the git repo, though that would need to run in a Debian or Ubuntu CircleCI container. I don't know what OS is running in the CircleCI container right now.
The text was updated successfully, but these errors were encountered: