Skip to content
Commits on Source (15)
......@@ -61,11 +61,19 @@ Now, finally run the tests:
Releasing
=========
After releasing (with ``gbp buildpackage``), please upload a signed tarball:
::
When uploading to the Debian archive as usual, please also release a
signed tarball::
$ TARBALL=$(dpkg-parsechangelog -SSource)_$(dpkg-parsechangelog -SVersion).tar.xz
$ gpg --detach-sign --armor --output=../${TARBALL}.asc < ../${TARBALL}
And commit them to our LFS repository at https://salsa.debian.org/reproducible-builds/reproducible-lfs
After uploading, please also update the version on PyPI using::
$ python3 setup.py sdist upload --sign
Once the tracker.debian.org entry appears, consider tweeting the release on
``#reproducible-builds`` with::
%twitter reprotest $VERSION has been released. Check out the changelog here: $URL
reprotest (0.7.8) UNRELEASED; urgency=medium
reprotest (0.7.8) unstable; urgency=medium
* d/control: Declare that reprotest doesn't need root to build
(after confirming this is the case).
* Team upload.
-- Holger Levsen <holger@debian.org> Mon, 18 Dec 2017 21:16:25 +0000
[ Holger Levsen ]
* d/control: Declare that reprotest doesn't need root to build.
[ Chris Lamb ]
* Drop executable bit on doc/Makefile.
* Add a bin/reprotest to match diffoscope.
* Use our bin/reprotest wrapper in manpage generation to ensure we are
using the local version of reprotest.
* Update Vcs-{Git,Browser} as repository has been migrated to Salsa.
* Update "Source" location in debian/copyright to point to new URI.
* Update upstream "url" kwarg in setup.py.
[ Mattia Rizzolo ]
* Update README with updated instructions on how to release the tarball.
* Update release documentation to also remember to push to PyPI.
* d/control:
+ Bump Standards-Version to 4.1.5, no changes needed.
+ Drop Build-Depends on old version of dpkg-dev that is garanteed to exist.
+ Recommend diffoscope by itself instead as an alternative to diffutils.
+ Do not Recommend diffutils, that is an Essential:yes package.
+ Drop trailing full stop from the package synopsis.
* Bump debhelper compat level to 11.
* d/tests/control: Add missing dependency on fakeroot on the second test.
* d/rules: Use dpkg's pkg-info.mk instead of dpkg-parsechangelog.
* Fix spelling errors in documentation strings.
* d/watch: Update to look at our new release archive.
-- Mattia Rizzolo <mattia@debian.org> Mon, 09 Jul 2018 15:33:05 +0200
reprotest (0.7.7) unstable; urgency=medium
......
Source: reprotest
Maintainer: Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>
Uploaders: Ceridwen <ceridwenv@gmail.com>, Ximin Luo <infinity0@debian.org>, Holger Levsen <holger@debian.org>
Uploaders: Ceridwen <ceridwenv@gmail.com>, Ximin Luo <infinity0@debian.org>
Section: devel
Priority: optional
Standards-Version: 4.1.2
Standards-Version: 4.1.5
Rules-Requires-Root: no
Build-Depends: debhelper (>= 10),
dpkg-dev (>= 1.17.14),
Build-Depends:
debhelper (>= 11),
dh-python,
python3-all,
python3-setuptools,
......@@ -39,13 +39,14 @@ Depends: ${python3:Depends},
python3-pkg-resources,
python3-rstr,
${misc:Depends}
Recommends: diffutils | diffoscope (>= 84),
Recommends:
diffoscope (>= 84),
disorderfs (>= 0.5.2),
faketime,
locales-all,
sudo,
Suggests: autodep8, schroot, qemu-system, qemu-utils
Description: Build software and check it for reproducibility.
Description: Build software and check it for reproducibility
reprotest builds the same source code twice in different environments, and
then checks the binaries produced by each build for differences. If any are
found, then diffoscope (or if unavailable then diff) is used to display them
......
#! /usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
#export DH_VERBOSE = 1
export PYBUILD_NAME = reprotest
......@@ -18,12 +20,12 @@ export PYBUILD_NAME = reprotest
export REPROTEST_TEST_DONTVARY = fileordering,user_group,domain_host$(if $(shell nproc | grep --color=no -Fx 1),$(,)num_cpus,)
override_dh_auto_configure:
test $$(python3 setup.py --version) = $$(dpkg-parsechangelog -SVersion)
test $$(python3 setup.py --version) = $(DEB_VERSION)
dh_auto_configure
override_dh_auto_build:
dh_auto_build
cd doc && $(MAKE)
$(MAKE) -C doc
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
......@@ -46,4 +48,4 @@ autopkgtest-pytest:
override_dh_auto_clean:
dh_auto_clean
cd doc && $(MAKE) clean
$(MAKE) -C doc clean
......@@ -2,4 +2,4 @@ Test-Command: debian/rules autopkgtest-pytest PYTEST_MARKEXPR="not need_builddep
Depends: @, python3-pytest, faketime, locales-all, fakeroot
Test-Command: debian/rules autopkgtest-pytest PYTEST_MARKEXPR="need_builddeps"
Depends: @, @builddeps@
Depends: @, @builddeps@, fakeroot
version=3
opts=pgpsigurlmangle=s/$/.asc/ https://reproducible.alioth.debian.org/releases/reprotest/reprotest[-_](.+)\.tar\..*
version=4
opts=pgpmode=auto \
https://reproducible-builds.org/_lfs/releases/reprotest/ @PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@
......@@ -575,7 +575,7 @@ def cli_parser():
group1_0.add_argument('--extra-build', metavar='VARIATIONS', default=[], action='append',
help='Perform another build with the given VARIATIONS (which may be '
'empty) to be applied on top of what was given for --variations and '
'--vary. Each occurence of this flag specifies another build, so e.g. '
'--vary. Each occurrence of this flag specifies another build, so e.g. '
'given twice this will make reprotest perform 4 builds in total.')
group1_0.add_argument('--auto-build', default=False, action='store_true',
help='Automatically perform builds to try to determine which specific '
......
......@@ -98,7 +98,7 @@ def parse(d, action, one, zero=None, aliases={}):
obj: The top-level object to apply the action to.
action: The action to apply, specified as a string. The string is split on
the leftmost occurence of any supported $operator; everything to the
the leftmost occurrence of any supported $operator; everything to the
left of it is the $attribute and to the right of it is the $operand.
$attribute is in dotted-notation and specifies which $target attribute
......