-
Notifications
You must be signed in to change notification settings - Fork 206
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
Debian package continuation #774
Conversation
da57938
to
85cb5c3
Compare
TODO
|
@desyncr what’s the state of the debian package? Are the todo points up to date? |
@ArneBab Hey there Arne, yes the TODO points are up to date and I'll keep them up do date with each iteration. I'll continue working tackling down the low hanging fruits (missing attribution, instructions) then test and iterate over multiple OSes. |
@desyncr thank you! ❤️ |
Lintian warnings and errors pending:
|
Nice progress! |
Packaging guide: https://github.com/freenet/wiki/wiki/Debian-package |
@desyncr does this mean, you finished the packaging now? |
They're some errors and warnings still. But the package builds and works. I'd say the package is ready to go since the errors are related to how the init script works with the wrapper. I'd like to have some feedback from users installing the"beta" versions. |
@desyncr did you already get enough feedback or should I try it in a VM? |
@ArneBab I did have some feedback regarding packagecloud.io not having the packages for different versions, which is true. I need to build a package and upload to the different debian and ubuntu versions. My concern with packagecloud.io is that the disk quota will be exhausted very quickly if I have to upload the same package for each version we want to support. Alternatives are very little as far as I'm concern:
Regardless of the linting issues, the package does build and runs correctly. I'm using it on my node without problems (although my node doesn't have a high uptime). |
Can you share the current lint output? Maybe I can help get that fixed. |
@ArneBab Here they are, not much progress :(
|
Updated errors with some overrides:
Some notes on the error messages: E: freenet changes: bad-distribution-in-changes-file unstableYou’ve specified an unknown target distribution for your upload in the debian/changelog file. It is possible that you are uploading for a different distribution than the one Lintian is checking for. In that case, passing –profile $VENDOR may fix this warning. In a .changes file or parsed changelog output this contains the (space-separated) name(s) of the distribution(s) where this version of the package should be installed. Valid distributions are determined by the archive maintainers. 10 The Debian archive software only supports listing a single distribution. Migration of packages to other distributions is handled outside of the upload process. See here for explanation on this behaviour. E: freenet: init.d-script-does-not-implement-required-option etc/init.d/freenet force-reloadThe /etc/init.d scripts have to support the following command line arguments: start, stop, restart, force-reload. Checkout freenet/debian example:
From man:
|
The Zgzip error sounds like it could be caused by this line:
|
@desyncr will you take care of the Zgzip error? What’s still missing to get this done? |
@@ -94,7 +94,7 @@ task jar (type: Jar, overwrite: true) { | |||
exclude 'freenet/node/Version.class' | |||
exclude 'freenet/node/Version$1.class' | |||
} | |||
preserveFileTimestamps = false | |||
preserveFileTimestamps = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reasoning for setting this to true
? For deterministic builds it needs to be false
- documentation of that is here. If there's a need that it not be deterministic, I think we'd need another task
to build for the Debian package.
@desyncr are you still working on this? |
I looked into this again and I see no dangerous stuff, so I decided to merge it. I’ll undo the preserveFileTimestamps change on next. |
No description provided.