Skip Menu |
 

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 62755
Status: rejected
Priority: 0/
Queue: Moose

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

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



Subject: cruft from old versions (Moose::Meta::Attribute::Native::MethodProvider::Array)
Download (untitled) / with headers
text/plain 806b
I'm not sure how important this is... maybe unimportant. I'm also not sure it's a bug with Moose but not sure. I have a script that upgrades all CPAN libraries on the system. This is periodically necessary in CentOS-- when they upgrade the perl 5.8.8 binary it seems like linkings change and some XS stuff breaks, and I like to keep up to date. But when the script finds Moose::Meta::Attribute::Native::MethodProvider::Array and tries to upgrade it, it tries to install Moose 1.14, since that package is no longer a part of Moose. Should the installer look for cruft from old versions? Should CPAN? Maybe this is a deficiency of CPAN. If I were in debian I would use dh-make-perl and keep them packaged for apt-get, but I'm not sure how to do that easily with yum without a lot of headache. Mark
Subject: Re: [rt.cpan.org #62755] cruft from old versions (Moose::Meta::Attribute::Native::MethodProvider::Array)
Date: Fri, 5 Nov 2010 20:52:25 -0500 (CDT)
To: Mark Hedges via RT <bug-Moose [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
Download (untitled) / with headers
text/plain 1.2k
On Fri, 5 Nov 2010, Mark Hedges via RT wrote: Show quoted text
> Moose::Meta::Attribute::Native::MethodProvider::Array and tries to > upgrade it, it tries to install Moose 1.14, since that package is no > longer a part of Moose. Should the installer look for cruft from old > versions? Should CPAN? Maybe this is a deficiency of CPAN. If I were > in debian I would use dh-make-perl and keep them packaged for apt-get, > but I'm not sure how to do that easily with yum without a lot of headache.
This definitely isn't a bug in Moose itself. The package and corresponding .pm file are no longer part of the distro. The CPAN toolchain really doesn't handle this well, because it's not a proper package manager, so upgrading to a new Moose version doesn't remove no-longer-relevant files. Patches to CPAN.pm may or may not be welcome ;) I suppose we could add a bunch of empty .pm files, but I'm not really too keen on adding tons of cruft to our distro just cause the toolchain is suboptimal. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
Download (untitled) / with headers
text/plain 282b
They probably would say it is up to the package to do what it needs to do. Could the build script use Module::InstalledVersion to cycle through a list of modules that are no longer part of the distro but once were, and offer to remove them from the filesystem if present? --mark--
Subject: Re: [rt.cpan.org #62755] cruft from old versions (Moose::Meta::Attribute::Native::MethodProvider::Array)
Date: Fri, 5 Nov 2010 21:37:56 -0500 (CDT)
To: Mark Hedges via RT <bug-Moose [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
Download (untitled) / with headers
text/plain 792b
On Fri, 5 Nov 2010, Mark Hedges via RT wrote: Show quoted text
> They probably would say it is up to the package to do what it needs to do. > > Could the build script use Module::InstalledVersion to cycle through a > list of modules that are no longer part of the distro but once were, and > offer to remove them from the filesystem if present?
This really isn't the forum for discussing this. I'm going to close this bug report. I'd suggest checking out the #toolchain channel on irc.perl.org. People there are likely to be interested in this topic. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.