Source: golang-github-dreamitgetit-statuscake
Version: 0.0~git20220607.de57c59-1
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-github-dreamitgetit-statuscake could not be built reproducibly.

This because the packaging moves the fixtures directory into place for
the tests, but does not remove it afterwards and it ends up being
shipped in the binary package. This means that if the tests are
skipped (via nocheck), then the package will not contain those files.

Patch attached that removes fixtures/ after running the tests.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-12 11:51:43.479909366 -0800
--- b/debian/rules      2025-12-12 11:55:44.646858381 -0800
@@ -7,6 +7,7 @@
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        -cp -a fixtures 
obj-$(DEB_BUILD_GNU_TYPE)/src/github.com/dreamitgetit/statuscake
        dh_auto_test
+       rm -rf 
obj-$(DEB_BUILD_GNU_TYPE)/src/github.com/dreamitgetit/statuscake/fixtures
 endif
 
 

Reply via email to