Skip Menu |

This queue is for tickets about the Mail-Box CPAN distribution.

Report information
The Basics
Id: 129596
Status: rejected
Priority: 0/
Queue: Mail-Box

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Namespace disorder confusing and risky
Some namespaces seem to have crossed the border between distros in the past. I just became aware of only one example: Mail::Reporter lives in both MARKOV/Mail-Box-2.120.tar.gz and MARKOV/Mail-Message-3.008.tar.gz. Both are indexed for various reasons. If a user first installs Mail::Message and later installs, say, Mail::Box::Dbx, then they will encounter a downgrade of Mail::Reporter because Mail::Box::Dbx would come from MARKOV/Mail-Box-2.120.tar.gz together with an old Mail::Reporter. Do you have any ideas how to prevent that in the future? One way to make sure it won't happen, would be to remove the old versions from the CPAN. Another would be to never abandon namespaces. Not sure what is worse:) Anyhow, I'd like to bring this to you attention. Regards from Berlin,
On Sat May 18 08:49:32 2019, ANDK wrote: Show quoted text
> Some namespaces seem to have crossed the border between distros in the > past. I just became aware of only one example: Mail::Reporter lives in > both MARKOV/Mail-Box-2.120.tar.gz and MARKOV/Mail-Message- > 3.008.tar.gz.
Dearest upper guru, Mail-Message-3 is not compatible with Mail-Box-2: in the 3* generation, I have split the huge Mail-Box (v2) suite into 4 separate (v3) packages. Mail::Reporter's new location is Mail::Message. The 2* is still on CPAN to help people which still you the old set-up... (besides dependencies, there are no implementation differences) Show quoted text
> Do you have any ideas how to prevent that in the future? One way to > make sure it won't happen, would be to remove the old versions from > the CPAN. Another would be to never abandon namespaces.
When I look at 02packages, I see that Mail::Reporter is only included in the correct distribution. The namespace is not abandoned. So, I do not see the issue you described.
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #129596] Namespace disorder confusing and risky
Date: Mon, 20 May 2019 20:38:40 +0200
To: "Mark Overmeer via RT" <bug-Mail-Box [...] rt.cpan.org>
From: Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
Show quoted text
>>>>> On Mon, 20 May 2019 03:22:36 -0400, "Mark Overmeer via RT" <bug-Mail-Box@rt.cpan.org> said:
Show quoted text
> Dearest upper guru,
:) Show quoted text
> [...] > When I look at 02packages, I see that Mail::Reporter is only included in the > correct distribution. The namespace is not abandoned.
Show quoted text
> So, I do not see the issue you described.
The problem is there despite the index seems to favor the newer version. I repeat the story I wrote in the issue above, with some more redundancy thrown in: - a user first installs Mail::Message (so gets MARKOV/Mail-Message-3.008.tar.gz) - and later installs, say, Mail::Box::Dbx (so gets MARKOV/Mail-Box-2.120.tar.gz) - then they will encounter a downgrade of Mail::Reporter because MARKOV/Mail-Box-2.120.tar.gz has an older Mail::Reporter. This will probably not happen but it could. I'm intending to release a version of CPAN.pm that helps to prevent this from happening. But I thought I should let you know that this sort of problem exists before the CPAN.pm users do. -- andreas
CC: ;
Subject: Re: [rt.cpan.org #129596] Namespace disorder confusing and risky
Date: Mon, 20 May 2019 21:13:46 +0200
To: "(Andreas J. Koenig) via RT" <bug-Mail-Box [...] rt.cpan.org>
From: Mark Overmeer <mark [...] nluug.nl>
* (Andreas J. Koenig) via RT (bug-Mail-Box@rt.cpan.org) [190520 18:39]: Show quoted text
> - a user first installs Mail::Message (so gets > MARKOV/Mail-Message-3.008.tar.gz) > - and later installs, say, Mail::Box::Dbx (so gets > MARKOV/Mail-Box-2.120.tar.gz)
Wait, I see the problem. Mail::Box::Dbx has been removed from Mail::Box. You can only install an older version which has it. Show quoted text
> I'm intending to release a version of CPAN.pm that helps to prevent this > from happening. But I thought I should let you know that this sort of > problem exists before the CPAN.pm users do.
I think that PAUSE should remove packages from the index when they removed in newer versions of the same distribution. Mail::Box 3.007 M/MA/MARKOV/Mail-Box-3.007.tar.gz Mail::Box::Collection 3.007 M/MA/MARKOV/Mail-Box-3.007.tar.gz - Mail::Box::Dbx 2.120 M/MA/MARKOV/Mail-Box-2.120.tar.gz - Mail::Box::Dbx::Message 2.120 M/MA/MARKOV/Mail-Box-2.120.tar.gz Mail::Box::Dir 3.007 M/MA/MARKOV/Mail-Box-3.007.tar.gz Maybe I should remove 2.120 as well: I think no-one needs it anymore. -- Thank you for your care! MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Should get fixed in PAUSE
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #129596] Namespace disorder confusing and risky
Date: Tue, 23 Jul 2019 03:00:16 +0200
To: "Mark Overmeer via RT" <bug-Mail-Box [...] rt.cpan.org>
From: Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
Show quoted text
>>>>> On Sat, 20 Jul 2019 08:48:16 -0400, "Mark Overmeer via RT" <bug-Mail-Box@rt.cpan.org> said:
Show quoted text
mo> Should get fixed in PAUSE
This was done using https://pause.perl.org/pause/authenquery?ACTION=reset_version ; pause wrote: : According to a request by Andreas J. König the following packages have : their recorded version set to 'undef'. : Reset: Mail::Box::Dbx '2.120' => 'undef' : Reset: Mail::Box::Dbx::Message '2.120' => 'undef' Regards, -- andreas