Skip to content

Commit

Permalink
access-om2 SPRs: change the name of the default version (#185)
Browse files Browse the repository at this point in the history
* Originally there was only one version in each SPR. It was used
  to build access-om2. However, now we have more versions like
  access-esm1.5. By renaming version "master" to "access-om2",
  it is clear that is the version used to build access-om2.
* Update the access-om2 SBR too.
* Use the new maintainers() function.
  • Loading branch information
harshula authored Jan 31, 2025
1 parent 288ef38 commit db2fd8c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/access-om2/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class AccessOm2(BundlePackage):

maintainers("harshula")

version("latest")
version("access-om2")

variant("deterministic", default=False, description="Deterministic build.")

Expand Down
4 changes: 2 additions & 2 deletions packages/cice5/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ class Cice5(MakefilePackage):
homepage = "https://www.access-nri.org.au"
git = "https://github.com/ACCESS-NRI/cice5.git"

maintainers = ["harshula", "anton-seaice"]
maintainers("harshula", "anton-seaice")

version("master", branch="master", preferred=True)
version("access-om2", branch="master", preferred=True)
version("access-esm1.6", branch="access-esm1.6")

variant("deterministic", default=False, description="Deterministic build.")
Expand Down
4 changes: 2 additions & 2 deletions packages/libaccessom2/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class Libaccessom2(CMakePackage):
homepage = "https://www.access-nri.org.au"
git = "https://github.com/ACCESS-NRI/libaccessom2.git"

maintainers = ["harshula"]
maintainers("harshula")

version("master", branch="master")
version("access-om2", branch="master", preferred=True)

variant("deterministic", default=False, description="Deterministic build.")
variant("optimisation_report", default=False, description="Generate optimisation reports.")
Expand Down
2 changes: 1 addition & 1 deletion packages/mom5/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Mom5(MakefilePackage):

maintainers("harshula", "penguian")

version("master", branch="master", preferred=True)
version("access-om2", branch="master", preferred=True)
version("access-esm1.5", branch="access-esm1.5")
version("access-esm1.6", branch="master")

Expand Down
2 changes: 1 addition & 1 deletion packages/oasis3-mct/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Oasis3Mct(MakefilePackage):

maintainers("harshula", "penguian")

version("master", branch="master", preferred=True)
version("access-om2", branch="master", preferred=True)
version("access-esm1.5", branch="access-esm1.5")

variant("deterministic", default=False, description="Deterministic build.")
Expand Down

0 comments on commit db2fd8c

Please sign in to comment.