diff options
author | Guido Günther <agx@sigxcpu.org> | 2012-01-22 13:00:38 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-01-22 19:45:26 +0100 |
commit | 338ee68934d2dc1593afb274663b3cdbfc2d8397 (patch) | |
tree | 06a2908d332d1fb8ff4cdc43e76a6ec0be912e33 /gbp/config.py | |
parent | 5b5dbf61244708d9d234a3ef90ce85cd4f35f259 (diff) | |
download | git-buildpackage-338ee68934d2dc1593afb274663b3cdbfc2d8397.tar.gz git-buildpackage-338ee68934d2dc1593afb274663b3cdbfc2d8397.tar.bz2 git-buildpackage-338ee68934d2dc1593afb274663b3cdbfc2d8397.zip |
buildpackage: Add pristine-tar-commit option
This option allows to auto commit a generated tarball to the
pristine-tar branch to simplify building non-dfsg clean packages and to
make it easier to track uptream git.
Diffstat (limited to 'gbp/config.py')
-rw-r--r-- | gbp/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py index 5e8a5050..e857b3e4 100644 --- a/gbp/config.py +++ b/gbp/config.py @@ -74,6 +74,7 @@ class GbpOptionParser(OptionParser): 'upstream-branch' : 'upstream', 'upstream-tree' : 'TAG', 'pristine-tar' : 'False', + 'pristine-tar-commit': 'False', 'filter-pristine-tar' : 'False', 'sign-tags' : 'False', 'force-create' : 'False', @@ -146,6 +147,8 @@ class GbpOptionParser(OptionParser): "format string for commit message, default is '%(import-msg)s'", 'pristine-tar': "use pristine-tar to create orig tarball, default is '%(pristine-tar)s'", + 'pristine-tar-commit': + "When generating a tarball commit it to the pristine-tar branch '%(pristine-tar-commit)s'", 'filter-pristine-tar': "Filter pristine-tar when filter option is used", 'filter': |