-
Notifications
You must be signed in to change notification settings - Fork 378
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
Update contributing docs and PR template according to our best practices #779
Update contributing docs and PR template according to our best practices #779
Conversation
Codecov Report
@@ Coverage Diff @@
## main #779 +/- ##
===========================================
- Coverage 59.19% 25.33% -33.87%
===========================================
Files 212 212
Lines 9348 9348
===========================================
- Hits 5534 2368 -3166
- Misses 3169 6617 +3448
+ Partials 645 363 -282
Flags with carried forward coverage won't be shown. Click here to find out more. |
.github/PROCESS.md
Outdated
Do not leave original commit messages in the squashed commit body. | ||
|
||
## Draft pull requests | ||
|
||
1. We aim our issues to be scoped and well-described. |
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.
Would you please rewrite in active voice?
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.
Can you suggest the exact sentence? Issues are not actors, so it's hard to come up with active voice for them :) We aim
is written in active voice.
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.
Please see the comment #779 (comment).
I challenge the entire paragraph for its sense, existence, and meaning.
.github/PROCESS.md
Outdated
With that, ideally, there shouldn't be a need to create a draft pull request. | ||
2. We aim to implement and merge improvements as fast as possible to continuously increase | ||
[Lead Time for Changes](https://cloud.google.com/blog/products/devops-sre/using-the-four-keys-to-measure-your-devops-performance). | ||
Having too many drafts indicates that something is wrong in our processes, it needs to be discussed and changed. |
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.
Having too many drafts indicates that something is wrong in our processes, it needs to be discussed and changed. | |
Too many drafts indicate that something is wrong in our processes. Then we need to discuss and change it. |
* [ ] I set assignee, reviewers, labels, milestone, project and sprint. | ||
* [ ] I added tests for new functionality or bugfixes. | ||
* [ ] I ran `task all`, and it passed. | ||
* [ ] I documented exported and unexported functions, variables, types, etc. |
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.
And I changed the documentation in changed functions correspondingly.
…tseva/FerretDB into issue-749-contributing-ugidelines
…tseva/FerretDB into issue-749-contributing-ugidelines
…tseva/FerretDB into issue-749-contributing-ugidelines
Merging as it is now because we need to move forward with it. We will change those files over time. |
Description
This PR closes #749.
Pull Request Template
The idea is to have a simple Pull Request Template for the community and a more complex one for the team.
After reviewing all the past drafts, I decided not to add all the tiny details from the individual checklist.
I'm not sure if we really need a dedicated template for the team. Please provide feedback about it.
Pull Request Draft
I documented the usage of Pull Request Drafts in PROCESS.md. It is based on our principles and current use cases.
Feel free to disagree and suggest improvements.
How to review
Feel free to rephrase sentences and suggest changes!
Readiness checklist