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

File Version Identifier #32

Open
fubuloubu opened this issue Jun 15, 2018 · 2 comments
Open

File Version Identifier #32

fubuloubu opened this issue Jun 15, 2018 · 2 comments

Comments

@fubuloubu
Copy link

Add @version to top level radspec for the file

This might be a semvar string, or it could be a subset of the hash of the document's sha3. Or both! (e.g. @version v0.1.0-1a2b3c4d)

@sohkai
Copy link
Contributor

sohkai commented Jun 18, 2018

it could be a subset of the hash of the document's sha3

This would be technically impossible unless it was the subset of the document without the file identifier.

Similar to #33, I'm not sure this would be useful to users (although it should definitely be a developing best practice!).

@fubuloubu
Copy link
Author

fubuloubu commented Jun 18, 2018

it could be a subset of the hash of the document's sha3

This would be technically impossible unless it was the subset of the document without the file identifier.

Yeah, usually this would be accomplished with calculating the hash assuming 0 or empty in that location, then placing it there as a checksum. It could be validated that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants