This queue is for tickets about the Shipwright CPAN distribution.

Report information
The Basics
Id:
105485
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
Nathan.E.Waddell [...] usps.gov
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Shipwright import HTTP source detection confuses HTTPS and CPAN
Date: Thu, 25 Jun 2015 20:50:05 +0000
To: "'bug-Shipwright@rt.cpan.org'" <bug-Shipwright@rt.cpan.org>
From: "Waddell, Nathan E - Memphis, TN - Contractor" <Nathan.E.Waddell@usps.gov>

When trying to import HTTPS sources, I see the following:

 

Nathan@shipyard> shipwright import -l all https://github.com/tokuhirom/plenv/archive/master.zip

preparing to run source: https:://github.com/tokuhirom/plenv/archive/master.zip

CPAN related output will be at /tmp/shipwright_cpan.log

can't find https:://github.com/tokuhirom/plenv/archive/master.zip on CPAN, assuming you will manually fix it. good luck!

invalid source: can't find 'https:://github.com/tokuhirom/plenv/archive/master.zip' in your CPAN mirror(s) [http://search.cpan.org/CPAN].

 

Nathan@shipyard> shipwright import -l all https://github.com/git/git/archive/master.zip

preparing to run source: https:://github.com/git/git/archive/master.zip

CPAN related output will be at /tmp/shipwright_cpan.log

can't find https:://github.com/git/git/archive/master.zip on CPAN, assuming you will manually fix it. good luck!

invalid source: can't find 'https:://github.com/git/git/archive/master.zip' in your CPAN mirror(s) [http://search.cpan.org/CPAN].

 

Another HTTPS source:

 

Nathan@shipyard> shipwright import -l all https://github.com/git/git/archive/master.zip

preparing to run source: https:://github.com/git/git/archive/master.zip

CPAN related output will be at /tmp/shipwright_cpan.log

can't find https:://github.com/git/git/archive/master.zip on CPAN, assuming you will manually fix it. good luck!

invalid source: can't find 'https:://github.com/git/git/archive/master.zip' in your CPAN mirror(s) [http://search.cpan.org/CPAN].

 

Prefixing with http:  doesn’t help either:

 

Nathan@shipyard> shipwright import -l all http:https://github.com/git/git/archive/master.zip

preparing to run source: https://github.com/git/git/archive/master.zip

invalid source: https://github.com/git/git/archive/master.zip

 

And this source doesn’t appear to be available via actual http:

 

shipyard> shipwright import -l all http:http://github.com/git/git/archive/master.zip

preparing to run source: http://github.com/git/git/archive/master.zip

invalid source: http://github.com/git/git/archive/master.zip

 

 

Thanks for your assistance.



This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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