| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
(rightfully tripping up newer flake8)
Gbp-Dch: Ignore
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise, if we import a patch containing non-ASCII characters exported
by `gbp pq export` or `git format-patch` using DEP-3 syntax, we'd
misinterpret these fields as semantically significant and copy them into
pseudo-headers, causing them to be duplicated in the commit's long
description.
Closes: #924478
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
|
|
|
|
|
|
| |
If the patch only has '---' we pass empty data to git-mail-info
otherwise.
Thanks: James Cowgill for the detailed report
Closes: #916545
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are patches around that use
Content-Transfer-Encoding: base64
but the actual patch after '---' is unencoded ascii resulting in garbage
after the patch description when imported into a patch queue.
Since we're discarding the patch part of git-mailinfo anyway don't pass
this on in the first place.
Closes: #912426
|
|
|
|
|
|
| |
See also
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
|
|
|
|
|
|
| |
If there are any non-git DEP-3 header fields, put them at the top of
the body text, regardless of whether Description or Subject is used.
Also put a blank line between them and the rest of the message body.
|
|
|
|
| |
Closes: #905934
|
| |
|
|
|
|
| |
Gbp-Dch: Ignore
|
|
|
|
| |
Closes: #885929
|
|
|
|
|
| |
No need to repeat them in Dep3Patch since the parent class Patch
already has them.
|
| |
|
|
|
|
| |
Insted of duplicating the logic use the parent classes _read_info.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently the patch headers in DEP3 format are partially
supported, as git's mailinfo only reads the From and Subject fields from
the first paragraph. But the default in dep3 patches is Description and
Author, that are ignored by git. Even worse, when this fields are in the
first paragraph (again the default) git mailinfo drops all the contained
information.
This patch parses the dep3 headers if git's mailinfo couldn't obtain any
useful information, any header other than Subject|Description and
Author|From is appended to the patch message.
The description field is splitted in first line for the short
description and the rest is prepended to the patch message.
Closes: #785274
|
|
|
|
| |
Use backslashreplace not lose data.
|
|
|
|
|
|
|
| |
This would strip away text in []. This improves the import/export round
trip.
Closes: #872354
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
So far we used a mixture of klass and cls to denote the class variable.
Git-Dch: Ignore
|
|
|
|
| |
Really closes #825536
|
| |
|
|
|
|
| |
Closes: #825536
|
| |
|
| |
|
|
|
|
| |
use gnu.org/licences instead of a postal address, as suggested by Guido
|
| |
|
|
|
|
| |
Not existent in Python3
|
|
|
|
| |
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
| |
since the later doesn't exist in python3
|
|
|
|
| |
since we don't expect it to succeed.
|
| |
|
|
since that's what it currently handles.
|