Commits (3)
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@debian.org> Fri, 18 Mar 2022 14:40:41 +0100
reprotest (0.7.19) unstable; urgency=medium
[ Stefano Rivera ]
......
......@@ -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.")
......
......@@ -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',
......