Source: golang-github-stvp-tempredis
Version: 0.0~git20231107.8a695b6-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
golang-github-stvp-tempredis could not be built reproducibly.

This is because the package build generates a Redis dump.rdb database
during the tests. This (nondeterministic) file is then shipped in the
binary package.

Patch attached that removes these after running the tests.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2024-03-29 10:35:18.997786394 +0000
--- b/debian/rules      2024-03-29 10:55:36.280785041 +0000
@@ -2,3 +2,6 @@
 
 %:
        dh $@ --buildsystem=golang --with=golang
+
+execute_after_dh_auto_test:
+       find obj-* -name dump.rdb -delete
_______________________________________________
Pkg-go-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to