Age | Commit message (Collapse) | Author |
|
for Python3 compatibility
|
|
for Python3 compatibility
|
|
Capture its output and only dump it on failure. This makes "gbp
import-orig" and test runs less verbose.
|
|
We allow to substitute stderr, stdout and error_reason in run_error now.
These changes the API for derived classses slightly so fix them up as
well.
|
|
Get rid of __run and use the same codepaths for both. This also makes
the same instance variables available after both calls.
The funtions still differ in their default logging behaviour though.
|
|
For symmetry with capture_stderr
|
|
|
|
|
|
Git-Dch: Ignore
|
|
|
|
enigmail upstream uses tags named enigmail-1-8 for 1.8. Other
upstreams have used similar conventions, likely as holdovers from CVS
(e.g. gnupg 1.4.2 was tagged with V1-4-2). This patch helps packagers
work with these upstreams.
Closes: #780679
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
Also pass it through version_to_tag so
upstream-vcs-tag = libgpg-error-%(version)s
properly expands the version replacement.
Closes: #780602
|
|
For defining a Git treeish which to look into, instead of the current
working copy.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Usage of six.moves.configparser in the previous way failed at least with
some versions of python-six (e.g. 1.4.1) like
> >>> from six.moves.configparser import SafeConfigParser
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named configparser
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Returns False if tristate is 'off', otherwise True ('on' or 'auto').
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
introduced by 0a4725c045a5a55592dafd41c6ef6f9bab4791cd
|
|
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
|
|
to work toward Python3 support
|
|
to work towards Python3 support
Gbp-Dch: Ignore
|
|
to work towards Python3 support
Gbp-Dch: Ignore
|
|
|
|
works with python 2 and 3
|
|
to work towards Python3 support
Gbp-Dch: Ignore
|
|
to work towards Python3 support
Gbp-Dch: Ignore
|
|
Not existent in Python3
|
|
to work towards Python3 support
Gbp-Dch: Ignore
|
|
via
2to3-3.4 -w -f print .
to work towards python3 support
Gbp-Dch: Ignore
|
|
to work towards Python3 support
Gbp-Dch: Ignore
|
|
Python3 does not return None anymore
|
|
Gbp-Dch: Ignore
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
So that subsequent log capture (by GbpLogTester) is not affected.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
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>
|
|
Allow --git-author to work if either author or email is not specified
in the git config, taking the other config option into account.
|
|
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.
|
|
We shouldn't generate the deprecated ones
|
|
Replaced by the "Gbp[-Pq]: Topic <topic>" command.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
head is not a function so it doesn't _return_ anything
Gbp-Dch: Ignore
|
|
Tag the head checked out at command invocation. The build can
take some time and the repo might have changed underneath us.
Closes: #776506
|
|
"Gbp-Pq: Topic <topic>" leaves the marker in the exorted patch so we
shouldn't use it by default.
This reverts commit 7ce15d2434ee42aa5a1afce3d03069c5efb2db1b.
|
|
We deprecate sections starting with git- and gbp- to reduce the
confusion about what gets parsed first.
|
|
Replaced by the "Gbp[-Pq]: Topic <topic>" command.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
Gbp-Dch: Ignore
|
|
Gbp-Dch: Ignore
|