Use GitLab's API endpoint for fetching a git snapshot. (#7881)
* Use GitLab's API endpoint for fetching a git snapshot. * More GitLab packages use the API. * find_list_url for GitLab's API URLs. * Flake8 * Url for 'hacckernels'. * Check GitLab API regexps before the non-API ones.
This commit is contained in:

committed by
Adam J. Stewart

parent
8afdaa5805
commit
0f35f00b6e
@@ -31,8 +31,7 @@ class Swfft(MakefilePackage):
|
||||
parallel 3D FFT."""
|
||||
|
||||
homepage = 'https://xgitlab.cels.anl.gov/hacc/SWFFT'
|
||||
|
||||
url = "https://xgitlab.cels.anl.gov/hacc/SWFFT/repository/v1.0/archive.tar.gz"
|
||||
url = "https://xgitlab.cels.anl.gov/api/v4/projects/hacc%2FSWFFT/repository/archive.tar.gz?sha=v1.0"
|
||||
|
||||
version('1.0', '0fbc34544b97ba9c3fb19ef2d7a0f076')
|
||||
version('develop', git='https://xgitlab.cels.anl.gov/hacc/SWFFT',
|
||||
|
Reference in New Issue
Block a user