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

Spec.__str__: use full hash #47322

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Spec.__str__: use full hash #47322

merged 1 commit into from
Oct 30, 2024

Conversation

haampie
Copy link
Member

@haampie haampie commented Oct 30, 2024

Follow-up to #46609

The idea is that spack -e env add ./concrete-spec.json would list the
full hash in the specs, so that (a) it's not ambiguous and (b) it could
in principle results in constant time lookup instead of linear time
substring match in large build caches.

The idea is that `spack -e env add ./concrete-spec.json` would list the
full hash in the specs, so that (a) it's not ambiguous and (b) it could
in principle results in constant time lookup instead of linear time
substring match in large build caches.
@spackbot-app spackbot-app bot added the core PR affects Spack core functionality label Oct 30, 2024
@alalazo alalazo merged commit 8bc0b2e into develop Oct 30, 2024
33 checks passed
@alalazo alalazo deleted the hs/fix/spec-str-full-hash branch October 30, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core PR affects Spack core functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants