-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Checksum command generates incorrect Github URLs #13474
Copy link
Copy link
Closed
Labels
Description
The checksum command generates URLs that appear to be a combination of the releases and archive URL.
Steps to reproduce the issue
~$ spack checksum star
==> Found 12 versions of star:
2.7.3a https://github.com/alexdobin/STAR/releases/alexdobin/STAR/archive/2.7.3a.tar.gz
2.7.2d https://github.com/alexdobin/STAR/releases/alexdobin/STAR/archive/2.7.2d.tar.gz
2.7.2c https://github.com/alexdobin/STAR/releases/alexdobin/STAR/archive/2.7.2c.tar.gz
2.7.2b https://github.com/alexdobin/STAR/releases/alexdobin/STAR/archive/2.7.2b.tar.gz
2.7.2a https://github.com/alexdobin/STAR/releases/alexdobin/STAR/archive/2.7.2a.tar.gz
2.7.1a https://github.com/alexdobin/STAR/releases/alexdobin/STAR/archive/2.7.1a.tar.gz
2.7.0f https://github.com/alexdobin/STAR/releases/alexdobin/STAR/archive/2.7.0f.tar.gz
2.7.0e https://github.com/alexdobin/STAR/releases/alexdobin/STAR/archive/2.7.0e.tar.gz
2.7.0d https://github.com/alexdobin/STAR/releases/alexdobin/STAR/archive/2.7.0d.tar.gz
...
2.4.2a https://github.com/alexdobin/STAR/archive/STAR_2.4.2a.tar.gzThe expected URL would be:
https://github.com/alexdobin/STAR/archive/2.7.3a.tar.gzError Message
==> Downloading...
==> Fetching https://github.com/alexdobin/STAR/releases/alexdobin/STAR/archive/2.7.3a.tar.gz
##O=-# #
curl: (22) The requested URL returned error: 404 Not Found
==> Fetching from https://github.com/alexdobin/STAR/releases/alexdobin/STAR/archive/2.7.3a.tar.gz failed.
==> Something failed on https://github.com/alexdobin/STAR/releases/alexdobin/STAR/archive/2.7.3a.tar.gz, skipping.
(All fetchers failed for spack-stage-wylazepo)
==> Error: Could not fetch any versions for starInformation on your system
~$ spack --version
0.13.0Reactions are currently unavailable