Package: git-dpm
Version: 0.8.5-1
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear Maintainer,

Currently, update-patches emits d/patches files that start with a 4
digit number and a dash-separated list of words which are taken from
the first line of the Subject: header.  I'm told the systemd
maintainers have configured git-bp to not use patch numbers, and it
seems like it would be better to let maintainers have more control
over their patch file names in git-dpm too.

Would it be possible to add an option (in a config file a la
debian/gbp.conf?) so that 4 digit numbers were not prepended to the
front of the file name?  You'd have to use d/p/series to determine
patch order.

Also, it would be nice if we could control the rest of the name of the
patch file.  One idea would be to allow us to edit the Subject: field
in the master branch, then do:

 * git-dpm checkout-patched
 * git-dpm update-patches --redo

and the file names would be regenerated from our changes in the
Subject field.  E.g. if I currently have this in
d/p/0003-Various-fixes-to-get-some-semblance-of-the-test-suit.patch:

Subject: Various fixes to get some semblance of the test suite passing at

 package build time.  This isn't perfect because tox's tests depend on tox
 being built and installed - a catch 22.  However, we can do a lot and there
 are DEP-8 tests to handle the rest of it.

I could edit this in my master branch to be:

Subject: build time test skips

 Various fixes to get some semblance of the test suite passing at
 package build time.  This isn't perfect because tox's tests depend on
 tox being built and installed - a catch 22.  However, we can do a lot
 and there are DEP-8 tests to handle the rest of it.

Now after the checkout-patched/update-patches roundtrip, my file would
be called d/p/built-time-test-skips.patch and the Subject in the file
would be preserved, i.e.:

Subject: build time test skips

 Various fixes to get some semblance of the test suite passing at
 package build time.  This isn't perfect because tox's tests depend on
 tox being built and installed - a catch 22.  However, we can do a lot
 and there are DEP-8 tests to handle the rest of it.

This would give more control to the maintainer about how their master
branch looks, and improve the readability of their DEP-3 headers.

- -- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-dpm depends on:
ii  git  1:2.1.0-1

git-dpm recommends no packages.

git-dpm suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUCcgqAAoJEBJutWOnSwa/YagQAJpWowhT8RArpgmbiTHxaASB
JnI9G+RYIfMz4Poyeh82MzFG9uJGIMGZLyFOk0e80pbkva1JqiSjrHvcb+QxZtjg
wDbXxDxLrK002Y9Tk3TEVY7xb4fVhbdpMqVIFVNyc5mA1NFjRoF+mkeVjird8YLz
scpgfxw1sIMxHSGJ2oqp6smAcb0AWsKeswKjAVu4fYHx0o26YKxX0o5ZL+Bvifgn
rBNV31LDvUJF4uXiLvoP4o1N7AO1+1gyoowAFgeWQQlTAEu3gRgP+lJxtZG8qezv
l8o9WtCNEFuKyr6L0SMyJqt4rp4OPRhNcvCi+nXL+gIYb9bAgDjr/LnuV5oikxA2
bRC03cVv5UIt/dC0oDcHEdYHaqd5DgjFN7TrZB7d2n67HPdxCgkhsHfF8Bvqi+Bq
ocJ+l9rnoRD2lpjsuQdALwIcYuJRt0iw061x+Ts8cL3givX7hD7VKs7lAQfh7wr1
YxiqHcB6sVlFsV37YK9IoBiQk/Tm3H+xJaC/sfiMb9I92IWCTwSczBHq/qOr4Zpv
4I1TDpFJV0aGVyRjn7w+0FfNE6+ai0uNsbA2WOdnH4rVgsiXED6xZOvNHkYZba8x
w9mf+00CLMsCZqXg5876/UvnqSyePqldR4KbDDBnQmaUwfCoVqZEgVDxR4CDdAVt
yNBbcgwB+fFaWZ6l1CYR
=rd5L
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to