From 13dd9ae4149e7fc0a65fce7886a4a5ee1ee45a19 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 1 Aug 2016 13:03:39 +0200 Subject: [PATCH] document how to use the 'postclone' hooks --- debian/README.source | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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 < Mon, 1 Aug 2016 12:15:50 +0200 -- 2.30.2