-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add and refactor Debianization #1741
Conversation
8613d65
to
eaeca6d
Compare
302a37a
to
00e114a
Compare
This copies in all the packaging files from securedrop-builder plus the keyring and workstation-config components and refactors them to use a single source package for the build, like securedrop server. Building all workstation Debian packages now has one entrypoint, `./scripts/build-debs.sh` (a make target could be added in the future); all packages use the same version. As part of the migration, dh-virtualenv was replaced with `./debian/setup-venv.sh` that invokes virtualenv and sed directly to implement the same functionality. Package building is now done by GitHub Actions in a singular job, having this build and push nightlies will be done in a future commit.
securedrop-client:securedrop-client debdiff
Only major difference is due to the merge of the SDK into the client as per #1746. securedrop-exportdebdiff
securedrop-keyring (0.2.1 vs new 0.9.0)debdiff and diffoscope all good, no meaningful difference. securedrop-logdebdiff and diffoscope all good, no meaningful difference. securedrop-proxydebdiff results
securedrop-workstation-configNo significant difference. securedrop-workstation-viewerNo significant difference. |
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.
packages building successfully for both bullseye and bookworm, no surprises or problems in the debdiff and diffoscope results. LGTM!
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.
LGTM once again now the internationalisation check is passing
Status
Ready to review
Description
This copies in all the packaging files from securedrop-builder plus the keyring and workstation-config components and refactors them to use a single source package for the build, like securedrop server.
Building all workstation Debian packages now has one entrypoint,
./scripts/build-debs.sh
(a make target could be added in the future); all packages use the same version.As part of the migration, dh-virtualenv was replaced with
./debian/setup-venv.sh
that invokes virtualenv and sed directly to implement the same functionality.Package building is now done by GitHub Actions in a singular job, having this build and push nightlies will be done in a future commit.
Test plan
./scripts/build-debs.sh
, see bullseye debs are in the build/ directoryDEBIAN_VERSION=bookworm ./scripts/build-debs.sh
and see that it builds bookworm debs.