On Mon, 09 Dec 2019 11:03:40 +0000, Jelmer Vernooij wrote:

> > - - The perl YAML libraries we use add "---\n" at the top of the file,
> >   which the used Python libraries in lintian-brush apparently don't
> >   do. No idea what is more correct or if it matters at all; I just
> >   noted that the removal of the line adds some noise.
> I've noticed that as well. :-/ The Python YAML library that
> lintian-brush is using claims to support roundtrip loading/dumping of
> YAML files, but that has proven to be only partially true.
> 
> I've committed a fix to have lintian-brush at least preserve the
> directives above each YAML document, which should reduce the size of
> the diff.

Sounds good, thank you.
 
> > - - Sometimes when Contact and Name are removed, all that's left in our
> >   files is "Archive: CPAN" which is no so helpful. In those cases I
> >   just removed debian/upstream/metadata completely. Not sure if 
> > lintian-brush
> >   should do the same or if I should stop removing it or something
> >   else :)
> > - - Similarly, if lintian-brush creates debian/upstream/metadata for a
> >   perl package, it might add "Archive: CPAN" (not that we use it but
> >   the Archive field exists …).
> Agreed, it seems sensible to just remove the file in that case.

Cool, thanks.
 
> > - - The URLs lintian-brush finds in META.{json,yml} sometimes have room
> >   for improvement; in our tools [0] we e.g. fix github URLs to use
> >   https etc. It would be nice if lintian-brush could also learn some
> >   of these tricks.
> This behaviour should be present in newer versions of lintian-brush
> (>= 0.44). Some of the merge requests that you've seen may still have
> non-canonical URLs if they were generated with older versions of
> lintian-brush. I'll trigger a re-run for all perl packages with the
> current version.

Ah, that's great news.

Thanks for all your work on lintian-brush and the Janitor!


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Bob Dylan: Spirit On The Water

Attachment: signature.asc
Description: Digital Signature

Reply via email to