Repository navigation
Bootstrap mirror: create per-release metadata directories - #2210
Merged
Merged
Conversation
…ors with a version tag
natalie-perlin
requested review from
AlexanderRichert-NOAA,
RatkoVasic-NOAA and
climbfuji
November 9, 2026 15:45
Collaborator
|
Interesting. I'm not sure I've seen this (yet) on my NASA machines. |
mathomp4
approved these changes
Nov 9, 2026
RatkoVasic-NOAA
approved these changes
Nov 9, 2026
climbfuji
approved these changes
Nov 9, 2026
climbfuji
enabled auto-merge (squash)
November 9, 2026 19:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use of generative AI
Please refer to our temporary spack-stack AI policy for further information.
Description
Problem:
spack bootstrap mirrorwritesmetadata/sourcesandmetadata/binariesat fixed paths. Rerunning it for a newer Spack (e.g., when doing spack-stack v2.2.0 install or spack-stack-nvhpc-dev) and attempting to use mirrors overwrites the metadata (including clingo.json, gnupg.json, patchelf.json) that installs from older spack-stack versions rely on. Running it directly into an existing mirror also fails with Destination path .../bootstrap_cache/blobs already exists.Fixes the following error, if run from the new version of spack-stack built under
/contrib/spack-stack/:Change (util/epic/batch_install.sh):
Rewrite url: in the copied metadata.yaml files to the absolute bootstrap_cache path, since the relative ../../bootstrap_cache no longer resolves one level deeper.
Dependencies
It would be good to merge it into the release/2.2 version, so it could be used to install (or test-installed) the spack-stack-2.2.0 on EPIC-supported platforms with the
batch_install.shscript.If other batch_install.sh scripts exist, they may also adapt this approach.
Issues addressed
Add any issues here that this PR closes or is related to. Use "Resolves" or "Closes" to automatically close issues when the PR is merged. Using "Working towards" or "Related to" for other cases.
Applications affected
List all known applications (UFS WM, JEDI, SRW, etc.) intentionally or unintentionally affected by this PR.
Systems affected
EPIC-supported platforms : Ursa, Gaea-c6, Hercule, Orion, Cloud platforms
Testing
Checklist