- Package:
- git-buildpackage
- Source:
- git-buildpackage
- Submitter:
- David Bremner
- Date:
- 2020-12-27 14:21:03 UTC
- Severity:
- wishlist
Currently gbp-import silently drops unknown header fields. This is problematic for the proposed DEP3 header, which allows more fields than From, Date, and Subject. Minimally it should complain that information loss is occuring. A nicer solution might be to extra headers to the end of the commit message after a blank line. This would be consistent with DEP3 and the usual git convention for things like Signed-off-by.
Hi David, sorry for the late reply. Yes, that sucks. It's caused by gbp-pq using "git quilt-import" for the import. We have to get rid of git-quilt-import due to other bugs like #592129. The plan is to rewrite gbp-pq in python (like the other helpers) and to invoke "git apply" directly so we can preserve all the header information (and the patch names). It's not that much work but I didn't get around to it yet so help on this would be welcome. Cheers, -- Guido
http://dep.debian.net/deps/dep3/ the header fields are preserved by git quilt-import. Cheers, -- Guido
On Sun, 17 Oct 2010 15:08:56 +0200 Guido =?iso-8859-1?Q?G=FCnther?= < agx@sigxcpu.org> wrote: is fields the like git Note that while this format (the additional fields after the description) is left alone by gbp-pq, it is rearranged by edits by cme (libconfig-model-dpkg-perl) which places all the DEP-3 fields at the top of the patchfile.
Any progress on preserving DEP-3 fields, like Applied-Upstream or Forwarded, when used before the description?