Skip Menu |
 

This queue is for tickets about the Module-Install CPAN distribution.

Report information
The Basics
Id: 19783
Status: resolved
Priority: 0/
Queue: Module-Install

People
Owner: adamk [...] cpan.org
Requestors: smueller [...] cpan.org
Cc:
AdminCc:

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



Subject: Query CPAN for new versions of Module::Install during "make dist"
Download (untitled) / with headers
text/plain 613b
By warning authors about outdated Module::Install versions on their system during the "make dist" phase, one can reduce the probability of finding distributions with outdated and broken Module::Install versions inside. If a recent enough CPAN.pm is availlable, this might be as easy as doing this: use CPAN; my $module = CPAN::Shell->expand('Module', 'Module::Install'); my $cpan_ver = $module->cpan_version; if ($installed_version ne $cpan_ver) { warn "There is an old version of Module::Install on your system. Please consider upgrading..."; } Also, please don't use that warning text ;) Thanks, Steffen
Feature approved, this one is going to happen (just not sure how yet).
Download (untitled) / with headers
text/plain 828b
Hi. Implemented upgrade check in the trunk (though in a different way from yours). Hope this helps and feedbacks are welcome. On 2006-6-08 Thu 07:39:18, SMUELLER wrote: Show quoted text
> By warning authors about outdated Module::Install versions on their > system during the "make dist" phase, one can reduce the probability of > finding distributions with outdated and broken Module::Install
versions Show quoted text
> inside. > > If a recent enough CPAN.pm is availlable, this might be as easy as
doing Show quoted text
> this: > > use CPAN; > my $module = CPAN::Shell->expand('Module', 'Module::Install'); > my $cpan_ver = $module->cpan_version; > if ($installed_version ne $cpan_ver) { > warn "There is an old version of Module::Install on your system. > Please consider upgrading..."; > } > > Also, please don't use that warning text ;) > > Thanks, > Steffen
Hi. 0.95 is out. If you still have the problem, reopen this. Thanks.


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.