Skip to content

Add spack-repo-index.yaml#339

Closed
CodeGat wants to merge 1 commit intoapi-v2from
spack-repo-index-addition
Closed

Add spack-repo-index.yaml#339
CodeGat wants to merge 1 commit intoapi-v2from
spack-repo-index-addition

Conversation

@CodeGat
Copy link
Copy Markdown
Member

@CodeGat CodeGat commented Oct 23, 2025

References ACCESS-NRI/spack-config#81

Background

This file is used by spack >= v1 to index collections of spack-packages within a single repository. We don't use this feature in our instances of spack (having a single spack_repo/access/nri one) but it is required to make the spack repo update command work, which will be used going forward in both build-ci and build-cd.

The PR

  • Add spack-repo-index.yaml that points to the spack_repos/access/nri collection of packages

Testing

Tested locally in a docker image using spack-config with branch access-spack-packages-as-git-repo branch (see ACCESS-NRI/spack-config#82):

spack repo list  # Has our ACCESS-NRI/spack-packages repo successfully linked (the [+])
spack repo update access_spack_packages  # And we can update our repository via this command, also with --commit/--tag/--branch flags

@CodeGat
Copy link
Copy Markdown
Member Author

CodeGat commented Oct 29, 2025

Closing as this change is already implemented in f5a9a40

@CodeGat CodeGat closed this Oct 29, 2025
@github-project-automation github-project-automation bot moved this from Review 👏 to Done ✅ in Spack `0.22` to `1.0` Migration Oct 29, 2025
@CodeGat CodeGat deleted the spack-repo-index-addition branch October 29, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done ✅

Development

Successfully merging this pull request may close these issues.

1 participant