Package: git-buildpackage Version: 0.7.1 Severity: wishlist Dear Maintainer,
i find myself repeatedly doing certain tasks after a fresh clone of a packaging repository. gbp-clone helps a bit, but i find that i need more: - ignore quilt's ".pc" directory (reported as #812815) - set 'push.followTags' via git-config, so i don't forget to push tags :-) while i think the former is of general interest (hence the separate bug-report), i think that the latter might be very specific to my personal workflow (and therefore not a good addition to gbp in general). so here's an idea: it would be great if once could specify a script within the repository that is run after 'gbp clone' has finished. e.g. $ gbp clone --post-clone-script=debian/gitfix.sh git+ssh://honk.sigxcpu.org/git/git-buildpackage.git $ cat git-buildpackage/debian/gitfix.sh echo '/.pc/' >> .git/info/exclude git config push.followTags true $ now this becomes really powerful in conjunction with gbp.conf: $ gbp clone --post-clone-script=debian/gitfix.sh git+ssh://honk.sigxcpu.org/git/git-buildpackage.git $ cat git-buildpackage/debian/gpg.conf [DEFAULT] pristine-tar = True sign-tags = True [clone] post-clone-script = debian/gitfix.sh the security implications and their fixes are left as an exercise for the reader. gfmasrd IOhannes -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages git-buildpackage depends on: ii devscripts 2.15.10 ii git 1:2.7.0-1 ii man-db 2.7.5-1 ii python-dateutil 2.4.2-1 pn python-pkg-resources <none> ii python-six 1.10.0-1 pn python:any <none> Versions of packages git-buildpackage recommends: ii cowbuilder 0.78 ii pbuilder 0.222 ii pristine-tar 1.33 ii python-requests 2.9.1-1 Versions of packages git-buildpackage suggests: ii python-notify 0.1.1-4 ii sudo 1.8.15-1.1 ii unzip 6.0-20 -- no debconf information