Bug#849500: libconfig-model-dpkg-perl: improper handling of comments

Afif Elghraoui afif at debian.org
Wed Dec 28 21:30:51 UTC 2016


على الأربعاء 28 كانون الأول 2016 ‫01:44، كتب Dominique Dumont:
> On Tuesday, 27 December 2016 13:59:40 CET you wrote:
>> I'm not a cme user, but I've seen as part of team uploads in my packages
>> before that comments in debian/control are moved away from the lines
>> they refer to in the process of reorganization (and inadvertently committed
>> without being checked).
> 
> Could you provide an example of such a control file ?

See:
https://anonscm.debian.org/git/debian-med/python-bx.git/tree/debian/control

Here is an example of an inadvertent commit of changes:

https://anonscm.debian.org/git/debian-med/canu.git/commit/?id=fb82bd7c6e4d1462ec1bf22747ab61107c6e73d3

> 
>>  cme does not handle comments properly: either their relative position
>> to the lines they refer to should be preserved, 
> 
> I'll see what I can do.
> 
>> or they should be removed
>> altogether.
> 
> I can certainly add an option to cme to remove comments. Would that be 
> helpful?

Well, not to me. I'm of the opinion that if the debian/control format
supports comments, other tools shouldn't consider them illegal.

Many thanks and regards
Afif

-- 
Afif Elghraoui | عفيف الغراوي
http://afif.ghraoui.name



More information about the pkg-perl-maintainers mailing list