Commit 9904e258 from Andrius Merkys updated the archive sections at the time of writing, but the process should be automated. Lintian does not presently utilize any network resources, and while that may change in the future, it would be the wrong way forward. It makes no sense for Lintian to query the archive for valid sections for every invocation. Ideally, the file from FTP Master that is described below would be packaged and backported as needed. It is probably not updated often. I asked Ganneff about this on #debian-ftp but have not heard back. Maybe it could also be packaged together with other Debian data, such as policy versions, which are being worked on in this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968154#52 Packaging such data for Debian is also found in other areas, for example in 'dns-root-data'. An alternative would be update ./data in our repo for each new release, but that data remains static for each release. We keep scripts for such updates in ./private. Contributions are welcome. Kind regards Felix Lechner [DROPPED GPG SIGNATURE] Hi yesterday I created two new sections, one for go (#847520) and one for raku (#816693) (AKA perl6). And while I was on it, I followed the suggestion from #739934 and created a file that contains a dump of all sections known to the archive, together with their short and long descriptions. The initial value of those descriptions has been taken from the packages.debian.org code, so should be something well known and used. That file is in the 822 format, with stanzas with 3 keys each, Section, Description and Longdesc, like - --8<---------------cut here---------------start------------->8--- Section: tex Description: TeX Longdesc: The famous typesetting software and related programs. Section: text Description: Text Processing Longdesc: Utilities to format and print text documents. - --8<---------------cut here---------------end--------------->8--- This file is now available from https://metadata.ftp-master.debian.org/sections.822 and will automatically be kept in sync with the archive. - -- bye, Joerg
Hello, I agree. I completely support packaging sections.822 into some data package so as lintian and possibly other tools could read it without using network. If packaging sections.822 is not an option, this alternative could work. I used the following command in 9904e258: curl -sSL https://metadata.ftp-master.debian.org/sections.822 \ | grep ^Section: | cut -d ' ' -f 2 | grep -v / \ | sort > data/fields/archive-sections Best, Andrius
Hello, Bug #973308 in lintian reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/lintian/lintian/-/commit/70e887c6a66857a24c19c1ea538f228e7c8134df ------------------------------------------------------------------------ Automate importing of Debian archive sections private/refresh-data now also updates data/fields/archive-sections based on https://metadata.ftp-master.debian.org/sections.822 Also remove the "manually maintained" boilerplate in data/fields/archive-sections. (Actually automatically removed by calling private/refresh-data. No other changes in there.) Also update Lintian::Check::Fields::Section to use Lintian::Data::Archive::Section instead of loading the data file as generic keyword file. Closes: #973308 Code loosely based on Lintian::Data::Archive::AutoRejection. Thanks: Andrius Merkys ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/973308
We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 973308@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Axel Beckert <abe@debian.org> (supplier of updated lintian package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 29 Jun 2022 02:56:42 +0200
Source: lintian
Architecture: source
Version: 2.115.2
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Axel Beckert <abe@debian.org>
Closes: 880701 970275 973308 1000610 1009679
Changes:
lintian (2.115.2) unstable; urgency=medium
.
The "FFP (Fixing False Positives)" Release.
.
[ Axel Beckert ]
* Automate importing of Debian archive sections. Thanks to Andrius
Merkys. (Closes: #973308)
* Make more testsuite scripts being able to simply run under "prove -l".
* Move libio-prompt-tiny-perl dependency to debian/tests/control.
Cherry-picked from Ubuntu's patches. (LP: #1959004)
* Recognise Mac OS X icons (.icns), SQLite files (.sqlite and .sqlite3)
and PDF (.pdf) documents as binary files.
* Allow HTML files in /usr/share/gtk-doc/html/. (Closes: #970275)
Thanks to Simon McVittie, Daniel Kahn Gillmor and Unit193!
* Refresh (fonts) data.
* Also check dh level for missing-build-dependency-for-dh-addon, not
just for missing-build-dependency-for-dh_-command. (Closes: #1000610)
* Retroactively mention commit fcaded19 in debian/changelog entry of
2.115.0 as it was erroneously marked with "Gbp-Dch: Ignore".
.
[ Guillem Jover ]
* data/fields/name_section_mappings: Add golang section (Closes:
#880701)
.
[ Rafael Laboissière ]
* Ignore files /var/lib/ocaml/lintian/*.info in test for
package-contains-documentation-outside-usr-share-doc (Closes:
#1009679)
Checksums-Sha1:
b6b0f356af7c4f2fde6704b2645bb1e8e66f46aa 2527 lintian_2.115.2.dsc
78291a7d273ceef96d4054c30c6e7a36ced69cb4 2172236 lintian_2.115.2.tar.xz
e74297bb86e37eefdcc39e1d53a2e52c2d6b9483 7274 lintian_2.115.2_source.buildinfo
Checksums-Sha256:
ec69580b137d693f6171f8c933dffb2a864d1523cbeac94d8e993afddc9292af 2527 lintian_2.115.2.dsc
72b3a8dff27694833464e768c72e7b6c42d94eb0c4d6e2219a981a0d87ed6487 2172236 lintian_2.115.2.tar.xz
bee46d1a5e920d55a6ea90ba1e51a906ef3b8d837377ab32f5d1a974c32daee2 7274 lintian_2.115.2_source.buildinfo
Files:
ad1485028953dbc87a240e7363e019ee 2527 devel optional lintian_2.115.2.dsc
4fe4bbf3dba9e70a2a54462f628edafd 2172236 devel optional lintian_2.115.2.tar.xz
b78fce3c630611164b9638e3a03860fa 7274 devel optional lintian_2.115.2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAmK7pSsACgkQa+Zjx1o1
yXV9ThAAqvrlWCu3kNBnTzz/3u1A0bgeMJAJ0hBGe4TgAZ709EMHcJurI/to9UXw
1SYRnS0+F5C0YTL48R/9UiyV8kBUIEntPzQwuUUNEa2j9LkjwnHKcoFhvVGY9oSg
BAfyOip+wtDcA/z6ZuUAXrnrZLlzOdPHbR34l09NYXzwdtXvtM68wQ6Y+ZHYVa3w
rSc5Y0QXvVg99NbkERxhRcuLbe6fRd0bkRiruFz5x56ShMUzMvsQGp7sKgOoaAqy
CpnY/2J6wOa6poBAN+JxOVltHia253Qnacj3C020lNIF3l5cerxFVyQr5zRf655c
duhe+6SQuhSn+4LXd1tUneaepR4N6WQ1CIFCbzhB+5McmdE75hRyG5rzQoTM9NPX
ZJXxbewPkLQzcEG2wrxD/udcbpntPZ5AHpDgkVFKNzGrougNr9GuOtDOLxIj7ntE
4eCVbinB2STSh07Fz+HtVumSDVGpCBBkbSs1+YGmpXGQtc0sVnhI2Ww8cwTVwVIH
wVnR0SFBTDvgqnlaUiQeBjAxKtyY6kAe3Ih2/du4aQhwARLrumAEH9WRo7iafBl6
CfC6BTCjoObdFdHI2F7tqK9VO2N1GbqiHJ/5SvrZoWhWEr2gf4bkniB003au0P8Z
Cujnb8HAPWC+mziPOc7t47aFx1g4d/HYUwJpXTzMJpS3VbRGTTs=
=F0D8
-----END PGP SIGNATURE-----