File: README.source

package info (click to toggle)
pd-pduino 0.8-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 344 kB
  • sloc: makefile: 14
file content (29 lines) | stat: -rw-r--r-- 1,008 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
gbp clone
---------

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
    $ cat >> ~/bin/gbphook-postclone <<EOF
    #!/bin/sh
    git config push.followTags true && echo "enabled push.followTags"
    GITEXCLUDE=".git/info/exclude"
    egrep "^/?\.pc/?$" "${GITEXCLUDE}" >/dev/null 2>&1 \
      || (echo "/.pc/" >> "${GITEXCLUDE}" && echo "ignoring /.pc/")
    EOF

    $ cat >> ~/.gbp.conf <<EOF
    [clone]
    postclone = ~/bin/gbphook-postclone
    EOF

 -- IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>  Mon, 19 Jun 2017 12:15:50 +0200