Skip to content

Commit

Permalink
Add URL definiton - required for CI for spack to be able to access
Browse files Browse the repository at this point in the history
github branches
  • Loading branch information
echus committed Dec 16, 2022
1 parent 3c62338 commit 582f33c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/oasis3-mct/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ class Oasis3Mct(Package):

homepage = "https://www.access-nri.org.au"
git = "https://github.com/ACCESS-NRI/oasis3-mct.git"
# NOTE: URL definition required for CI
# Spack needs tarball URL to be defined to access github branches
url = "https://github.com/ACCESS-NRI/oasis3-mct/tarball/5e57b1aa40840adb6d6747d475dabadab5d9d6fb"

This comment has been minimized.

Copy link
@aidanheerdegen

aidanheerdegen Dec 20, 2022

Member

Note: this uses a feature of the GitHub API which provides a redirect to download an archive of the repo

https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#download-a-repository-archive-tar


maintainers = ["harshula"]

Expand Down

0 comments on commit 582f33c

Please sign in to comment.