Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#685646: Please advise a reliable version scheme for {stable,testing}{,-security}

2 views
Skip to first unread message

David Prévot

unread,
Aug 22, 2012, 6:10:02 PM8/22/12
to
Package: developers-reference
Version: 3.4.9
Severity: normal
Tags: patch

Hi,

As discussed on #d-release, the version scheme advice could be improved,
so should the distribution declared in changelog, for the testing and
{old,}stable upload (including the -security ones), in order to have
only one scheme to rule them all.

The attached patch tries to address the version scheme part, updating
the nmu-changelog part — second hunk of the diff — (maybe this part
could be move in a less NMU-centric part of the doc), and advise to use
the distribution name in changelog instead of {oldstable,stable,testing}
in the two other hunks. English should probably be improved, and more
invasive change to avoid the stable, stable-update,
stable-proposed-update and stable-security advised in the text, but
-release and -security are X-CCed to either ACK the proposal or reword
it first.

Extract of the IRC log:

15:27 < KiBi> do we prefer 0.8.0~rc1-8.1 or 0.8.0~rc1-8+wheezy1 for an
NMU to tpu?
15:27 < adsb> I'd tend towards +wheezy1. I'd unblock either though
15:27 < KiBi> me too. ta
[…]
15:31 < KiBi> Oops I forgot again: do we prefer testing,
testing-proposed-updates, or the respective codenamish counterparts?
15:31 < KiBi> I think one wins by a slight margin, but..
[…]
15:58 < taffit> KiBi: Should I better go with 0.8.0~rc1-8wheezy1
(without “+”)? If “+” is better, I can propose a patch to the dev-ref.
(Tell me if you prefer testing-proposed-updates too).
15:59 < adsb> + is nicer, because it sorts above binNMUs (until we name
a release starting with "a", anyway)
[…]
16:16 < phil> adsb: Shouldn't we go with the new version scheme now?
16:16 < phil> Instead of establishing +wheezy precedents. (Yeah, they
probably exist already.)
16:17 < adsb> phil: point. need to get my brain trained to remember
that scheme
16:17 < phil> If you upload a package to testing or stable, you
sometimes need to "fork" the version number tree. This is the case for
security uploads, for example. For this, a version of the form +debXYuZ
should be used, where X and Y are the major and minor release numbers,
and Z is a counter starting at 1.
16:17 < phil> That's the right devref bit.
[…]
16:19 < _rene_> ugh, deb70u1?
16:19 < phil> And yes the "nmu-changelog" sucks as a section title.
[…]
16:28 < adsb> iirc we were debating getting it changed to drop the 0,
given that the minor will always be 0
16:28 < adsb> phil: any strong preference, before we create precedent?
:)
16:29 < phil> I wouldn't mind +deb7u1. +deb8something would sort higher
anyway. Just +deb7Z with Z being the counter would've been weird.
[…]
16:30 < taffit> couldn't the 0 be a one for a new kernel (à la
etch_and_a_half)?
[…]
16:31 < adsb> I'm not sure if we'd do a -nhalf again; we're more liberal
about what we accept in terms of kernel changes for hardware etc now
[…]
16:32 < adsb> it's only as binding as we make it, in any case
16:32 < adsb> I prefer +deb7u1 from an aesthetic pov, fwiw
16:33 < phil> Then that's what it is.
16:33 < adsb> the version number discussion in the tpu section should
probably just go away and be replaced by a pointer to the other one
16:33 < phil> But we should tell $security.
16:33 < adsb> and of course jmm's not here
16:34 < adsb> will mail
[…]
16:37 < taffit> +deb7u1 for an NMU, and +wheezy1 for a maintainer
upload?
16:37 < taffit> (that would be weird to I guess)
16:37 < phil> Nope, the former for both.
16:38 < adsb> for stable we don't really care whether it's an NMU,
security update or MU via p-u. it's just a stable update

[ Back to testing vs. codename ]

16:41 < adsb> KiBi: taffit: fwiw, at least until I change my mind I'd
say $c > $c-p-u > t > tpu
[…]
16:44 < adsb> using the codename everywhere would have saved a bit of
pain with e.g. security updates which were prepared for lenny-as-stable
but not published until after the squeeze release for some reason; there
were a few of those that had to be rebuilt just to change the
distribution if my memory isn't entirely failing me
[…]
16:46 < adsb> at least the multi-archive changes mean the upload
signature is now only checked once, so the key expiry foo goes away


Regards

David

-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

developers-reference depends on no packages.

Versions of packages developers-reference recommends:
ii debian-policy 3.9.3.1

Versions of packages developers-reference suggests:
ii doc-base 0.10.4

-- no debconf information
versions.patch

Charles Plessy

unread,
Aug 22, 2012, 7:10:02 PM8/22/12
to
Le Wed, Aug 22, 2012 at 06:01:48PM -0400, David Prévot a écrit :
>
> The attached patch tries to address the version scheme part, updating
> the nmu-changelog part — second hunk of the diff — (maybe this part
> could be move in a less NMU-centric part of the doc), and advise to use
> the distribution name in changelog instead of {oldstable,stable,testing}
> in the two other hunks. English should probably be improved, and more
> invasive change to avoid the stable, stable-update,
> stable-proposed-update and stable-security advised in the text, but
> -release and -security are X-CCed to either ACK the proposal or reword
> it first.

Hello everybody,

please coordinate that work with http://bugs.debian.org/542288,
that opens similar questions for the Debian policy.

Have a nice day,

--
Charles Plessy
Tookamachi, Niigata, Japan


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Julien Cristau

unread,
May 12, 2013, 10:30:02 AM5/12/13
to
On Wed, Aug 22, 2012 at 18:01:48 -0400, David Prévot wrote:

> As discussed on #d-release, the version scheme advice could be improved,
> so should the distribution declared in changelog, for the testing and
> {old,}stable upload (including the -security ones), in order to have
> only one scheme to rule them all.
>
> The attached patch tries to address the version scheme part, updating
> the nmu-changelog part — second hunk of the diff — (maybe this part
> could be move in a less NMU-centric part of the doc), and advise to use
> the distribution name in changelog instead of {oldstable,stable,testing}
> in the two other hunks. English should probably be improved, and more
> invasive change to avoid the stable, stable-update,
> stable-proposed-update and stable-security advised in the text, but
> -release and -security are X-CCed to either ACK the proposal or reword
> it first.
>
I'm not clear on why the description of how to version uploads to stable
or testing is in the NMU section, instead of in either upload-stable or
t-p-u. It seems slightly out of place in nmu-changelog.

Cheers,
Julien
signature.asc
0 new messages