Source: bingo
Version: 0.10.0-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
bingo could not be built reproducibly.
This is because the testsuite generates a bunch of test*.mod files which
end up in the binary package, meaning that if the tests are skipped via
nocheck, then the .deb contents will differ. The package also generates
a test project directory which is not removed correctly in debian/rules.
A patch is attached that addresses both issues.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2026-06-01 09:30:55.917027938 -0700
--- b/debian/rules 2026-06-01 09:56:36.967352059 -0700
@@ -13,7 +13,8 @@
execute_before_dh_auto_install:
rm -fv _build/src/github.com/bwplotka/bingo/.bin/bingo
- rm -fv
_build/src/github.com/bwplotka/bingo/testdata/testproject_with_bingo_v0_?/.bingo/.gitignore
+ rm -rfv
_build/src/github.com/bwplotka/bingo/testdata/testproject_with_bingo_*/
+ rm -fv _build/src/github.com/bwplotka/bingo/pkg/bingo/test*.mod
# requires Internet to download Go code
SKIP='TestCompatibilityCurrentVersionCreate|TestGet_ModuleCases|TestGetList|TestCompatibility'