summaryrefslogtreecommitdiff
path: root/debian/README.source
blob: 3251084d2862c07910ad09b60dc0773c764115f0 (plain)
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
30
31
32
33
34
35
36
importing new upstream sources
------------------------------

Packaging is managed by 'gbp'.
To keep everything streamlined (use expected compression as defined in
d/gbp.conf, exclude files as defined in d/copyright), it's probably best to use
'gbp' in conjunction with 'uscan' to import upstream sources.
Typically this is done with a call to:

    $ gbp import-orig --uscan

 -- IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>  Wed, 8 Jan 2018 10:00:14 +0100


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
    $ 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@debian.org>  Mon, 1 Aug 2016 12:15:50 +0200