Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to provide a commit hash instead of git tag for Spack and Ramble installations #3073

Merged

Conversation

rohitramu
Copy link
Collaborator

@rohitramu rohitramu commented Sep 25, 2024

This is a bugfix for Spack and Ramble installation.

The git commands are being run from outside the git directory, so --git-dir is set. It seems this is insufficient, and it's possible that --work-tree also needs to be set.

A new argument -C was introduced in git v1.8.5 (in 2013), and it sets both --git-dir and --work-tree, when given the repository's local directory path.

@rohitramu rohitramu added the release-bugfix Added to release notes under the "Bug fixes" heading. label Sep 25, 2024
@rohitramu
Copy link
Collaborator Author

I have successfully tested this change with the blueprint used for HPC Image testing, as we first identified the problem there.

@rohitramu rohitramu marked this pull request as ready for review September 25, 2024 21:23
@nick-stroud nick-stroud assigned rohitramu and unassigned nick-stroud Sep 26, 2024
@rohitramu rohitramu enabled auto-merge September 26, 2024 01:34
@rohitramu rohitramu merged commit 4737b3e into GoogleCloudPlatform:develop Sep 26, 2024
13 of 58 checks passed
@tpdownes tpdownes mentioned this pull request Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-bugfix Added to release notes under the "Bug fixes" heading.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants