Skip to content

Comments

Move all spack templates to their own subdirectory#251

Merged
xylar merged 4 commits intoE3SM-Project:mainfrom
altheaden:organize-templates
Apr 14, 2025
Merged

Move all spack templates to their own subdirectory#251
xylar merged 4 commits intoE3SM-Project:mainfrom
altheaden:organize-templates

Conversation

@altheaden
Copy link
Collaborator

This PR relocates the templates in the mache/spack directory to a subdirectory, mache/spack/templates. This modularization is ultimately in preparation for merging #230.

Checklist

  • Developer's Guide has been updated
  • API documentation in the Developer's Guide (api.md) has any new or modified class, method and/or functions listed
  • Documentation has been built locally and changes look as expected
  • Testing comment in the PR documents testing used to verify the changes

@altheaden altheaden requested a review from xylar April 14, 2025 20:39
@altheaden
Copy link
Collaborator Author

Testing

I tested these changes by doing a test deployment of Polaris using this branch. Everything appears to have worked as expected. I didn't take a look at the documentation because I don't expect any issues there, but I can do so if desired.

Comment on lines +3 to +6
include mache/spack/templates/*.yaml
include mache/spack/templates/*.template
include mache/spack/templates/*.sh
include mache/spack/templates/*.csh
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for catching that one! It wouldn't otherwise show up until we do a release and build a conda package, since the files are just there in the branch when you do local testing.

Copy link
Collaborator

@xylar xylar left a comment

Choose a reason for hiding this comment

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

This looks great! I appreciate you doing the hard work of testing this, @altheaden.

@xylar xylar merged commit 603a53d into E3SM-Project:main Apr 14, 2025
6 checks passed
@altheaden altheaden deleted the organize-templates branch April 14, 2025 20:58
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