Source: golang-forgejo-forgejo-levelqueue
Version: 1.0.0-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
golang-forgejo-forgejo-levelqueue could not be built reproducibly.
This is because whilst the packaging does perform some cleanup after
running the test, it does not delete everything: it was missing
the deletion of the CURRENT, LOCK and MANIFEST-000000 files which
end up in the binary package... so if the tests aren't run, then
these files are missing from the binary package.
A patch is attached that removes these files after running the
tests so that package no longer varies depending on whether nocheck
is passed.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2025-12-10 11:31:02.829285599 -0800
--- b/debian/rules 2025-12-10 12:07:54.547642306 -0800
@@ -4,4 +4,4 @@
dh ${@} --builddirectory=_build --buildsystem=golang
execute_after_dh_auto_test:
- find _build -type f \( -name LOG -or -name '*.log' \) -delete
+ find _build -type f \( -name LOG -or -name '*.log' -or -name CURRENT
-or -name LOCK -or -name MANIFEST-000000 \) -delete