-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Explaining new version naming schema #906
Conversation
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.
Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @ashish-goswami, @campoy, and @manishrjain)
VERSIONING.md, line 13 at r1 (raw file):
> Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format. I have used and benefitted from this clear naming schema for many years, but recently I did find a small concern which drove me to propose a slightly different naming schema, specifically designed for libraries that provide encoding and decoding mechanisms which are not part of their API.
This reads like a blog post. Instead, it should focus on the reasoning behind this versioning scheme, the pros and cons and so forth.
You could include my discuss post and your medium post as reference for further clarification.
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.
Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @ashish-goswami and @manishrjain)
VERSIONING.md, line 13 at r1 (raw file):
Previously, manishrjain (Manish R Jain) wrote…
This reads like a blog post. Instead, it should focus on the reasoning behind this versioning scheme, the pros and cons and so forth.
You could include my discuss post and your medium post as reference for further clarification.
Agreed, I reworded the whole thing making it shorter and more to the point.
Also added links to the blog post and your comment on discuss.
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.
except for some minor typos/suggestions
Reviewed 1 of 2 files at r1, 1 of 1 files at r2.
Reviewable status: all files reviewed, 6 unresolved discussions (waiting on @ashish-goswami, @campoy, and @manishrjain)
README.md, line 78 at r2 (raw file):
- New major versions are released when the data format on disk changes in an incompatible way. - New minor versions are released whenever the API changes but data compatibility is conserved. Note that the changes on the API could be backward-incompatible - unlike Semantic Versioning.
minor: s/conserved/maintained I think it sound a little bit better
VERSIONING.md, line 15 at r2 (raw file):
to stored
to store
VERSIONING.md, line 17 at r2 (raw file):
to stored data on disk. ## Serialization Version pecification
you mean specification?
VERSIONING.md, line 30 at r2 (raw file):
require
requires
VERSIONING.md, line 37 at r2 (raw file):
For more background on our decision to adopt Serialization Versioning, read the blog post [Semantic Versioning, Go Modules, and Databases](https://blog.dgraph.io/post/serialization-versioning/) and the original proposal on [this comment on Dgraph's Discuss forum](https://discuss.dgraph.io/t/go-modules-on-badger-and-dgraph/4662/7?u=mrjn).
line break at the end of the file.
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.
Reviewable status: 0 of 2 files reviewed, 5 unresolved discussions (waiting on @ashish-goswami, @manishrjain, and @martinmr)
README.md, line 78 at r2 (raw file):
Previously, martinmr (Martin Martinez Rivera) wrote…
minor: s/conserved/maintained I think it sound a little bit better
Done
VERSIONING.md, line 13 at r1 (raw file):
Previously, campoy (Francesc Campoy) wrote…
Agreed, I reworded the whole thing making it shorter and more to the point.
Also added links to the blog post and your comment on discuss.
Done.
VERSIONING.md, line 15 at r2 (raw file):
Previously, martinmr (Martin Martinez Rivera) wrote…
to stored
to store
Done.
VERSIONING.md, line 17 at r2 (raw file):
Previously, martinmr (Martin Martinez Rivera) wrote…
you mean specification?
Done.
VERSIONING.md, line 30 at r2 (raw file):
Previously, martinmr (Martin Martinez Rivera) wrote…
require
requires
Done.
VERSIONING.md, line 37 at r2 (raw file):
Previously, martinmr (Martin Martinez Rivera) wrote…
line break at the end of the file.
Done.
Hey @manishrjain, could you have a look at this? Thanks! |
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.
Reviewed 2 of 2 files at r3, 1 of 1 files at r4.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ashish-goswami and @manishrjain)
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.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @ashish-goswami, @campoy, and @manishrjain)
README.md, line 18 at r4 (raw file):
the most recent branch that is data compatible with v1.0 was just published as v1.6.0.
the latest version that is data-compatible with v1.0 is v1.6.0.
VERSIONING.md, line 25 at r4 (raw file):
- MAJOR version when you make changes that require a transformation of the dataset before it can be used again. - MINOR version when old datasets are still readable but the API might have changed in backward-compatible or incompatible ways.
nit: backwards (just to match semver writing).
VERSIONING.md, line 26 at r4 (raw file):
- MAJOR version when you make changes that require a transformation of the dataset before it can be used again. - MINOR version when old datasets are still readable but the API might have changed in backward-compatible or incompatible ways. - PATCH version when you make backward-compatible bug fixes.
nit: backwards (just to match semver writing).
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.
Reviewable status: 1 of 3 files reviewed, 2 unresolved discussions (waiting on @ashish-goswami, @danielmai, @manishrjain, and @martinmr)
README.md, line 18 at r4 (raw file):
Previously, danielmai (Daniel Mai) wrote…
the most recent branch that is data compatible with v1.0 was just published as v1.6.0.
the latest version that is data-compatible with v1.0 is v1.6.0.
Done.
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.
Reviewable status: 1 of 3 files reviewed, 2 unresolved discussions (waiting on @ashish-goswami, @danielmai, @manishrjain, and @martinmr)
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.
Just ensure to keep all the lines within 100 chars.
Reviewed 1 of 1 files at r4, 2 of 2 files at r5.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @ashish-goswami, @campoy, @danielmai, and @manishrjain)
README.md, line 72 at r5 (raw file):
#### Choosing a version BadgerDB is a pretty special package from the point of view that the most important change we can make to it
100 char limit. Here and elsewhere.
VERSIONING.md, line 3 at r5 (raw file):
# Serialization Versioning: Semantic Versioning for databases Semantic Versioning, commonly known as SemVer, is a great idea that has been very widely adopted as a way to decide how to name software versions. The whole concept is very well summarized on semver.org with the following lines:
100 char limit. Here and elsewhere.
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.
Reviewable status: 1 of 3 files reviewed, 4 unresolved discussions (waiting on @ashish-goswami, @danielmai, and @manishrjain)
README.md, line 72 at r5 (raw file):
Previously, manishrjain (Manish R Jain) wrote…
100 char limit. Here and elsewhere.
Done.
VERSIONING.md, line 3 at r5 (raw file):
Previously, manishrjain (Manish R Jain) wrote…
100 char limit. Here and elsewhere.
Done everywhere.
* Explaining new Serialization Versioning schema used in Badger. (cherry picked from commit 2fa005c)
This change is