tools/git-buildpackage.git
10 years agoRemove unused import upstream
Guido Günther [Sat, 21 Feb 2015 11:30:38 +0000 (12:30 +0100)]
Remove unused import

and pylint exception that doesn't trigger

10 years agoRemove unused variable
Guido Günther [Thu, 19 Feb 2015 15:00:12 +0000 (16:00 +0100)]
Remove unused variable

10 years agoIgnore first part of type output
Guido Günther [Thu, 19 Feb 2015 21:40:31 +0000 (22:40 +0100)]
Ignore first part of type output

Types are classes in python3 so we get 'class' instead of 'type'.
Ignore that detail in the matcher since it's not relevanthere.

10 years agogbp.format: fix one typo and indentation
Markus Lehtonen [Tue, 3 Feb 2015 13:56:58 +0000 (15:56 +0200)]
gbp.format: fix one typo and indentation

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agotristate: implement __nonzero__() method
Markus Lehtonen [Mon, 2 Jun 2014 07:14:52 +0000 (10:14 +0300)]
tristate: implement __nonzero__() method

Returns False if tristate is 'off', otherwise True ('on' or 'auto').

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agorpm tests: use eq_ and ok_ from nose tools
Markus Lehtonen [Tue, 18 Nov 2014 14:57:24 +0000 (16:57 +0200)]
rpm tests: use eq_ and ok_ from nose tools

Provides better error messages as is more consistent as eq_ was already
used in some test cases.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agotests: add tests for UpstreamSource.guess_version()
Markus Lehtonen [Fri, 25 Jul 2014 05:58:23 +0000 (08:58 +0300)]
tests: add tests for UpstreamSource.guess_version()

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoUpstreamSource.guess_version: recognise debian native tarballs
Markus Lehtonen [Thu, 6 Jun 2013 11:53:45 +0000 (14:53 +0300)]
UpstreamSource.guess_version: recognise debian native tarballs

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoDocument changes and release 0.6.24 debian/0.6.24
Guido Günther [Fri, 20 Feb 2015 18:29:54 +0000 (19:29 +0100)]
Document changes and release 0.6.24

10 years agoDon't output additional newlines
Guido Günther [Fri, 20 Feb 2015 16:18:05 +0000 (17:18 +0100)]
Don't output additional newlines

introduced by 0a4725c045a5a55592dafd41c6ef6f9bab4791cd

10 years agoDevelopment now on master
Guido Günther [Fri, 20 Feb 2015 16:08:03 +0000 (17:08 +0100)]
Development now on master

Gbp-Dch: Ignore

10 years agobash-completion: Avoid a pointless fork
Guido Günther [Fri, 20 Feb 2015 16:06:16 +0000 (17:06 +0100)]
bash-completion: Avoid a pointless fork

10 years agoMove requests import to downloads
Guido Günther [Fri, 20 Feb 2015 15:58:01 +0000 (16:58 +0100)]
Move requests import to downloads

The requests import takes ages and therefore considerably slows
down program start up.

This is very much noticeably during bash completion. Before:

$ time gbp --list-cmds >/dev/null

real 0m0.559s
user 0m0.528s
sys 0m0.028s

After:

$ time gbp --list-cmds >/dev/null

real 0m0.092s
user 0m0.088s
sys 0m0.000s

10 years agoOnly use absolute import
Guido Günther [Thu, 19 Feb 2015 14:09:06 +0000 (15:09 +0100)]
Only use absolute import

since searching both isn't supported in Python3. Since the tests are run
from the toplevel dir we'll pick up the right scripts.

10 years agoDon't use basestring
Guido Günther [Thu, 19 Feb 2015 11:50:55 +0000 (12:50 +0100)]
Don't use basestring

to work toward Python3 support

10 years agoUse verbose output
Guido Günther [Thu, 19 Feb 2015 15:16:27 +0000 (16:16 +0100)]
Use verbose output

so we see all git commands

10 years agoHandle renamed urlparse in Python3
Guido Günther [Thu, 19 Feb 2015 13:13:06 +0000 (14:13 +0100)]
Handle renamed urlparse in Python3

to work towards Python3 support

Gbp-Dch: Ignore

10 years agoUse six.iteritems() and six.iterkeys()
Guido Günther [Thu, 19 Feb 2015 12:09:31 +0000 (13:09 +0100)]
Use six.iteritems() and six.iterkeys()

to work towards Python3 support

Gbp-Dch: Ignore

10 years agoHandle Python3's changed octal literal syntax
Guido Günther [Thu, 19 Feb 2015 13:18:00 +0000 (14:18 +0100)]
Handle Python3's changed octal literal syntax

10 years agoUse relative import
Guido Günther [Thu, 19 Feb 2015 13:34:48 +0000 (14:34 +0100)]
Use relative import

so Python3 can cope as well

10 years agoConvert result to list
Guido Günther [Thu, 19 Feb 2015 21:41:02 +0000 (22:41 +0100)]
Convert result to list

Python3 returns a dict_items obj

10 years agoUse email.utils instead of email.Utils
Guido Günther [Thu, 19 Feb 2015 22:26:42 +0000 (23:26 +0100)]
Use email.utils instead of email.Utils

works with python 2 and 3

10 years agoUse open() instead of file()
Guido Günther [Fri, 20 Feb 2015 08:21:26 +0000 (09:21 +0100)]
Use open() instead of file()

The former is supported with python3

10 years agoUse relative import for testutils
Guido Günther [Thu, 19 Feb 2015 22:45:48 +0000 (23:45 +0100)]
Use relative import for testutils

10 years agoDon't rely on dictionary key order
Guido Günther [Thu, 19 Feb 2015 11:57:47 +0000 (12:57 +0100)]
Don't rely on dictionary key order

to work towards Python3 support

Gbp-Dch: Ignore

10 years agoUse six.StringIO
Guido Günther [Thu, 19 Feb 2015 11:32:22 +0000 (12:32 +0100)]
Use six.StringIO

to work towards Python3 support

Gbp-Dch: Ignore

10 years agoDon't use dict.has_key()
Guido Günther [Thu, 19 Feb 2015 15:02:23 +0000 (16:02 +0100)]
Don't use dict.has_key()

Not existent in Python3

10 years agoHandle ConfigParser -> configparser rename
Guido Günther [Thu, 19 Feb 2015 11:30:54 +0000 (12:30 +0100)]
Handle ConfigParser -> configparser rename

to work towards Python3 support

Gbp-Dch: Ignore

10 years agoDon't use print as a statement
Guido Günther [Thu, 19 Feb 2015 10:29:43 +0000 (11:29 +0100)]
Don't use print as a statement

via

    2to3-3.4 -w  -f print .

to work towards python3 support

Gbp-Dch: Ignore

10 years agoRequire six
Guido Günther [Thu, 19 Feb 2015 11:28:00 +0000 (12:28 +0100)]
Require six

to work towards Python3 support

Gbp-Dch: Ignore

10 years agoConvert zip and map to list
Guido Günther [Thu, 19 Feb 2015 11:01:35 +0000 (12:01 +0100)]
Convert zip and map to list

to work towards Python3 support

Gbp-Dch: Ignore

10 years agoIgnore return types of write and shutil.copy
Guido Günther [Thu, 19 Feb 2015 11:43:24 +0000 (12:43 +0100)]
Ignore return types of write and shutil.copy

Python3 does not return None anymore

10 years agoRemove unused import
Guido Günther [Wed, 18 Feb 2015 13:07:23 +0000 (14:07 +0100)]
Remove unused import

Gbp-Dch: Ignore

10 years agorpm: suppress stderr when unpacking src.rpm
Markus Lehtonen [Wed, 3 Dec 2014 14:40:46 +0000 (16:40 +0200)]
rpm: suppress stderr when unpacking src.rpm

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agopatchseries: strip numbering when guessing subject from filename
Markus Lehtonen [Mon, 24 Nov 2014 17:12:37 +0000 (19:12 +0200)]
patchseries: strip numbering when guessing subject from filename

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoComponentTestBase: ignore system and user config
Markus Lehtonen [Thu, 26 Jun 2014 10:35:19 +0000 (13:35 +0300)]
ComponentTestBase: ignore system and user config

User might have a system and/or user specific gbp config files. Disable
these config files so that they don't affect the component tests.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agotests: restore logger module after tampering it
Markus Lehtonen [Tue, 10 Feb 2015 15:14:18 +0000 (17:14 +0200)]
tests: restore logger module after tampering it

So that subsequent log capture (by GbpLogTester) is not affected.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoimport-srpm: support gbp-config command
Markus Lehtonen [Fri, 28 Nov 2014 17:10:04 +0000 (19:10 +0200)]
import-srpm: support gbp-config command

Slight refactoring of argument parsing so that the gbp-config command is
able to show the config values.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoDrop all gbp-* and git-* commands
Guido Günther [Tue, 17 Feb 2015 07:46:41 +0000 (08:46 +0100)]
Drop all gbp-* and git-* commands

as announced in the deprecation notice from June 2013.

10 years agogit-dch --git-author: separate author and email
Dmitrij Tejblum [Sun, 8 Feb 2015 10:23:55 +0000 (13:23 +0300)]
git-dch --git-author: separate author and email

Allow --git-author to work if either author or email is not specified
in the git config, taking the other config option into account.

10 years agoBump standards version
Guido Günther [Sun, 8 Feb 2015 16:11:08 +0000 (17:11 +0100)]
Bump standards version

10 years agoAdd gbp.conf for experimental
Guido Günther [Sun, 8 Feb 2015 15:32:03 +0000 (16:32 +0100)]
Add gbp.conf for experimental

10 years agoparse_gbp_commands: support command filtering
Guido Günther [Sun, 8 Feb 2015 14:15:03 +0000 (15:15 +0100)]
parse_gbp_commands: support command filtering

When we write out patches to subdirs using a topic we want to filter out
this topic from the commit message. Support for this was lost in

    7ce15d2434ee42aa5a1afce3d03069c5efb2db1b

add it back. Also fix parsing of the deprecated commands.

10 years agopq: Generate new style Gbp-Pq: Topic <topic> entries
Guido Günther [Thu, 29 Jan 2015 09:04:27 +0000 (10:04 +0100)]
pq: Generate new style Gbp-Pq: Topic <topic> entries

We shouldn't generate the deprecated ones

10 years agopq: deprecate the usage of 'gbp-pq-topic:'
Markus Lehtonen [Wed, 4 Sep 2013 13:16:59 +0000 (16:16 +0300)]
pq: deprecate the usage of 'gbp-pq-topic:'

Replaced by the "Gbp[-Pq]: Topic <topic>" command.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agorepository: fix head docstring
Guido Günther [Sat, 31 Jan 2015 14:02:38 +0000 (15:02 +0100)]
repository: fix head docstring

head is not a function so it doesn't _return_ anything

Gbp-Dch: Ignore

10 years agobuildpackage: Tag currently checked out head
Guido Günther [Thu, 29 Jan 2015 08:25:38 +0000 (09:25 +0100)]
buildpackage: Tag currently checked out head

Tag the head checked out at command invocation. The build can
take some time and the repo might have changed underneath us.

Closes: #776506
10 years agoRevert "pq: deprecate the usage of 'gbp-pq-topic:'"
Guido Günther [Thu, 29 Jan 2015 09:51:29 +0000 (10:51 +0100)]
Revert "pq: deprecate the usage of 'gbp-pq-topic:'"

"Gbp-Pq: Topic <topic>" leaves the marker in the exorted patch so we
shouldn't use it by default.

This reverts commit 7ce15d2434ee42aa5a1afce3d03069c5efb2db1b.

10 years agoconfig: Deprecate legacy config sections
Guido Günther [Tue, 18 Feb 2014 21:55:45 +0000 (22:55 +0100)]
config: Deprecate legacy config sections

We deprecate sections starting with git- and gbp- to reduce the
confusion about what gets parsed first.

10 years agotestutils: split out DebianGitTestRepo
Guido Günther [Sun, 25 Jan 2015 14:10:12 +0000 (15:10 +0100)]
testutils: split out DebianGitTestRepo

Gbp-Dch: Ignore

10 years agotestutils: Move log test helpers to separate class
Guido Günther [Sun, 25 Jan 2015 13:37:59 +0000 (14:37 +0100)]
testutils: Move log test helpers to separate class

so we can use them in the unit tests as well

10 years agoMove testutils to separate module
Guido Günther [Sun, 25 Jan 2015 13:37:37 +0000 (14:37 +0100)]
Move testutils to separate module

10 years agopq: deprecate the usage of 'gbp-pq-topic:'
Markus Lehtonen [Wed, 4 Sep 2013 13:16:59 +0000 (16:16 +0300)]
pq: deprecate the usage of 'gbp-pq-topic:'

Replaced by the "Gbp[-Pq]: Topic <topic>" command.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agodch: Support Gbp-Dch: besides Git-Dch:
Guido Günther [Thu, 22 Jan 2015 20:37:43 +0000 (21:37 +0100)]
dch: Support Gbp-Dch: besides Git-Dch:

10 years agoMake Debian and Git spelling consistent
Guido Günther [Thu, 22 Jan 2015 13:21:33 +0000 (14:21 +0100)]
Make Debian and Git spelling consistent

10 years agovfs: remove wrong docstring
Guido Günther [Thu, 22 Jan 2015 21:22:43 +0000 (22:22 +0100)]
vfs: remove wrong docstring

Gbp-Dch: Ignore

10 years agopristinetar: fix docstring
Guido Günther [Thu, 22 Jan 2015 20:34:44 +0000 (21:34 +0100)]
pristinetar: fix docstring

Gbp-Dch: Ignore

10 years agoDocument changes and release 0.6.23 debian/0.6.23
Guido Günther [Sun, 18 Jan 2015 14:30:25 +0000 (15:30 +0100)]
Document changes and release 0.6.23

10 years agoimport-orig: Add --download option
Guido Günther [Fri, 12 Sep 2014 12:26:52 +0000 (14:26 +0200)]
import-orig: Add --download option

to download tarballs via HTTP

Closes: #747101
10 years agoIntroduce gbp-pq-rpm
Markus Lehtonen [Thu, 12 Jan 2012 13:38:29 +0000 (15:38 +0200)]
Introduce gbp-pq-rpm

Initial version of gbp-pq-rpm - a tool for managing patch queues for rpm
packages. The functionality more or less corresponds to that of the
(Debian) gbp-pq. The only major difference probably being (in addition
to the obvious of working with .spec files instead of debian/) is that
patches are always imported on top of the upstream version, not on top
of the packaging branch (which might not even contain any source code).

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Olev Kartau <olev.kartau@intel.com>
10 years agoFix argument type
Guido Günther [Sun, 28 Dec 2014 12:36:22 +0000 (13:36 +0100)]
Fix argument type

10 years agoconfig: read the right config if run from subdir
Markus Lehtonen [Fri, 6 Jul 2012 06:58:06 +0000 (09:58 +0300)]
config: read the right config if run from subdir

A step towards being able to run GBP tools from subdirectories.

Now expands '%(top_dir)s' and '%(git_dir)s' in config file path to root
of the working directory and git metadata directory, respectively.

Also, adds a new method _read_config_file() in preparation for
supporting per-tree config files.

Fixes tests.test_Config: currently the only correct way to define the
config file(s) to be parsed is by using the GBP_CONF_FILES environment
variable.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agotest data: Add .git for bare repository
Guido Günther [Sun, 28 Dec 2014 12:09:05 +0000 (13:09 +0100)]
test data: Add .git for bare repository

10 years agobuildpackage/dump_tree: add 'recursive' option
Markus Lehtonen [Tue, 17 Sep 2013 12:13:40 +0000 (15:13 +0300)]
buildpackage/dump_tree: add 'recursive' option

For selecting whether to dump all the files recursively or just the top
level directory of the tree.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agopq: print which patch got just applied
Guido Günther [Wed, 24 Dec 2014 08:25:30 +0000 (09:25 +0100)]
pq: print which patch got just applied

10 years agolog: fix auto colorizing for custom streams
Markus Lehtonen [Thu, 10 Jul 2014 08:26:19 +0000 (11:26 +0300)]
log: fix auto colorizing for custom streams

Check for existence of isatty() method in the stream object. Some custom
streams (e.g. in nose) do not necessarily have this.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agonotify: catch RuntimeError when importing pynotify
Markus Lehtonen [Thu, 12 Jun 2014 09:04:09 +0000 (12:04 +0300)]
notify: catch RuntimeError when importing pynotify

Work around a problem in some distros (e.g. Fedora) where "import
pynotify" crashes in RuntimeError in some cases, e.g. when DISPLAY env
variable is not set.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agogbp-dch: fix handling of the '--meta' option
Markus Lehtonen [Fri, 6 Jun 2014 07:22:31 +0000 (10:22 +0300)]
gbp-dch: fix handling of the '--meta' option

Make it effective again - previously it was totally ignored. Also,
change it's default value to True to match the current behavior.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoGitRepository: Implement status method
Ed Bartosh [Wed, 6 Jun 2012 11:45:44 +0000 (14:45 +0300)]
GitRepository: Implement status method

Simple wrapper to the git-status command.

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoComponentTestBase: add dirs argument to _check_repo_state()
Markus Lehtonen [Fri, 18 Jul 2014 12:37:48 +0000 (15:37 +0300)]
ComponentTestBase: add dirs argument to _check_repo_state()

Make difference between regular files and directories, eliminating the
requirement of listing directories in the file list.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoComponentTestBase: add check_files() method
Markus Lehtonen [Thu, 26 Jun 2014 07:01:18 +0000 (10:01 +0300)]
ComponentTestBase: add check_files() method

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoComponentTestBase: add a per-class toplevel temp dir
Markus Lehtonen [Wed, 2 Oct 2013 13:35:32 +0000 (16:35 +0300)]
ComponentTestBase: add a per-class toplevel temp dir

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoGitRepository.create_branch: add 'force' option
Markus Lehtonen [Fri, 13 Sep 2013 06:53:16 +0000 (09:53 +0300)]
GitRepository.create_branch: add 'force' option

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoGitRepository: add diff_status method
Markus Lehtonen [Fri, 14 Sep 2012 10:40:14 +0000 (13:40 +0300)]
GitRepository: add diff_status method

This is a method of getting the filename and status information of a
diff. That is, a list of files that changed and their status, "added",
"modified" etc.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agopq: move switch_pq() to common
Markus Lehtonen [Fri, 28 Nov 2014 16:28:51 +0000 (18:28 +0200)]
pq: move switch_pq() to common

So that it can be re-used by the upcoming pq-rpm tool.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoDocument changes and release 0.6.22 debian/0.6.22
Guido Günther [Wed, 29 Oct 2014 06:47:29 +0000 (07:47 +0100)]
Document changes and release 0.6.22

10 years agogit.vfs: fix close method
Guido Günther [Wed, 29 Oct 2014 06:46:35 +0000 (07:46 +0100)]
git.vfs: fix close method

Preventing a infinite recursion which can be triggered by gbp pq export
--commit.

10 years agoDocument changes and release 0.6.21
Guido Günther [Fri, 17 Oct 2014 16:41:21 +0000 (18:41 +0200)]
Document changes and release 0.6.21

10 years agoUpdate README a bit
Guido Günther [Fri, 17 Oct 2014 16:29:15 +0000 (18:29 +0200)]
Update README a bit

Git-Dch: Ignore

10 years agoComplete setup.py for pypi
Guido Günther [Fri, 17 Oct 2014 16:24:01 +0000 (18:24 +0200)]
Complete setup.py for pypi

10 years agoImprove change reporting a bit
Guido Günther [Fri, 17 Oct 2014 15:31:48 +0000 (17:31 +0200)]
Improve change reporting a bit

10 years agoman: fix option argument for --git-pbuilder-options
Guido Günther [Fri, 17 Oct 2014 11:01:34 +0000 (13:01 +0200)]
man: fix option argument for --git-pbuilder-options

10 years agopq: Don't fail commit if the series file is empty on the source branch
Guido Günther [Tue, 14 Oct 2014 17:18:20 +0000 (19:18 +0200)]
pq: Don't fail commit if the series file is empty on the source branch

10 years agoDocument changes and release 0.6.20 debian/0.6.20
Guido Günther [Sun, 12 Oct 2014 09:42:52 +0000 (11:42 +0200)]
Document changes and release 0.6.20

10 years agopq: Add "pq export --commit" option
Guido Günther [Sat, 6 Sep 2014 11:40:14 +0000 (13:40 +0200)]
pq: Add "pq export --commit" option

This commits the changes in the pq right away. This is currently
experimental and subject to change.

10 years agometa-closes: Move help text to GbpOptionParser.help
Guido Günther [Fri, 26 Sep 2014 08:31:48 +0000 (10:31 +0200)]
meta-closes: Move help text to GbpOptionParser.help

10 years agopq: document --drop
Guido Günther [Sat, 13 Sep 2014 10:53:15 +0000 (12:53 +0200)]
pq: document --drop

10 years agoAllow to always drop pq branch after export
Guido Günther [Fri, 12 Sep 2014 11:05:47 +0000 (13:05 +0200)]
Allow to always drop pq branch after export

Closes: #761160
10 years agoDocument changes and release 0.6.19 debian/0.6.19
Guido Günther [Sun, 7 Sep 2014 07:25:53 +0000 (09:25 +0200)]
Document changes and release 0.6.19

10 years agoUpdate to git-pbuilder 1.33
Guido Günther [Sun, 7 Sep 2014 07:25:30 +0000 (09:25 +0200)]
Update to git-pbuilder 1.33

10 years agoDocument changes and release 0.6.18 debian/0.6.18
Guido Günther [Sat, 6 Sep 2014 11:41:27 +0000 (13:41 +0200)]
Document changes and release 0.6.18

10 years agoMention --no-merge
Guido Günther [Mon, 1 Sep 2014 07:36:11 +0000 (09:36 +0200)]
Mention --no-merge

Closes: #760091
10 years agoDon't delete *_source.changes on source only builds
Guido Günther [Tue, 26 Aug 2014 09:08:27 +0000 (11:08 +0200)]
Don't delete *_source.changes on source only builds

Closes: #758726
10 years agoDocument changes and release 0.6.17 debian/0.6.17
Guido Günther [Sun, 24 Aug 2014 09:31:57 +0000 (11:31 +0200)]
Document changes and release 0.6.17

10 years agobash completion: make command list dynamic
Guido Günther [Sun, 24 Aug 2014 09:24:52 +0000 (11:24 +0200)]
bash completion: make command list dynamic

Use "gbp --list-cmds" so we don't have to hardcode the available
commands and get support for the RPM ones as they show up.

10 years agoUnify doc strings a bit
Guido Günther [Sat, 23 Aug 2014 16:18:10 +0000 (18:18 +0200)]
Unify doc strings a bit

since they now show up with --list-cmds

10 years agoAllow to list all available commands
Guido Günther [Sat, 23 Aug 2014 16:10:16 +0000 (18:10 +0200)]
Allow to list all available commands

10 years agogbp: add --version option
Guido Günther [Sat, 23 Aug 2014 13:14:18 +0000 (15:14 +0200)]
gbp: add --version option

Closes: #758909
10 years agoImprove error messages on formatting errors
Guido Günther [Tue, 19 Aug 2014 18:07:35 +0000 (20:07 +0200)]
Improve error messages on formatting errors

Make it easier for the user to detect misformated replacement strings in
config files and command line options.

10 years agobuildpackage: Make debian-tag message configurable
Kamal Mostafa [Tue, 19 Aug 2014 15:14:47 +0000 (17:14 +0200)]
buildpackage: Make debian-tag message configurable

New config option --git-debian-tag-msg allows for the specification of
the message format string for signed debian-tags.

When left unset, the default debian-tag-msg format is still:

    %(pkg)s Debian release %(version)s

Signed-off-by: Kamal Mostafa <kamal@whence.com>