-
Notifications
You must be signed in to change notification settings - Fork 179
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
Replace stdeb in favor of modern Debian packaging tools #901
Conversation
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.
Nice!!! Few notes inline.
You don't need an empty debian/install
file, if there's nothing else to add into the package, just delete it.
Thanks for the comments. I've added a few fixup commits addressing them. |
This seems in fact expected, and we have a script to install podman on focal |
I've been curious if the current
I guess it "just" needs to be installed for this to work properly (?) |
Actually, the reason for the failure was that we were receiving a |
I ran the First, it seems that
Second, if you notice in the above logs, it seems that Ideally, we'd want to build Dangerzone straight from
The only drawback is that |
Thanks for your comments,
You are correct, and it's annoying to me as well. It's actually debian helper who's using
I agree 100% with you that using But... I'm unsure if we should be able to build the debian packages on all the platforms we support. If it's the case (and I expect it is), I believe it's better to wait until ubuntu focal is deprecated, like you mentioned. Nevertheless, I will give a try to |
Cool, cool. I think that if you enable
I agree, ultimately that's the sensible thing to do, provided that we make the |
It's actually some of the deb helper I'm still trying to find where the original ones are 👀 |
You can probably try something like
See https://manpages.debian.org/bookworm/debhelper/dh_auto_clean.1.en.html#DESCRIPTION, especially:
|
0d2dcd7
to
38b12e6
Compare
Following this path would mean we would still need to rely on Rather than having to maintain multiple paths for this, it might be easier to continue relying on I've opened an issue to follow this: #911 Some notes on the current progress:
|
47451c1
to
87296f0
Compare
I don't have anything else to comment on. Kunal has some nice comments, but other than that, the end result looks great to me. Feel free to merge once Kunal's comment are addressed! |
c87ccc3
to
dce4ce4
Compare
As a result, a new `debian` folder is now living in the repository. Debian packaging is now done manually rather than using tools that do the heavy-lifting for us. The `build-deb.py` script has also been updated to use `dpkg-buildpackage`
Previously, these files where stored inside the repository (under `dev_scripts/env/`), which could lead to conflicts with some tooling (black, debian-helper). (Linux only): as a convenience, here is how to move data to the new location: ```bash mkdir -p ~/.local/share/dangerzone-dev mv dev_scripts/envs/ ~/.local/share/dangerzone-dev/. ```
dce4ce4
to
d7f8096
Compare
Woooo, congrats!! 🥳 🎆 🎊 |
This commit is just to ensure the `hotfix-0.7.1` branch is passing the CI tests, the actual problem has been solved via [0]. [0] #901
This commit is just to ensure the `hotfix-0.7.1` branch is passing the CI tests, the actual problem has been solved via [0]. [0] #901
This commit is just to ensure the `hotfix-0.7.1` branch is passing the CI tests, the actual problem has been solved via [0]. [0] #901
This removes stdeb in favor of more modern Debian packaging tools (see #773 for the rationale).
As a result, we can build
.deb
packages on debian trixie.I've tested manually that the produced debian image is working for the following distributions :
ubuntu-20.04 is currently failing because of the dependency to podman that it can't install. I'm not sure yet why.
Fixes #773
Fixes #394
Fixes #621