[debrepatch] 04/04: debrepatch: rename from repatch, to match the name of the repo

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 15c871dcdef3dcda89d07374e3f8fea9a1289ccb
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon Sep 26 20:36:58 2016 +0200

    debrepatch: rename from repatch, to match the name of the repo
---
 README.rst            | 6 +++---
 debpatch              | 2 +-
 repatch => debrepatch | 0
 postpatch             | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.rst b/README.rst
index d8bd71c..fa6df4f 100644
--- a/README.rst
+++ b/README.rst
@@ -18,14 +18,14 @@ Usage
 Examples:
 
 # Test that everything patches correctly
-$ ./all-patched-pkgs | xargs -rn1 ./repatch -y
+$ ./all-patched-pkgs | xargs -rn1 ./debrepatch -y
 
 # Patch all packages and run them through reprotest
-$ ./all-patched-pkgs | xargs -rn1 -I '{}' ./repatch -yf '{}' "$PWD/postpatch" \
+$ ./all-patched-pkgs | xargs -rn1 -I '{}' ./debrepatch -yf '{}' "$PWD/postpatch" \
     reprotest --diffoscope-arg=--text --diffoscope-arg="$PWD/{}.diffoscope"
 
 # Patch all packages and upload them to the "my-apt-repo" dput host
-$ ./all-patched-pkgs | xargs -rn1 -I '{}' ./repatch -yf '{}' "$PWD/postpatch" \
+$ ./all-patched-pkgs | xargs -rn1 -I '{}' ./debrepatch -yf '{}' "$PWD/postpatch" \
     dput my-apt-repo
 
 Watch out! if xargs gives non-0 exit code, it means there was a failure.
diff --git a/debpatch b/debpatch
index d4933ed..a34b7b8 100755
--- a/debpatch
+++ b/debpatch
@@ -190,7 +190,7 @@ def main(args):
 
     # TODO: if we patched any patch in d/patches, then we should refresh *that*
     # patch here. this is hard, but it would help us to avoid refreshing *all*
-    # patches in ./repatch, hopefully ending up with a smaller debdiff.
+    # patches in ./debrepatch, hopefully ending up with a smaller debdiff.
     apply_patch_str(patch_name, str(patch))
 
     # only apply d/changelog patch if the rest of the patch applies
diff --git a/repatch b/debrepatch
similarity index 100%
rename from repatch
rename to debrepatch
diff --git a/postpatch b/postpatch
index 03fe7d9..266cacb 100755
--- a/postpatch
+++ b/postpatch
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Run a command after repatch(1) succeeds.
+# Run a command after debrepatch(1) succeeds.
 #
 # Usage: $0 dput [options] [host]
 # Usage: $0 reprotest [options] [virtual_server_args]

-- 
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