-
Notifications
You must be signed in to change notification settings - Fork 7
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
DM-48013: Add contribution guide and pull request template #291
Conversation
@kfindeisen I added a short section in the APDB docs mentioning that changes must be propagated to In terms of PR mechanics, does a merged PR on |
647684e
to
6d989d7
Compare
I have only a very rough knowledge of |
cbcb39c
to
0b77c7f
Compare
967ec20
to
b3c04e2
Compare
e113f42
to
2888a45
Compare
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.
I think there is a lot of confusion about the role of the version numbers. I agree with Krzysztof that we should stop calling it SemVer. I think people used to think about version in terms of APIs, where "server" side can be updated before the "client" side (e.g. dynamic library is updated, which can cause rebuilding of the client apps). In our case the roles are reversed - we update sdm_schemas which is "immediately" picked up by the database client code, and only later we can decide to upgrade the actual database schema.
One more thing that I believe is implied in your description of schema compatibility is that the database schema version should be tracked somewhere (in the database itself), but there is no explicit mentioning of that anywhere.
Based on this feedback, I reworded this section and removed the part about using using semantic versioning. Please have a look at the updated text.
I'm still not sure if this is a general case or APDB-specific. I'm going to make the main contributing text more agnostic about it.
I plan to add this capability - see DM-47340. |
Thank you for the thorough review!
The ones you mentioned should all be fixed now. Please let me know if you find additional mistakes. |
w.r.t.
and
I don't think we can assume this as a general use case, as some other schema owners are considering it from the other direction. I have made the main contributing guide a lot more generic, assuming that the schema subpages will outline their own versioning guidelines. I have also removed the table from |
223e8f2
to
7e76e25
Compare
50d951c
to
040a445
Compare
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.
Looks much better, thanks! Just minor comments.
7505866
to
562e02f
Compare
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.
Looks good, few suggestions.
7036b05
to
68cbe4d
Compare
68cbe4d
to
ef1d20b
Compare
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.
Looks good now. Don't wait for schema-specific documentation for ConsDB, but let's make sure there's a ticket for adding that.
Added:
CONTRIBUTING.md
docs/APDB.md
, which includes versioning recommendations and other information relevant to contributingIt is planned to add more schema-specific documentation under
docs
for all major schemas, but probably not on this PR. Documentation for APDB is included here as a working case for which information to put in the main guide and what to put under the schema-specific pages.The new contribution guide can be previewed here.
An APDB-specific schema versioning guide by @andy-slac which was used for the content in
docs/APDB.md
can be found here.