summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-12-22 16:54:41 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-12-22 16:59:00 -0800
commit2b89d9b1db620c3b4a0e391ffc6621717aa03382 (patch)
tree5e4ad8a50457842f8215b86239549d229953a304 /bin
parentd1d23ec5e6b13b6d629ada633c8cddb1260ca492 (diff)
downloadspack-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 'bin')
0 files changed, 0 insertions, 0 deletions