Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-cpanminus CPAN distribution.

Report information
The Basics
Id: 75674
Status: open
Priority: 0/
Queue: App-cpanminus

People
Owner: Nobody in particular
Requestors: jean [...] veronis.fr
Cc:
AdminCc:

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



Subject: installdeps doesn't look for most recent versions
I am not sure that this is a bug, but the behavior is not the one I expected. When you type cpanm --installdeps . it seems that cpanm doesn't try to install the lastest versions of modules that are already installed. I expected the command to behave like -i, i.e. install the latest. Apologies if I missed something or misundestood the documentation.
Subject: Re: [rt.cpan.org #75674] installdeps doesn't look for most recent versions
Date: Sat, 10 Mar 2012 09:43:37 -0800
To: bug-App-cpanminus [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
This is a feature. When you install a distribution Foo, the dependencies of Foo are not automatically updated to the latest as long as it is satisfied (if Foo requires Bar 0.3 and if you have Bar 0.4, CPAN/CPANPLUS/cpanm won't update it to the latest of Bar). That's exactly what --installdeps does. -- Tatsuhiko Miyagawa On Saturday, March 10, 2012 at 9:38 AM, Jean Véronis via RT wrote: Show quoted text
> Sat Mar 10 12:38:32 2012: Request 75674 was acted upon. > Transaction: Ticket created by jeanv > Queue: App-cpanminus > Subject: installdeps doesn't look for most recent versions > Broken in: 1.5007 > Severity: Normal > Owner: Nobody > Requestors: jean@veronis.fr (mailto:jean@veronis.fr) > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=75674 > > > > I am not sure that this is a bug, but the behavior is not the one I expected. When you type > > cpanm --installdeps . > > it seems that cpanm doesn't try to install the lastest versions of modules that are already > installed. I expected the command to behave like -i, i.e. install the latest. > > Apologies if I missed something or misundestood the documentation.
From: jean [...] veronis.fr
Le Sam 10 Mar 2012 12:43:50, miyagawa@gmail.com a écrit : Show quoted text
> This is a feature.
Many thanks for this extremely prompt answer! In that case, it would be useful to have a --updatedeps option. Congratulations in any case for this wonderful module.
Subject: Re: [rt.cpan.org #75674] installdeps doesn't look for most recent versions
Date: Sat, 10 Mar 2012 09:48:39 -0800
To: bug-App-cpanminus [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
Show quoted text
> > Many thanks for this extremely prompt answer! > > In that case, it would be useful to have a --updatedeps option.
No, it is annoying and misfunctional if installers automatically updates dependencies to the latest version. You have to bump dependencies by updating Makefile.PL, or use tools like cpan-outdated | cpanm to update all outdated modules.
From: jean [...] veronis.fr
Le Sam 10 Mar 2012 12:48:49, miyagawa@gmail.com a écrit : Show quoted text
> > > > Many thanks for this extremely prompt answer! > > > > In that case, it would be useful to have a --updatedeps option.
> No, it is annoying and misfunctional if installers automatically > updates dependencies to the latest version. You have to bump > dependencies by updating Makefile.PL, or use tools like cpan- > outdated | cpanm to update all outdated modules. >
I understand your point of view. Thanks for the last trick: cpan-outdated | cpanm I wasn't aware of this possibility, and it works like a charm!