dangerzone/dev_scripts
Alex Pyrgiotis c1dbe9c3e3
dev_scripts: Handle Dangerzone packages with patch level != 1
Update our `env.py` script to auto-detect the correct Dangerzone package
name. This is useful when building an end-user environment, i.e., a
container image where we copy the respective Dangerzone .deb/.rpm
package and install it via a package manager.

To achieve this, we replace the hardcoded patch level (`-1`) in the
package name with a glob character (`*`). Then, we check in the
respective build directory if there's exactly one match for this
pattern. If yes, we return the full path. If not, we raise an exception.

Note that this limitation was triggered when we were building RPM
packages for the 0.7.0 hotfix release.

Refs #880
2024-07-30 18:36:53 +03:00
..
envs dev_scripts: Introduce script for Dangerzone envs 2023-01-16 18:48:09 +02:00
apt-tools-prod.pref dev_scripts: Install conmon from our apt-tools-prod repo 2024-02-13 11:55:32 +02:00
apt-tools-prod.sources dev_scripts: Install conmon from our apt-tools-prod repo 2024-02-13 11:55:32 +02:00
dangerzone Fix OCR bug in Qubes Fedora 38 templates 2024-03-04 16:53:04 +02:00
dangerzone-cli Refactor dangerzone to move GUI code into its own module 2021-06-09 15:24:03 -07:00
dangerzone-cli.bat Change a bunch of stuff so Windows will work again 2021-06-16 16:55:25 -07:00
dangerzone.bat Change a bunch of stuff so Windows will work again 2021-06-16 16:55:25 -07:00
env.py dev_scripts: Handle Dangerzone packages with patch level != 1 2024-07-30 18:36:53 +03:00
qa.py dev_scripts: Properly skip QA scenarios on Linux 2024-06-27 21:47:51 +03:00
README.md docs: Move dev_scripts docs under docs/ dir 2024-06-12 13:22:45 +03:00
sign-assets.py Explain how to create, sign, and verify source tarballs 2024-06-03 12:59:22 +03:00
storage.conf Force Podman use the overlay storage driver 2023-08-01 15:18:24 +03:00
upload-asset.py Do not allow uploading the token as an asset 2024-07-24 15:04:09 +03:00

Developer scripts

This directory holds some scripts that are helpful for developing on Dangerzone. Read the respective documentation for more details on some of the scripts.