Closed djerius closed 8 years ago
Are you using exact_filename
?
Yes:
alien_repository => [
{
protocol => 'https',
host => 'github.com',
location => 'ericmandel/xpa/archive',
exact_filename => "v2.1.17.zip",
},
],
This is fixed in 0.027_03
. I will do a production release on Monday, assuming nothing bad shows up in cpantesters before then.
In
Alien::Base::ModuleBuild::Repository::HTTP::build_uri
, if the passed$path
(which corresponds to thealien_repository
location
parameter) does not end in a/
its last component is removed byURI->new_abs
. For example, if the arguments tobuild_uri
areone gets this
However, if the arguments are
one gets this
which (to me at least) is surprising. I can't think of a context in which the caller isn't expecting the full path to be used, so I'd like to suggest ensuring that the path always ends in a
/
. If not, a documentation update would be appreciated.Thanks, Diab