-
Notifications
You must be signed in to change notification settings - Fork 9
Define snapshot versioning and metadata #442
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
Conversation
642a493 to
6e5b3ae
Compare
6e5b3ae to
a84ca60
Compare
e549686 to
9a9adc5
Compare
dcoutts
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| import System.FS.BlockIO.API (HasBlockIO) | ||
|
|
||
| -- | Custom text to include in a snapshot file | ||
| newtype SnapshotLabel = SnapshotLabel Text |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A newtype is good but do we need Text here? This is the only thing that pulls in the extra text package dep.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind, adding the dep on cborg in #443 adds text anyway.
If the snapshot versioning scheme is to your liking, then we should probably also make it part of the PR checklist to update version numbers in case there are changes to the snapshot format.