Source: libjs-qunit Version: 1.23.1~dfsg-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that libjs-qunit could not be built reproducibly. This is because it includes the current date in some generated files. I tried to use SOURCE_DATE_EPOCH in the Gruntfile.js but I couldn't access process.env (I'm not a JS expert, alas). Patch attached that at least strips these dates out in debian/rules. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2020-12-05 10:10:21.424292462 +0000 --- b/debian/rules 2020-12-05 10:30:12.446707700 +0000 @@ -34,6 +34,7 @@ $(GRUNT) concat:src-js concat:src-css override_dh_auto_build: $(DOCS) $(CHANGELOGS) dist/qunit.min.js.gz + sed -i '/ Date: /d' dist/qunit.* override_dh_auto_test: $(GRUNT) test-on-node