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:
Show quoted text
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.