Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1070385
| From | gregor herrmann <gregoa@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way |
| Date | 2021-09-08 18:00 +0200 |
| Message-ID | <CV89r-3TE-3@gated-at.bofh.it> (permalink) |
| References | (6 earlier) <BiwqJ-6sF-1@gated-at.bofh.it> <AANbX-21b-15@gated-at.bofh.it> <CUTWN-2Qd-1@gated-at.bofh.it> <AANbX-21b-15@gated-at.bofh.it> <CUTWN-2Qd-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Tue, 07 Sep 2021 17:40:03 -0700, Felix Lechner wrote:
> As a courtesy to this package (and to the policy team) Lintian now
> ships an executable "/usr/share/lintian/private/latest-policy-version"
> that provides the latest policy information. [3] Please use that
> executable to obtain the information you require.
Implemented in git, but not uploaded because
- I'd appreciate review from dod
- and I discovered a wrinkle:
The old /usr/share/lintian/data/standards-version/release-dates had
| 4.5.1 1605571543
| 4.5.0 1579549029
| 4.4.1 1569780709
| …
i.e. only the 3-digit "main" policy releases which are relevant for
Standards-Version.
The new /usr/share/lintian/data/debian-policy/releases.json has
sections for all releases, including minor ones, in 4-digit notation:
| {
| "author" : "Sean Whitton <spwhitton@spwhitton.name>",
| "changes" : [
| "",
| "debian-policy (4.6.0.1) unstable; urgency=medium",
| "",
| " * Fix header of upgrading checklist entry for last release (Closes: #992414).",
| " Thanks to Scott Talbert and Drew Parsons for reporting the problem."
| ],
| "closes" : [
| 992414.0
| ],
| "epoch" : 1629318110,
| "timestamp" : "2021-08-18T20:21:50Z",
| "version" : "4.6.0.1"
| },
and /usr/share/lintian/private/latest-policy-version also outputs
4.6.0.1.
This leads to
| Config::Model::Value::show_warnings Warning in 'source Standards-Version': Current standards version is '4.6.0.1'. Please read https://www.debian.org/doc/debian-policy/upgrading-checklist.html for the changes that may be needed on your package to upgrade it from standard version '4.6.0' to '4.6.0.1'.
|
| Offending value: '4.6.0' (line 1263)
|
| Changes applied to dpkg-control configuration:
| - source Standards-Version: '4.6.0' -> '4.6.0.1' # applied fix for :Current standards version is '4.6.0.1'. Please read https://www.debian.org/doc/debian-policy/upgrading-checklist.html for the changes that may be needed on your package to upgrade it from standard version '4.6.0' to '4.6.0.1'.
which is not we want …
Now of course we can strip off the fourth level ourselves but I'm wondering
- if /usr/share/lintian/data/debian-policy/releases.json needs to be
more precise than /usr/share/lintian/data/standards-version/release-dates
(I guess having more information there is a feature)
or
- if /usr/share/lintian/private/latest-policy-version should do the
stripping (i.e. output "4.6.0" currently) as this is the actual
relevant Standards-Version.
Alright, for now I've added the stripping as that's probably faster
than waiting for a new lintian release …
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
`-
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way Felix Lechner <felix.lechner@lease-up.com> - 2021-09-08 02:50 +0200
Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way gregor herrmann <gregoa@debian.org> - 2021-09-08 18:00 +0200
Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way Felix Lechner <felix.lechner@lease-up.com> - 2021-09-08 18:40 +0200
Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way Dominique Dumont <dod@debian.org> - 2021-09-08 19:00 +0200
Bug#968000: libconfig-model-dpkg-perl: Get policy release dates in another way gregor herrmann <gregoa@debian.org> - 2021-09-08 20:50 +0200
csiph-web