-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
README: proposal to add a "reviewers' guideline" #2976
Conversation
Added guidelines as discussed here: #2231
bbfbb59 : updated the guide with suggestions from @erictleung (from this issue) and @Ethan-Arrowood (from the Gitter channel) |
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.
Very nice @davcri 👌 thanks for getting all of this documented. I mostly had very minor, nitty-type comments.
README.md
Outdated
|
||
#### Adding Labels | ||
- **content** is for pull requests that modify the content of articles on the guide (e.g.: new articles or updating articles) | ||
- **duplicate** is for pull requests that have the same content |
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.
Add "as another open PR" to the end of this bullet
README.md
Outdated
|
||
|
||
### PR Review Ordering | ||
Older pull requests are reviewed firsts. |
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.
"firsts." => "first"
README.md
Outdated
Older pull requests are reviewed firsts. | ||
You can use this filter to list relevant pull requests: [is:pr is:open sort:updated-asc -label:platform -label:enhancement -label:invalid -label:"changes requested"](https://github.com/freeCodeCamp/guides/pulls?utf8=%E2%9C%93&q=is%3Apr%20is%3Aopen%20sort%3Aupdated-asc%20-label%3Aplatform%20-label%3Aenhancement%20-label%3Ainvalid%20-label%3A%22changes%20requested%22) | ||
|
||
### Accepting PR |
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.
Minor nit: I think this reads better as "Accepting a PR". Similar comment below for "Closing PR" => "Closing a PR"
README.md
Outdated
![GIF showing Squash functionality](https://files.gitter.im/FreeCodeCamp/Contributors/56MQ/9cb8db153d7bb1b3576cd1ffc207e39d.gif) | ||
|
||
#### PR title | ||
Currently under discussion, see [here](https://github.com/freeCodeCamp/guides/issues/1853). |
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 used your suggested format in the PULL_REQUEST_TEMPLATE (what contributors see when they are about to open a PR), with one minor change (verbs are in present/imperative tense instead of past tense - so "Python: add Variables article" vs. "Python: added Variables article"). I think we can update this section to include this and be consistent with the PR template.
README.md
Outdated
- if there is copied text from a copyrighted source (see also https://github.com/freeCodeCamp/guides/issues/2503) | ||
- if it does not respect the [Article style guide](https://github.com/freeCodeCamp/guides#article-style-guide) | ||
- if it does not respect the [Academic Honesty policy](https://www.freecodecamp.org/academic-honesty) | ||
- if it is stale (if a change is requested and there weren't any activity for about 2 weeks) |
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.
Nit: "and there weren't" => "and there wasn't"
README.md
Outdated
- if it does not respect the [Academic Honesty policy](https://www.freecodecamp.org/academic-honesty) | ||
- if it is stale (if a change is requested and there weren't any activity for about 2 weeks) | ||
|
||
Remember that a PR can always be reopened; merge can be reverted. |
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 don't think we need this line in the README - it was more reassurance to new reviewers not to worry if they make a mistake 😄
README.md
Outdated
|
||
Remember that a PR can always be reopened; merge can be reverted. | ||
|
||
#### Template text for closing PR |
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.
"closing PR" => "closing a PR"
README.md
Outdated
1. Search for PRs with similar content | ||
1. Merge from the oldest to the newest | ||
|
||
There will be probably merge conflicts; if it is the case, notify the contributor with this template 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.
Nit: "will be probably" => "will probably be"
README.md
Outdated
There will be probably merge conflicts; if it is the case, notify the contributor with this template text: | ||
|
||
#### Template text | ||
> We apologize for the inconvenience; however, while your PR was in the review queue someone else proposed the same file and their contribution was merged. As a result we need to resolve merge conflicts in order to merge your changes. If you're unsure about this process feel free to reach out in the contributor Gitter channel or comment below. We recommend you review the existing file and propose how you could incorporate your own ideas while maintaining the other contributors work. We will be closing this PR for now, but if you still want to see your changes added let us know and we can open it for additional 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.
Let's add an inline link to the contributor chat room: in the [Contributor Gitter channel](https://gitter.im/FreeCodeCamp/Contributors)...
. Also "while maintaining the other contributors work" => "while maintaining the other contributor's work"
README.md
Outdated
- fix minor issues by ourselves | ||
|
||
#### Adding Labels | ||
- **content** is for pull requests that modify the content of articles on the guide (e.g.: new articles or updating articles) |
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.
Another nit: "change requested" => "changes requested" (plural 😜 - same comment for the other two examples below)
I pushed a new commit. @HKuz thank you very much for the review. There were a lot of errors, I absolutely need to improve my English 😝 However: should we put this "reviewers' guide" to the README ? New contributors could be shocked by the wall of text. |
@davcri - no worries - I couldn't write that in another language! Yeah, there has been talk of creating a CONTRIBUTING.md file. I think these changes would be better suited there, and we keep the README as-is. If you want to create that file (root directory is fine), then copy the "How to contribute" and "How to run the Guide locally on your computer" from the README into it (keep those in the README as well) along with your changes here, we can work off that? |
Add "How to contribute" section to CONTRIBUTING.md
I moved some text from the README to the CONTRIBUTING file. @HKuz can you add here some relevant guideline from your comment ? You can commit directly on my branch. |
LGTM, @davcri - I added a couple sections (from that comment) and made some text edits on top of your PR. I'm going to merge this to get it in the repo, then any other changes/edits we can get in future PRs! ✅ |
Great! Thank you for your improvements 😄 |
This is only a proposal, please review it and discuss on what we should add/remove/improve !
Things that should be still addressed: