Hi Jelmer,

Am Sat, Feb 21, 2026 at 02:32:24PM +0000 schrieb Jelmer Vernooij:
> If you have specific examples, that would be very helpful.

Any Debian Med package might do.  I usually take the first one in alphabet
as example.

  $ gbp clone salsa:med-team/abacas
  $ lintian-brush
  $ git show
commit 146d07f6f06ca25401b09cf2cf81a541ee3b5535 (HEAD -> master)
Author: Andreas Tille <[email protected]>
Date:   Sat Feb 21 17:36:31 2026 +0100

    Remove duplicate values for fields Entry, Entry, Name in 
debian/upstream/metadata.
    
    Changes-By: lintian-brush
    Fixes: lintian: upstream-metadata-yaml-invalid
    See-also: 
https://lintian.debian.org/tags/upstream-metadata-yaml-invalid.html

diff --git a/debian/changelog b/debian/changelog
index e9f6ea5..5c17215 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ abacas (1.3.1-10) UNRELEASED; urgency=low
   * Use secure URI in Homepage field.
   * Update standards version to 4.6.2, no changes needed.
   * Set upstream metadata fields: Archive.
+  * Remove duplicate values for fields Entry, Entry, Name in
+    debian/upstream/metadata.
 
  -- Andreas Tille <[email protected]>  Sat, 21 Feb 2026 16:36:28 +0000
 
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
index 53f9b60..0cb408c 100644
--- a/debian/upstream/metadata
+++ b/debian/upstream/metadata
@@ -1,23 +1,20 @@
 Archive: SourceForge
 Reference:
-  Author: >
-    Samuel Assefa and Thomas M. Keane and Thomas D. Otto and Chris
-    Newbold and Matthew Berriman
-  Title: "ABACAS: algorithm-based automatic contiguation of assembled 
sequences"
-  Journal: Bioinformatics
-  Year: 2009
-  Volume: 25
-  Number: 15
-  Pages: 1968-1969
-  DOI: 10.1093/bioinformatics/btp347
-  PMID: 19497936
-  URL: http://bioinformatics.oxfordjournals.org/content/25/15/1968
-  eprint: "http://bioinformatics.oxfordjournals.org/content/\
-    25/15/1968.full.pdf+html"
+ Author: >
+ Samuel Assefa and Thomas M. Keane and Thomas D. Otto and Chris:
+  Newbold and Matthew Berriman:
+   Title: ABACAS: algorithm-based automatic contiguation of assembled sequences
+   Journal: Bioinformatics
+   Year: 2009
+   Volume: 25
+   Number: 15
+   Pages: 1968-1969
+   DOI: 10.1093/bioinformatics/btp347
+   PMID: 19497936
+   URL: http://bioinformatics.oxfordjournals.org/content/25/15/1968
+   eprint: http://bioinformatics.oxfordjournals.org/content/\
+    25/15/1968.full.pdf+html
 Registry:
-  - Name: bio.tools
-    Entry: NA
-  - Name: OMICtools
-    Entry: OMICS_06933
-  - Name: SciCrunch
-    Entry: NA
+- Name: bio.tools
+Entry: NA
+Name: OMICtools


Both changes (Reference and Registry) are broken.
 
> I'm about to switch to a better parser for YAML files, so hopefully that will 
> fix the issues you are seeing. But it would be good to have some test cases 
> to verify that the new parser works correctly.

Thank you anyway for all your work - specifically for the quick response

    Andreas.
 
> Cheers,
> 
> Jelmer
> 
> On Sat, Feb 21, 2026 at 12:30:52PM +0100, Andreas Tille wrote:
> > Package: lintian-brush
> > Version: 0.167
> > Severity: normal
> > 
> > Hi Jelmer,
> > 
> > I'm using lintian-brush nearly before any upload of my packages.
> > Recently I realised that it messes up Publication and Registry entries a
> > lot to make them either unusable (JSON sytnax becomes broken) or is
> > loosing a lot of information.  I would be happy if we could switch back
> > to some more conservative handling of these fields or rather do not
> > touch these.
> > 
> > I could assemble some specific examples if this might be helpful, thought
> > 
> > Thank you for lintian-brush anyway
> >   Andreas.
> > 
> > -- System Information:
> > Debian Release: forky/sid
> >  APT prefers unstable
> >  APT policy: (500, 'unstable'), (500, 'testing'), (50, 'buildd-unstable'), 
> > (1, 'experimental')
> > Architecture: amd64 (x86_64)
> > 
> > Kernel: Linux 6.18.12+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
> > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE 
> > not set
> > Shell: /bin/sh linked to /usr/bin/dash
> > Init: systemd (via /run/systemd/system)
> > LSM: AppArmor: enabled
> > 
> > Versions of packages lintian-brush depends on:
> > ii  devscripts      2.26.5
> > ii  libc6           2.42-13
> > ii  libgcc-s1       15.2.0-13
> > ii  libgmp10        2:6.3.0+dfsg-5+b1
> > ii  libhogweed6t64  3.10.2-1
> > ii  liblzma5        5.8.2-2
> > ii  libnettle8t64   3.10.2-1
> > ii  libpython3.13   3.13.12-1
> > ii  libssl3t64      3.5.5-1
> > ii  python3-breezy  3.3.21-1
> > 
> > Versions of packages lintian-brush recommends:
> > ii  debhelper  13.30
> > ii  decopy     0.2.4.9-0.1
> > ii  dos2unix   7.5.2-1
> > ii  gpg        2.4.8-5
> > ii  lintian    2.129.0
> > 
> > Versions of packages lintian-brush suggests:
> > ii  brz-debian         2.8.80
> > ii  git-buildpackage   0.9.39
> > ii  po-debconf         1.0.22
> > ii  postgresql-common  289
> > 
> > -- no debconf information
> 

-- 
https://fam-tille.de

Reply via email to