spack/lib/spack
Adam J. Stewart 0f1a1ae94e Add trailing slash when spidering URLs for versions (#8429)
By default, if a package does not specify a list_url and does not download from
a common repository, Spack runs dirname on the package URL. Given a URL
like https://root.cern.ch/download/root_v6.09.02.source.tar.gz, this returns
https://root.cern.ch/download. However, https://root.cern.ch/download
gives a 404, while https://root.cern.ch/download/ works just fine.

Note that some servers *don't* work with a trailing slash, so this tries with and
without the slash. This will double the number of URLs searched but the
slowdown should only affect the "spack versions" command.
2018-06-12 10:33:47 -07:00
..
docs compiler flags: add cxx98 standard support (#7601) 2018-06-08 13:49:31 -07:00
env Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
external Less sensitive error detection in build logs (#8278) 2018-06-02 21:07:02 -07:00
llnl Fix coloring of error messages containing '}' symbol (#8277) 2018-06-02 21:02:28 -07:00
spack Add trailing slash when spidering URLs for versions (#8429) 2018-06-12 10:33:47 -07:00