Skip to content

Update all projections to include {version}#26

Merged
CodeGat merged 2 commits into
mainfrom
update-projections-post-build-cd-update
May 21, 2026
Merged

Update all projections to include {version}#26
CodeGat merged 2 commits into
mainfrom
update-projections-post-build-cd-update

Conversation

@CodeGat
Copy link
Copy Markdown
Member

@CodeGat CodeGat commented May 21, 2026

Background

Pre- ACCESS-NRI/build-cd#382, the projection injection logic injected the reserved definition _version into the projection. This was a bit convoluted, and difficult to understand for users. In the linked PR, we have updated that logic to instead inject {version} with _version for things in the speclist.

The PR

  • Update all */spack.yaml to include {version} in the projection.

@CodeGat CodeGat self-assigned this May 21, 2026
@CodeGat CodeGat marked this pull request as ready for review May 21, 2026 01:26
aidanheerdegen
aidanheerdegen previously approved these changes May 21, 2026
Copy link
Copy Markdown
Member

@aidanheerdegen aidanheerdegen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Do you think, in this specific case where we want to be quite prescriptive about how the modules should be organised, that we should create a specific check that it looks like system-tools/{name}/{version}?

@CodeGat
Copy link
Copy Markdown
Member Author

CodeGat commented May 21, 2026

I do like that idea - however the infrastructure doesn't know what is an SDR as opposed to a MDR - they're all just manifests, so we would need to add that in explicitly...

@CodeGat CodeGat merged commit 4d69d12 into main May 21, 2026
3 checks passed
@CodeGat CodeGat deleted the update-projections-post-build-cd-update branch May 21, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants