Erleichterung wiederkehrender Aufgaben
create-remote-repo - Remote repository erzeugen
(pq-rpm)
cat <<EOF > ~/.gbp.conf
[DEFAULT]
sign-tags = True
keyid = 0xB999CDB58C8DDBD2
pristine-tar = True
[buildpackage]
postbuild = lintian $GBP_CHANGES_FILE
cleaner = /bin/true
pbuilder = True
EOF
Anzeigen mit
gbp config <command>
git-pbuilder create
DIST=wheezy git-pbuilder create
DIST=wheezy-backports git-pbuilder create
gbp import-dsc python-dateutil_1.4.3-2.dsc
gbp import-dsc --download http://.../python-dateutil_1.4.3-2.dsc
gbp import-dsc --download python-dateutil
gbp buildpackge [--git-ignore-new]
gbp import-orig python-dateutil_1.4.3.orig.tar.gz
gbp import-orig --uscan
Debian Branch erstellen
gbp checkout -b debian/sid
Konfiguration anpassen
[DEFAULT]
debian-branch = debian/sid
upstream-tag = v%(version)s
upstream-branch = master
gbp import-orig
entfälltsonst alles beim alten
gbp checkout debian/sid
git merge v1.0.0
gbp dch --snapshot --auto
gbp buildpackage --git-pristinte-tar-commit
commit a629df279795cd703b1815f3363541256ddbab6a
Author: Guido Günther <agx@sigxcpu.org>
Date: Sat May 10 10:48:41 2014 +0200
Set safer env vars
We can't expect to have a $HOME and we don't want to default to anything
than the test driver.
Closes: #734975, #738383
* [a629df2] Set safer env vars. We can't expect to have a $HOME and we don't
want to default to anything than the test driver.
(Closes: #734975, #738383)
cat <<EOF >> ~/.gbp.conf
[dch]
meta = True
id-length = 7
full = True
git-author = True
multimaint-merge = True
EOF
gbp dch --snapshot --auto
gbp dch --release --auto
werden während des Builds angewendet
cat <<EOF >> debian/source/local-options
unapply-patches
EOF
gbp pq import
" importiert diese in Git Branchgbp pq export
" exportiert diese wiedercat <<EOF >> ~/.gbp.conf
[pq]
patch-numbers = False
EOF
Gepatchter Packaging Branch
cat <<EOF >> debian/source/local-options
auto-commit
single-debian-patch
cat <<EOF >> debian/.gitignore
patches/
debian/patches/debian-changes
Alternative Tools: git-dpm, TopGit, TNT
gbp import-dscs --debsnap python-libvirt
gbp import-dscs path/to/*.dsc