From e8aad12d766b606ce96fa4f3b5b744056b7b3e68 Mon Sep 17 00:00:00 2001 From: Guido Guenther Date: Wed, 17 Oct 2007 00:08:22 +0200 Subject: document the new git-buildpackage options --- docs/chapters/special.sgml | 1 - docs/manpages/git-buildpackage.sgml | 33 +++++++++++++++++++++++++++++++-- gbp.conf | 2 ++ 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/docs/chapters/special.sgml b/docs/chapters/special.sgml index 6c2207f..fcf46c2 100644 --- a/docs/chapters/special.sgml +++ b/docs/chapters/special.sgml @@ -58,7 +58,6 @@ cleanup-script.sh the upstream branch but merge the changes to the master branch as usual. - diff --git a/docs/manpages/git-buildpackage.sgml b/docs/manpages/git-buildpackage.sgml index e1803ca..473ca1e 100644 --- a/docs/manpages/git-buildpackage.sgml +++ b/docs/manpages/git-buildpackage.sgml @@ -22,7 +22,7 @@ - branch_name + treeish branch_name BUILD_CMD CLEAN_CMD @@ -31,6 +31,8 @@ command tag-format + directory + treeish @@ -51,6 +53,9 @@ Verify that it is being executed from the correct branch. + + (Optionally) export the source tree to a separate build area + Build an orig.tar.gz if it doesn't exist. Call debuild(1) @@ -60,6 +65,13 @@ &git-buildpackage; that don't start with --git-. + + (Optionally) tag the tree after a successful build + + + (Optionally) call a post-tag hook - e.g. to push the results to a remote + repository after creating the tag + @@ -104,7 +116,10 @@ =branch_name - Branch to build the orig.tar.gz from. Default is upstream + Branch to build the orig.tar.gz from if no tag matching the + upstream version is found. Default is + upstream. You can give any treeish object + here. @@ -154,6 +169,20 @@ Don't try to create any orig.tar.gz + + directory + + + Export the current branch head to directory before building. + + + + treeish + + Instead of exporting the current branch head export at + the treeish object treeish. + + diff --git a/gbp.conf b/gbp.conf index 15ecef3..57b4b44 100644 --- a/gbp.conf +++ b/gbp.conf @@ -22,6 +22,8 @@ #keyid = 0xdeadbeef # push to a remote repository after a successful tag: #posttag = git-push git.example.com +# use this for more svn-buildpackage like bahaviour: +#export-dir = ../build-area/ # Options only affecting git-import-orig [git-import-orig] -- cgit v1.2.3