[Pkg-javascript-devel] Bug#1142492: node-grunt-contrib-internal: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Jul 20 17:10:42 BST 2026


Source: node-grunt-contrib-internal
Version: 8.0.2-5
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
node-grunt-contrib-internal could not be built reproducibly.

This is because if the tests are skipped, then the README.md file is
not regenerated. ("grunt test" ends up calling "grunt contrib-core").

A patch is attached that will always call "grunt contrib-core", but
there may be an alternative solution where the behaviour of "grunt test"
is changed so it does not call "contrib-core".

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-07-20 08:53:49.849033788 -0700
--- b/debian/rules	2026-07-20 09:08:26.079046921 -0700
@@ -8,3 +8,6 @@
 	dh $@
 
 override_dh_auto_build:
+	# Always call contrib-core to ensure README.md is regenerated every
+	# build, regardless of whether nocheck is specified.
+	grunt contrib-core


More information about the Pkg-javascript-devel mailing list