Age | Commit message (Collapse) | Author |
|
for Python3 compatibility
|
|
We want to get there eventually but having this on now is
just too much noise.
|
|
for Python3 compatibility
|
|
to work towards Python3 support
Gbp-Dch: Ignore
|
|
and use it to test the help output
|
|
The values weren't correctly seperated
|
|
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.
|
|
We want to test no prefix, 'gbp-' and 'git-'.
|
|
So far we were modifying the list of handlers in place which resulted in
all handlers being removed at the second call to _capture_log only.
|
|
|
|
|
|
Remove unused imports, remove unused variables or actually use them
|
|
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
|
|
|
|
|
|
|
|
|
|
It's much simpler to spot the cause of test failures this way.
|
|
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>
|
|
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>
|
|
and pylint exception that doesn't trigger
|
|
|
|
Types are classes in python3 so we get 'class' instead of 'type'.
Ignore that detail in the matcher since it's not relevanthere.
|
|
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>
|
|
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>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
introduced by 0a4725c045a5a55592dafd41c6ef6f9bab4791cd
|
|
Gbp-Dch: Ignore
|
|
|
|
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
|
|
since searching both isn't supported in Python3. Since the tests are run
from the toplevel dir we'll pick up the right scripts.
|
|
to work toward Python3 support
|
|
so we see all git commands
|
|
to work towards Python3 support
Gbp-Dch: Ignore
|
|
to work towards Python3 support
Gbp-Dch: Ignore
|
|
|
|
so Python3 can cope as well
|
|
Python3 returns a dict_items obj
|
|
works with python 2 and 3
|
|
The former is supported with python3
|