| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
| |
so we don't accidentally try to expand values in error messages
Closes: #881254
|
|
|
|
| |
Gbp-Dch: Ignore
|
|
|
|
|
|
|
| |
If subprocess.communicate raised a TypeError due to bad arguments 'ret'
was undefined and therefore the real error reason got masked.
Closes parts of #879495
|
|
|
|
|
|
|
|
|
| |
The travis instance reports
gbp.command_wrappers.CommandExecFailed: '/foo/bar' failed: execution failed: [Errno 2] No such file or directory: '/foo/bar': '/foo/bar'
(note the additional /foo/bar). Work around this by ignoring the
exception detail which is not important in this case.
|
|
|
|
|
|
|
| |
Python3 performs path lookups by itself when no path is given so remove
our path lookup code.
Thanks: Nish Aravamudan
|
| |
|
|
|
|
| |
Python3 prefixes the module names
|
|
|
|
|
| |
This avoids problems with not properly wrapping sys.stdout, sys.stderr
when running doctests under nose.
|
| |
|
| |
|
|
|
|
|
| |
Closes: #850869
Thanks: Simon McVittie
|
|
|
|
|
|
|
| |
Use this in PristineTar and SrcRpmFile to give better error messages if
the command doesn't even get to print to stderr (i.e. missing on disk).
Closes: #842592
|
|
|
|
|
|
|
|
|
|
|
|
| |
Redirect stdout and stderr of the (child) command to sys.stdout and
sys.stderr of the caller, respectively. This change is mainly for the
unit tests. It makes Python nose to correctly capture the output of the
child command, too, which in turn suppresses a lot of spurious output
when running nosetests.
Closes: #829690
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Adds support for defining the archive format of the output of
git_archive_single(), e.g. 'zip'. Defaults to 'tar', as before.
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
|
|
|
| |
Call the tool by its actual name instead of the abbriviation.
dch is a symlink to debchange, which is not present on Fedora [1].
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1236122
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
|
|
| |
use gnu.org/licences instead of a postal address, as suggested by Guido
|
|
|
|
| |
Otherwise we fail when run in a non C locale
|
|
|
|
|
|
|
|
| |
Strip extra linefeeds from stdout and stderr output (if captured) when
generating the error message, so that the error message itself would not
have any unwanted linefeeds.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
| |
for Python3 compatibility
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Make it more clear if the command exited with non zero exit status.
Also don't report the command line twice.
Closes: #748248
|
|
|
|
|
|
| |
and add the error detail to the exception message. This silences the
testsuite and makes sure we have error message and exception output in
sync.
|
|
|
|
|
| |
so we can capture stderr and use it in error messages intead of spewing
it on the console.
|
|
|
|
| |
This reverts commit 0c582cd827f164168a313e0bb4eabf9487bdd088.
|
|
|
|
| |
so we can caputure stderr and pass it along with any errors.
|
|
|
|
| |
and use that in the doctest to get rid of the spurious output
|
|
|
|
| |
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
and make it accessible from GitRepository to group
checkout/checkin/lookup.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Git-Dch: Ignore
|
|
|
|
|
|
| |
and GitInit superfluous
Git-Dch: Ignore
|
| |
|
| |
|
| |
|
|
|
|
| |
Git-Dch: Ignore
|