diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2015-12-22 16:54:41 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2015-12-22 16:59:00 -0800 |
commit | 2b89d9b1db620c3b4a0e391ffc6621717aa03382 (patch) | |
tree | 5e4ad8a50457842f8215b86239549d229953a304 /README.md | |
parent | d1d23ec5e6b13b6d629ada633c8cddb1260ca492 (diff) | |
download | spack-2b89d9b1db620c3b4a0e391ffc6621717aa03382.tar.gz spack-2b89d9b1db620c3b4a0e391ffc6621717aa03382.tar.bz2 spack-2b89d9b1db620c3b4a0e391ffc6621717aa03382.tar.xz spack-2b89d9b1db620c3b4a0e391ffc6621717aa03382.zip |
More consistent URL parsing when finding versions.
Versions found by wildcard URLs are different from versions found by
parse_version, etc. The wildcards are constructed more haphazardly
than the very specific URL patterns in url.py, so they can get things
wrong. e.g., for this URL:
https://software.lanl.gov/MeshTools/trac/attachment/wiki/WikiStart/mstk-2.25rc1.tgz
We miss the 'rc' and only return 2.25r as the version if we ONLY use
URL wildcards.
Future: Maybe use the regexes from url.py to scrape web pages, and
then compare them for similarity with the original URL, instead of
trying to make a structured wildcard URL pattern? This might yield
better results.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions