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

cli_protocol: clarify FILE_OR_DIGEST #163

Merged
merged 1 commit into from
Oct 2, 2024
Merged

cli_protocol: clarify FILE_OR_DIGEST #163

merged 1 commit into from
Oct 2, 2024

Conversation

woodruffw
Copy link
Member

@phillmv pointed out that the current conformance definition is a little ambiguous, and can be tripped up on clients like gh (which emits sha256:hash.jsonl files by default). This clarifies it to say that anything that isn't exactly a hash should be intepreted as a filepath.

@woodruffw woodruffw merged commit e0d6a7e into main Oct 2, 2024
6 checks passed
@woodruffw woodruffw deleted the ww/clarify-hashes branch October 2, 2024 19:24
@loosebazooka
Copy link
Member

loosebazooka commented Oct 2, 2024

what's the precedence? filename or hash first? Nevermind it looks like filename is checked first

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