[med-svn] [Git][med-team/barrnap][master] add patch to make help output deterministic
Sascha Steinbiss (@satta)
gitlab at salsa.debian.org
Sat Mar 21 08:12:08 GMT 2026
Sascha Steinbiss pushed to branch master at Debian Med / barrnap
Commits:
8f161c16 by Sascha Steinbiss at 2026-03-21T09:11:55+01:00
add patch to make help output deterministic
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/deterministic_output.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+barrnap (1.0.0-2) unstable; urgency=medium
+
+ * Add patch to make help output deterministic.
+ This makes the build reproducible again.
+
+ -- Sascha Steinbiss <satta at debian.org> Sat, 21 Mar 2026 09:06:30 +0100
+
barrnap (1.0.0-1) unstable; urgency=medium
* New upstream release.
=====================================
debian/patches/deterministic_output.patch
=====================================
@@ -0,0 +1,19 @@
+Description: make kingdom output deterministic
+ The man page is generated from the help output of the main executable,
+ which will display values from a Perl hash as potential options. Since
+ the order of hash values in Perl is nondeterministic, they need to be
+ explicitly sorted to get a reproducible output.
+Author: Sascha Steinbiss <satta at debian.org>
+Forwarded: https://github.com/tseemann/barrnap/pull/107
+Last-Update: 2026-03-21
+--- a/bin/barrnap
++++ b/bin/barrnap
+@@ -247,7 +247,7 @@
+ {OPT=>"help", VAR=>\&usage, DESC=>"This help"},
+ {OPT=>"version", VAR=>\&version, DESC=>"Print version and exit"},
+ {OPT=>"citation",VAR=>\&show_citation, DESC=>"Print citation for referencing $EXE"},
+- {OPT=>"kingdom=s", VAR=>\$kingdom, DEFAULT=>'bac', DESC=>"Kingdom: ".join(' ', values %KINGDOM) },
++ {OPT=>"kingdom=s", VAR=>\$kingdom, DEFAULT=>'bac', DESC=>"Kingdom: ".join(' ', sort values %KINGDOM) },
+ {OPT=>"quiet!", VAR=>\$quiet, DEFAULT=>0, DESC=>"No screen output"},
+ {OPT=>"threads=i", VAR=>\$threads, DEFAULT=>1, DESC=>"Number of threads/cores/CPUs to use"},
+ {OPT=>"lencutoff=f",VAR=>\$lencutoff, DEFAULT=>0.8, DESC=>"Proportional length threshold to label as partial"},
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
use_debian_dirs
+deterministic_output.patch
View it on GitLab: https://salsa.debian.org/med-team/barrnap/-/commit/8f161c16bcba2ac801d251d84a9ff4281f201d4f
--
View it on GitLab: https://salsa.debian.org/med-team/barrnap/-/commit/8f161c16bcba2ac801d251d84a9ff4281f201d4f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260321/62439251/attachment-0001.htm>
More information about the debian-med-commit
mailing list