[debrepatch] 01/01: Update for reprotest git master (with auto-presets)

Ximin Luo infinity0 at debian.org
Mon Nov 28 18:43:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository debrepatch.

commit 9dd1279d6080a807be9943e5de8374e5391becfb
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon Nov 28 19:43:37 2016 +0100

    Update for reprotest git master (with auto-presets)
---
 README.rst | 6 ++++--
 debrepatch | 5 ++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/README.rst b/README.rst
index a59fb77..e54f841 100644
--- a/README.rst
+++ b/README.rst
@@ -24,7 +24,6 @@ $ which debpatch || { test -x ./debpatch && export PATH=$PWD:$PATH; }
 Optional, if you want to auto-upload or auto-rebuild:
 $ aptitude install dput reprotest
 
-
 Usage
 =====
 
@@ -33,10 +32,13 @@ Examples:
 # Test that everything patches correctly
 $ ./all-patched-pkgs | xargs -rn1 ./debrepatch
 
-# Patch all packages and run them through reprotest
+# Patch all packages and run them through reprotest. Diffoscope output will
+# be stored in $pkg.diffoscope, and if these are all empty then everything
+# reproduced succesfully.
 $ ./all-patched-pkgs | xargs -rn1 -I '{}' ./debrepatch -f '{}' \
     reprotest --diffoscope-arg=--text --diffoscope-arg="$PWD/{}.diffoscope" \
               --diffoscope-arg=--output-empty
+              -- schroot unstable-amd64-sbuild
 
 # Patch all packages and upload them to the "my-apt-repo" dput host
 $ ./all-patched-pkgs | xargs -rn1 -I '{}' ./debrepatch -f '{}' \
diff --git a/debrepatch b/debrepatch
index 0f160bb..b6f2153 100755
--- a/debrepatch
+++ b/debrepatch
@@ -112,15 +112,18 @@ shift
 
 case "$subcmd" in
 dput)
+    set -x
     changes="${newdsc%.dsc}_source.changes"
     dpkg-genchanges -S > "../$changes"
     debsign "../$changes"
     exec dput "$@" "../$changes"
     ;;
 reprotest)
-    exec reprotest 'debuild -us -uc -b' '../*.deb' "$@"
+    set -x
+    exec reprotest auto . "$@"
     ;;
 exec)
+    set -x
     exec "$@"
     ;;
 esac

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debrepatch.git



More information about the Reproducible-commits mailing list