[SCM] jacktrip/master: document how to use the 'postclone' hooks

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Mon Aug 1 11:03:54 UTC 2016


The following commit has been merged in the master branch:
commit 13dd9ae4149e7fc0a65fce7886a4a5ee1ee45a19
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Mon Aug 1 13:03:39 2016 +0200

    document how to use the 'postclone' hooks

diff --git a/debian/README.source b/debian/README.source
index f4cc27b..32b24a9 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -9,11 +9,23 @@ As of version 1.1, the sources have been repacked:
 gbp clone
 ---------
 
-Starting with gbp>0.8.1, When cloning this repository via `gbp clone` (rather
-than `git clone`), the local repository will be automatically fine-tuned:
+Starting with gbp>0.8.1, here's an simple way to automatically fine-tune the
+repository in the following ways:
 - make git ignore any .pc/ directory (created by quilt)
 - enable the "-follow-tags" when running 'git-push', so it's harder
   to forget to push packaging tags along with the branches.
 
+To enable this, run gbp-clone with the '--postclone debian/gbp/postclone.sh'
+option.
+To enable this for ALL repositories cloned via 'gbp' (in the future), do
+something like the following:
+
+    $ mkdir -p ~/bin
+    $ cp debian/gbp/postclone.sh ~/bin/gbphook-postclone
+    $ cat >> ~/.gbp.conf <<EOF
+    [clone]
+    postclone = ~/bin/gbphook-postclone
+    EOF
+
  -- IOhannes m zmölnig (Debian/GNU) <umlaeute at debian.org>  Mon, 1 Aug 2016 12:15:50 +0200
 

-- 
jacktrip packaging



More information about the pkg-multimedia-commits mailing list