This will rename the binary package to 'signify-mail', as suggested in[...]
the first bug report above, and add a 'signify (<< 1.14-8~)' Replaces
header.
Is anything more required here?
On Sat, 2024-10-05 at 12:31 +0200, Simon Josefsson wrote:
[...]
This will rename the binary package to 'signify-mail', as suggested in[...]
the first bug report above, and add a 'signify (<< 1.14-8~)' Replaces
header.
Is anything more required here?
Yes, I think you should also rename the source package signify.
Debbugs doesn't always properly distinguish source and binary package
names. This goes badly when there are a source and binary package of
the same name, but the binary package is built by a different source
package.
And of course, a situation like that is also confusing to humans.
Ben Hutchings <ben@decadent.org.uk> writes:
On Sat, 2024-10-05 at 12:31 +0200, Simon Josefsson wrote:
[...]
This will rename the binary package to 'signify-mail', as suggested in the first bug report above, and add a 'signify (<< 1.14-8~)' Replaces header.
Is anything more required here?[...]
Yes, I think you should also rename the source package signify.
I think that would be nice from a human namespace perspective but I
don't know if Debian have any documented process for doing that.
Can
anyone find a pointer to relevant documentation? What is the process?
Upload 'signify' to NEW again as 'signify-mail', and then ask for
removal of the 'signify'? Can the source package name then be re-used
by 'signify-openbsd'?
Or is there a rename operation policy, asking for
'signify' to be renamed to 'signify-mail', and 'signify-openbsd' renamed
to 'signify'?
Doing renames is confusing for a long-term perspective,[...]
how is that piece of meta-information recorded and where? Is there any earlier examples of a source package rename?
On Sat, 2024-10-05 at 20:15 +0200, Simon Josefsson wrote:
Ben Hutchings <ben@decadent.org.uk> writes:
On Sat, 2024-10-05 at 12:31 +0200, Simon Josefsson wrote:
[...]
This will rename the binary package to 'signify-mail', as suggested in >> > > the first bug report above, and add a 'signify (<< 1.14-8~)' Replaces[...]
header.
Is anything more required here?
Yes, I think you should also rename the source package signify.
I think that would be nice from a human namespace perspective but I
don't know if Debian have any documented process for doing that.
I am not aware of one.
Can
anyone find a pointer to relevant documentation? What is the process?
Upload 'signify' to NEW again as 'signify-mail', and then ask for
removal of the 'signify'? Can the source package name then be re-used
by 'signify-openbsd'?
I believe that should work. You would also ask for removal of the 'signify-openbsd' source package at the end of the process.
Or is there a rename operation policy, asking for
'signify' to be renamed to 'signify-mail', and 'signify-openbsd' renamed
to 'signify'?
I'm fairly sure there's no support for this in Debian infrastructure
(dak or debbugs).
Doing renames is confusing for a long-term perspective,[...]
how is that piece of meta-information recorded and where? Is there any
earlier examples of a source package rename?
It's recorded in the changelog and, so far as I know, nowhere else.
In 2012 the linux-2.6 source package was renamed to linux. It had to
go through NEW, but that was needed for every ABI bump anyway. We had
to track bugs against both source package names for several years
(until EOL of the last release with linux-2.6).
On Oct 05, Simon Josefsson <simon@josefsson.org> wrote:
I would like that 'apt install signify' install OpenBSD's signify (fromAgreed: the current signify package is a niche tool maintained by QA and
the Debian 'signify-openbsd' package) and not the 2003 mail-related
signify perl script from the Debian 'signify' source package.
last updated upstream in 2004: it should be renamed without wasting any
more time.
To make this happen for trixie, I don't see how to do it. Anyone havingNo: popcon == 58.
the old 'signify' package on their system would get OpenBSD's signify
instead of the new 'signify-mail' package after an upgrade. Is that
problem really worth caring about?
I agree in principle, but I wonder if going through the effort of[...]
introducing a new source package 'signify-mail' and removing the current 'signify' will give us anything beyond doing the QA package upload to
rename the binary package.
The only advantage I can identify seems to be if the 'signify-openbsd'
source package would then be able to be renamed to 'signify'. But is
that possible? Are there any earlier examples of re-use of the same
source package name, but for a different package? The linux-2.6 vs
linux analogy is not identical, it is the same source package and there
were no source package namespace re-use happening.
If you do not rename signify(src) to signify-mail(src) the bts might mix
up bugs against signify(bin) from signify-openbsd(src) with bugs against
the source package signify.
Renaming signify-openbsd(src) to signify(src) was *not* suggested.
On 2024-10-06 Simon Josefsson <simon@josefsson.org> wrote:
[...]
I agree in principle, but I wonder if going through the effort of introducing a new source package 'signify-mail' and removing the current 'signify' will give us anything beyond doing the QA package upload to rename the binary package.
The only advantage I can identify seems to be if the 'signify-openbsd' source package would then be able to be renamed to 'signify'. But is[...]
that possible? Are there any earlier examples of re-use of the same
source package name, but for a different package? The linux-2.6 vs
linux analogy is not identical, it is the same source package and there were no source package namespace re-use happening.
Hello Simon,
Afaiu Ben gave the rationale in his initial mail:
Yes, I think you should also rename the source package signify
Debbugs doesn't always properly distinguish source and binary package names. This goes badly when there are a source and binary package of
the same name, but the binary package is built by a different source package.
If you do not rename signify(src) to signify-mail(src) the bts might mix
up bugs against signify(bin) from signify-openbsd(src) with bugs against
the source package signify.
Renaming signify-openbsd(src) to signify(src) was *not* suggested.
I agree in principle, but I wonder if going through the effort of[...]
introducing a new source package 'signify-mail' and removing the current 'signify' will give us anything beyond doing the QA package upload to
rename the binary package.
The only advantage I can identify seems to be if the 'signify-openbsd'
source package would then be able to be renamed to 'signify'. But is
that possible? Are there any earlier examples of re-use of the same
source package name, but for a different package?
If you do not rename signify(src) to signify-mail(src) the bts might mix
up bugs against signify(bin) from signify-openbsd(src) with bugs against
the source package signify.
I'm fairly sure there's no support for this in Debian infrastructure
(dak or debbugs).
I also see trouble in the archive when we have old signify in older distributions and new signify in unstable and testing. Without having
any technical justification for that, I would probably go ahead to
rename signify to signify-mail, leaving signify-openbsd named that way
until the old signify source package has aged out of the archive
completely and was moved to archive.d.o.
On 10/7/24 16:58, Marc Haber wrote:
I also see trouble in the archive when we have old signify in older
distributions and new signify in unstable and testing. Without having
any technical justification for that, I would probably go ahead to
rename signify to signify-mail, leaving signify-openbsd named that way
until the old signify source package has aged out of the archive
completely and was moved to archive.d.o.
The correct approach is one release with a transitional package, pulling
the new package in, and one release with the name unused (so the
transitional package is listed in Obsolete/Local).
The correct approach is one release with a transitional package, pulling the new package in, and one release with the name unused (so the transitional package is listed in Obsolete/Local).
The release without the package also makes sure that any archive version constraints (oldstable < stable, stable < testing, testing < unstable) are satisfied even if testing < oldstable.
trixie:
remove old src: signify
single source upload:
src: signify -> signify-mail
binary: signify -> signify-mail
new signify as transitional
unversioned Depends: signify-mail
trixie+1:
remove transitional binary signify
trixie+2:
rename binary signify-openbsd -> signify
Is the following necessary?
versioned Conflicts: signify <= version of transitional signify in trixie
version of this signify must be > version of old transitional pkg
I believe that renaming the source from signify-openbsd to signify has
very little benefit. What most users are going to see is the binary
package. Anyone searching for the source package generally has enough knowledge of Debian to find the correct source. Leaving the source name clearly distinguishes it from the old source.
On 10/7/24 21:43, Marvin Renich wrote:
trixie:
remove old src: signify
yes.
single source upload:
src: signify -> signify-mail
binary: signify -> signify-mail
new signify as transitional
unversioned Depends: signify-mail
yes.
trixie+1:
remove transitional binary signify
yes.
trixie+2:
rename binary signify-openbsd -> signify
Is the following necessary?
versioned Conflicts: signify <= version of transitional signify in trixie
no, because the new package has the same name as the old transitional
package and thus implicitly conflicts, also the old package should not be installed anymore.
version of this signify must be > version of old transitional pkg
not strictly necessary (that's why we leave one release gap in between).
1) Take current non-OpenBSD 'signify' source package and upload NEW 'signify-mail' with d/control modified as:
Source: signify-mail
...
Package: signify-mail
Replaces: signify (<= 1.14-7)
Do we need 'Breaks: signify (<= 1.14-7)' too? Conflicts?
2) Once 'signify-mail' has entered testing, open a ftp.debian.org RM bug
for 'signify' to get the binary packages removed from testing.
3) Open a wishlist bug for 'signify-openbsd' with a patch to provide a 'Package: signify' that has /usr/bin/signify and to add:
Conflicts: signify (<= 1.14-7), signify-mail
Is a similar Breaks needed too?
The 'signify-openbsd' binary package should be left around as a empty
dummy package for transitions to the new 'signify' binary package.
Hi
On 08-10-2024 09:01, Simon Josefsson wrote:
3) Open a wishlist bug for 'signify-openbsd' with a patch to provide a
'Package: signify' that has /usr/bin/signify and to add:
Do I understand correctly that signify-mail will also provide a /usr/bin/signify?
That's not allowed if the binaries have different functionality [1],
not even if the packages conflict. So apart from the name of the
packages, also the path needs to adapted.
P.S.: Isnt it about time to rename exim4 to exim?
x) Take current non-OpenBSD 'signify' source package and upload NEW 'signify-mail' package, say version 1.14-8 (?), that provides /usr/bin/signify-mail instead of /usr/bin/signify, and has d/control:
Source: signify-mail
...
Package: signify-mail
Replaces: signify (<= 1.14-7)
Conflicts: signify (<= 1.14-7)
Package: signify
Depends: signify-mail
Breaks: signify (<= 1.14-7)
Replaces: signify (<= 1.14-7)
Provides: signify
x) Normal archive cleanup should remove the old 'signify' package. If
this doesn't happen, once 'signify-mail' has entered testing, open a ftp.debian.org RM bug for the old package 'signify' to get the binary packages removed from unstable.
x) File a wishlist bug for 'signify-openbsd' (with patch) to ALSO
provide /usr/bin/signify (hardlink?), and to add a:
Conflicts: signify (<= 1.14-7)
Could it be a 'Conflicts: signify' to get the transitional dummy package removed after installing 'signify-openbsd'? Or does that just break upgrades?
x) File a bug to suggest a trixie release note saying that the
non-OpenBSD 'signify' package has been rename to 'signify-mail', and
provides /usr/bin/signify-mail instead.
x) Open a bug for 'signify-mail' to say that the transitional package
should be removed in trixie+1.
x) Open a wishlist bug for 'signify-openbsd' (with patch) to track that
in trixie+1 (+2?) it should provide a 'Package: signify' that has /usr/bin/signify and to add:
Conflicts: signify (<= 1.14-7)
Replaces: signify (<= 1.14-7)
The 'signify-openbsd' binary package should be left around as a empty
dummy package for transitions to the new 'signify' binary package:
Package: signify-openbsd
Depends: signify
Breaks: signify-openbsd (<= x.y.z)
Replaces: signify (<= x.y.z)
Provides: signify
Not sure when it makes sense to drop /usr/bin/signify-openbsd from the 'signify' package? trixie+1?
x) OPTIONAL: Open a wishlist bug for 'signify-openbsd' to, after trixie, upload itself as a NEW 'signify' source package and to ask for removal
of the old 'signify-openbsd' source package. It was suggested this can trigger BTS bugs, so may not be worth doing. It doesn't really gain
anything except aesthetics.
x) Open a wishlist bug for the OpenBSD signify package to remove the transitional 'signify-openbsd' package for trixie+2 (+3?). The /usr/bin/signify-openbsd name is then also removed.
Thanks for review! I tried to revise the plan below, does this work?
I think we should compare this plan to simply remove the 'signify'
package, but haven't fleshed out that plan yet.
/Simon
x) Take current non-OpenBSD 'signify' source package and upload NEW 'signify-mail' package, say version 1.14-8 (?), that provides /usr/bin/signify-mail instead of /usr/bin/signify, and has d/control:
Source: signify-mail
...
Package: signify-mail
Replaces: signify (<= 1.14-7)
Conflicts: signify (<= 1.14-7)
On Mon Oct 7, 2024 at 8:58 AM BST, Marc Haber wrote:
P.S.: Isnt it about time to rename exim4 to exim?
Or apache2 to apache?
On Wed, 2024-10-09 at 10:26 +0100, Jonathan Dowland wrote:
On Mon Oct 7, 2024 at 8:58 AM BST, Marc Haber wrote:
P.S.: Isnt it about time to rename exim4 to exim?
Or apache2 to apache?
The ASF is responsible for a lot more than httpd now, and is also
(gradually) moving away from using the Apache name, so if that package
is to be renamed then something like "asf-httpd" would be better.
1) Take current non-OpenBSD 'signify' source package and upload NEW 'signify-mail' with d/control modified as:
Source: signify-mail
...
Package: signify-mail
Replaces: signify (<= 1.14-7)
Do we need 'Breaks: signify (<= 1.14-7)' too? Conflicts?
I've re-read chapter 7 of the policy manual again, but I have read it so
many times before and still don't feel confident about what it actually means. https://www.debian.org/doc/debian-policy/ch-relationships.html
2) Once 'signify-mail' has entered testing, open a ftp.debian.org RM bug
for 'signify' to get the binary packages removed from testing.
3) Open a wishlist bug for 'signify-openbsd' with a patch to provide a 'Package: signify' that has /usr/bin/signify and to add:
Conflicts: signify (<= 1.14-7), signify-mail
Is a similar Breaks needed too?
The 'signify-openbsd' binary package should be left around as a empty
dummy package for transitions to the new 'signify' binary package.
4) Uploading source package 'signify-openbsd' to NEW as 'signify', and
then ask for removal of the old 'signify-openbsd' source package. This
is nice but optional. It was suggested this can trigger BTS bugs. It
may be best to wait until at least trixie+1. This doesn't affect users
so is more of an developer aesthetic concern, which may suggest it isn't worth doing at all.
On Tue, 2024-10-08 at 09:01:06 +0200, Simon Josefsson wrote:
1) Take current non-OpenBSD 'signify' source package and upload NEW
'signify-mail' with d/control modified as:
Source: signify-mail
...
Package: signify-mail
Replaces: signify (<= 1.14-7)
Do we need 'Breaks: signify (<= 1.14-7)' too? Conflicts?
I've re-read chapter 7 of the policy manual again, but I have read it so
many times before and still don't feel confident about what it actually
means. https://www.debian.org/doc/debian-policy/ch-relationships.html
2) Once 'signify-mail' has entered testing, open a ftp.debian.org RM bug
for 'signify' to get the binary packages removed from testing.
3) Open a wishlist bug for 'signify-openbsd' with a patch to provide a
'Package: signify' that has /usr/bin/signify and to add:
Conflicts: signify (<= 1.14-7), signify-mail
Is a similar Breaks needed too?
The 'signify-openbsd' binary package should be left around as a empty
dummy package for transitions to the new 'signify' binary package.
4) Uploading source package 'signify-openbsd' to NEW as 'signify', and
then ask for removal of the old 'signify-openbsd' source package. This
is nice but optional. It was suggested this can trigger BTS bugs. It
may be best to wait until at least trixie+1. This doesn't affect users
so is more of an developer aesthetic concern, which may suggest it isn't
worth doing at all.
Not digging into the packaging side of things, but I think you can
probably optimize/reduce NEW trips and archive admins intervention, by
taking into account that (AFAIR and if things have not changed?) source >package renames do not go through NEW. That you can take over (also
AFAIR if things have not changed) a binary package from another source >package. And that binaries no longer produced by any source get
automatically garbage collected (https://wiki.debian.org/Glossary#nbs).
So depending on the timelines, the process could be reduced by staging
the binary package moves/take-overs and source package renames in
different ordered uploads.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 05:45:36 |
Calls: | 10,387 |
Calls today: | 2 |
Files: | 14,061 |
Messages: | 6,416,799 |