-
Notifications
You must be signed in to change notification settings - Fork 291
CONTRIBUTING: add some initial guidelines #6485
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
base: master
Are you sure you want to change the base?
CONTRIBUTING: add some initial guidelines #6485
Conversation
Can be viewed rendered here: https://github.com/last-genius/xen-api/blob/asv/contribution-guide/CONTRIBUTING.md |
I believe we should manage expectations by saying that commits that break existing (non-public) tests are likely to be reverted. This may sound unfair because tests are not public but I can't see how we can avoid that. The test infrastructure we have in place is almost impossible to make public, independent of any licensing issues. |
What could be made public is the operations / features that are considered essential, and are never to be broken. With this, the existing public tests can be enhanced (unit tests or end-to-end xcp-ng ones) to a point where all the tests that are considered for reverting are public, even if it's replicated inside xenserver's testing suite. |
We might have public tests not in place immediately; I am in favour to add some words about reverting commits and merge this. |
Signed-off-by: Andrii Sultanov <[email protected]>
5710c8d
to
20070e4
Compare
Added a quick note:
|
Commit messages (and the body of a Pull Request) should be as helpful and | ||
descriptive as possible. If applicable, please include a description of current | ||
behaviour, your changes, and the new behaviour. Link any appropriate | ||
documentation, issues, or commits. |
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.
Something important to note, the commit should not explain the change, but also reason why the change is beneficial. Sometimes this is obvious, like reducing code, but other times they may only be preparing code for later changes
I can't think of anything in particular that the document is missing. I'd like Rob to review it, however |
## Review process and merge | ||
|
||
It can often be useful to address review suggestions with a "fixup" commit | ||
(created manually or with the help of `git commit --amend=HASH`). This way it |
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.
you probably mean git commit --fixup
;)
https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---signoff | ||
|
||
The following points are intended to describe what makes a contribution "good" - | ||
easier to review, integrate, and mantain. Please follow them in your work. |
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.
Typo (maintain).
Some rough guidelines on the contribution process for the project. Intended more as a starting point for a discussion.