[debrepatch] 02/04: README: more detailed examples
Ximin Luo
infinity0 at debian.org
Mon Sep 26 19:10:26 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 c9afb78d6823cb6b96a3329b701ac620d6ce42ce
Author: Ximin Luo <infinity0 at debian.org>
Date: Mon Sep 26 20:34:24 2016 +0200
README: more detailed examples
---
README.rst | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/README.rst b/README.rst
index 52a6519..d8bd71c 100644
--- a/README.rst
+++ b/README.rst
@@ -17,9 +17,15 @@ Usage
Examples:
-$ ./all-patched-pkgs | xargs -I '{}' -rn1 ./repatch -yf '{}' "$PWD/postpatch" \
+# Test that everything patches correctly
+$ ./all-patched-pkgs | xargs -rn1 ./repatch -y
+
+# Patch all packages and run them through reprotest
+$ ./all-patched-pkgs | xargs -rn1 -I '{}' ./repatch -yf '{}' "$PWD/postpatch" \
reprotest --diffoscope-arg=--text --diffoscope-arg="$PWD/{}.diffoscope"
-$ ./all-patched-pkgs | xargs -I '{}' -rn1 ./repatch -yf '{}' "$PWD/postpatch" \
+
+# Patch all packages and upload them to the "my-apt-repo" dput host
+$ ./all-patched-pkgs | xargs -rn1 -I '{}' ./repatch -yf '{}' "$PWD/postpatch" \
dput my-apt-repo
Watch out! if xargs gives non-0 exit code, it means there was a failure.
--
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