[Git][reproducible-builds/reprotest][master] 3 commits: Add --append-build-command option

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Mar 18 13:44:00 UTC 2022



Holger Levsen pushed to branch master at Reproducible Builds / reprotest


Commits:
4f83ce1d by Santiago Ruano Rincón at 2022-03-18T14:34:50+01:00
Add --append-build-command option

Closes: #1006923
Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
8776a338 by Holger Levsen at 2022-03-18T14:39:03+01:00
prepare d/changelog

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
9dfdbbe6 by Holger Levsen at 2022-03-18T14:41:35+01:00
release as 0.7.20

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


3 changed files:

- debian/changelog
- reprotest/__init__.py
- setup.py


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+reprotest (0.7.20) unstable; urgency=medium
+
+  [ Santiago Ruano Rincón ]
+  * Add --append-build-command option. Closes: #1006923
+
+  [ Holger Levsen ]
+  * Release as 0.7.20.
+
+ -- Holger Levsen <holger at debian.org>  Fri, 18 Mar 2022 14:40:41 +0100
+
 reprotest (0.7.19) unstable; urgency=medium
 
   [ Stefano Rivera ]


=====================================
reprotest/__init__.py
=====================================
@@ -645,6 +645,8 @@ def cli_parser():
     group3.add_argument('--control-build',  default=None,
         help='Override control build with artifacts located on this path. '
         'Allows reusing previous build as baseline.')
+    group3.add_argument('--append-build-command',  default=None, metavar='COMMANDS',
+        help='Append arguments to the build command')
 
     return parser
 
@@ -830,6 +832,9 @@ def run(argv, dry_run=None):
         logger.warning("diffoscope not available, falling back to regular diff")
         diffoscope_args = None
     control_build = parsed_args.control_build
+    append_build_command = parsed_args.append_build_command
+    if append_build_command :
+        build_command = ' '.join([build_command, append_build_command])
 
     if not artifact_pattern:
         print("No <artifact> to test for differences provided. See --help for options.")


=====================================
setup.py
=====================================
@@ -6,7 +6,7 @@
 from setuptools import setup, find_packages
 
 setup(name='reprotest',
-      version='0.7.19',
+      version='0.7.20',
       description='Build packages and check them for reproducibility.',
       long_description=open('README.rst', encoding='utf-8').read(),
       author='Ximin Luo, Ceridwen',



View it on GitLab: https://salsa.debian.org/reproducible-builds/reprotest/-/compare/b6aa2778953e9d242391a3518a3af6fbd87cd881...9dfdbbe6bcac8d8250e28c66d1d8dee69f6688d9

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reprotest/-/compare/b6aa2778953e9d242391a3518a3af6fbd87cd881...9dfdbbe6bcac8d8250e28c66d1d8dee69f6688d9
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20220318/115f6c47/attachment.htm>


More information about the rb-commits mailing list