Skip Menu |

This queue is for tickets about the Shipwright CPAN distribution.

Report information
The Basics
Id: 47789
Status: resolved
Priority: 0/
Queue: Shipwright

People
Owner: Nobody in particular
Requestors: b.cavanagh [...] jach.hawaii.edu
Cc:
AdminCc:

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



Subject: 'shipwright update' should report failure if it fails to update
I added DateTime::Locale to my Shipwright repository, only to find that I actually needed an older version. I thought I could do: shipwright update -r fs:`pwd` cpan-DateTime-Locale --version 0.42 ...to revert to v0.42, and upon doing this shipwright told me: CPAN related output will be at /tmp/shipwright_cpan.log Fetching with LWP: http://cpan.mirror.facebook.com/authors/id/D/DR/DROLSKY/DateTime-Locale-0.42.tar.gz importing cpan-DateTime-Locale imported with success updated with success When I went to check the changes (this repository is stored in git), there were none. So I added logging: shipwright update -r fs:`pwd` -l info cpan-DateTime-Locale --version 0.42 When this finished, it told me: path scripts/cpan-DateTime-Locale alreay exists, need to set overwrite arg to overwrite imported with success updated with success I'm of the opinion that this is not a success, this is actually a failure to import this module. Shipwright should report failure to import when it doesn't import.
I updated cpan-DateTime-Locale from 0.43 to 0.42 with success, can't reproduce your failure, maybe more info? On Fri Jul 10 21:20:27 2009, BRADC wrote: Show quoted text
> I added DateTime::Locale to my Shipwright repository, only to find > that > I actually needed an older version. I thought I could do: > > shipwright update -r fs:`pwd` cpan-DateTime-Locale --version 0.42 > > ...to revert to v0.42, and upon doing this shipwright told me: > > CPAN related output will be at /tmp/shipwright_cpan.log > Fetching with LWP: > > http://cpan.mirror.facebook.com/authors/id/D/DR/DROLSKY/DateTime- > Locale-0.42.tar.gz > importing cpan-DateTime-Locale > imported with success > updated with success > > When I went to check the changes (this repository is stored in git), > there were none. So I added logging: > > shipwright update -r fs:`pwd` -l info cpan-DateTime-Locale --version > 0.42 > > When this finished, it told me: > > path scripts/cpan-DateTime-Locale alreay exists, need to set > overwrite > arg to overwrite > imported with success > updated with success > > I'm of the opinion that this is not a success, this is actually a > failure to import this module. Shipwright should report failure to > import when it doesn't import.
Just tried it in 2.3.0 and it worked fine.