Bug#721832: libconfig-model-dpkg-perl: Whitespace issues after "cme fix dpkg" and "cme fix dpkg-copyright" usage

Axel Beckert abe at debian.org
Wed Sep 4 13:00:43 UTC 2013


Package: libconfig-model-dpkg-perl
Severity: minor
Version:: 2.038

Hi Dominique,

Dominique Dumont wrote:
> On Wednesday 04 September 2013 12:16:38 Axel Beckert wrote:
> > That would be great. I'm though not sure if this is an issue in
> > libconfig-model-perl or libconfig-model-dpkg-perl.
> 
> The issue is most probably in Dpkg backend writer, i.e. in the code that 
> writes back copyright file in libconfig-model-dpkg-perl.

Ok, filing a bug against that package then.

> > If you want I can write a bug report. But I'd be happy to know against
> > which package beforehand.
> 
> Please do and be sure to include the examples you mentioned in your mail. This 
> way, I won't forget these details.

Here it comes:

gregor herrmann wrote:
> cme fix dpkg also adds a trailing newline to debian/control.

I wrote (slightly modified since I found a relevant typo):
> Yeah, trailing newlines in debian/copyright was one of the fixes in the
> mass-commit I could automate. :-)
> 
> The other issue popped up on fields which started with a continuation
> line (or were empty at all), e.g.
> 
> ---snip---
> Copyright:
>  (C) 2012 Foo Bar
>  (C) 2013 Hurli Puh
> ---snap---
> 
> became
> 
> ---snip---
> Copyright:_
>  (C) 2012 Foo Bar
>  (C) 2013 Hurli Puh
> ---snap---
> 
> (Underscore instead of whitespace used to show the additional
> whitespace. Also happened with other fields, e.g. Comment or License.)
> 
> Similar (possibly the same bug) for these cases where fields where
> empty:
> 
> ---snip---
> Copyright:
> License:
> ---snap---
> 
> became
> 
> ---snip---
> Copyright:_
> License:_
> ---snap---
> 
> (I though hopefully have fixed all of those cases in our repos by
> adding proper contents. But fixing it in cme is of course still
> appreciated. :-)

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



More information about the pkg-perl-maintainers mailing list