Bug#672308: python-debian: Manage multimaint and multimaint-merge dch options
Daniel Dehennin
daniel.dehennin at baby-gnu.org
Wed May 9 21:22:32 UTC 2012
Package: python-debian
Version: 0.1.21
Severity: wishlist
Dear Maintainer,
I'm trying to implement the "--[no]multimaint" "--nomultimaint-merge"
option of dch in debian.changelog.ChangeBlock.
Instead of storing changes as a string, I plan to use a list of
change objects, storing one change text with its author.
If the "multimaint" option is true (the default), then the changes
string will include the maintainer names before each changes, if
different from the previous one.
If the "multimaint-merge" option is true (not the default), then the
changes list will become ordered on author names and the previous rule
will do the rest.
I'm not sure to order the list alphabetically or based on insertion
order. The dch tool seems to use the later.
If using one object per change is expensive, we can just store a list of
dictionnaries {'author':'', 'change':''}
I'm trying to do this work after some thought about #15[1] of #656622.
Do you have any conceptual objections on this proposal?
Regards.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (90, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.4+hati.1+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-debian depends on:
ii python 2.7.2-10
ii python-chardet 2.0.1-2
ii python2.6 2.6.7-4
ii python2.7 2.7.3~rc2-2.1
Versions of packages python-debian recommends:
ii python-apt 0.8.4
Versions of packages python-debian suggests:
ii gpgv 1.4.12-4
-- no debconf information
Footnotes:
[1] http://bugs.debian.org/656622#15
--
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20120509/239e3017/attachment.pgp>
More information about the pkg-python-debian-maint
mailing list