Skip to content
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

chore: update pull request template, add code review checklist #2043

Merged
merged 38 commits into from
Aug 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
4badab0
chore: update pull request template, more complete review checklist, …
themr0c Jun 24, 2021
dbfa0b0
Fix language errors. Apply suggestions from reviewer.
themr0c Jun 25, 2021
79e13fd
Merge branch 'master' into chore-updating-pr-template
MichalMaler Jun 28, 2021
5f41347
Apply feedback from Community meeting
themr0c Jun 28, 2021
83978f4
Merge branch 'master' into chore-updating-pr-template
MichalMaler Jun 29, 2021
7931997
Merge branch 'master' into chore-updating-pr-template
MichalMaler Jun 30, 2021
35163ae
Merge branch 'master' into chore-updating-pr-template
themr0c Jul 14, 2021
fe9cfc6
Merge branch 'master' into chore-updating-pr-template
MichalMaler Jul 14, 2021
8851170
Removing "Describes a scenario already covered by QE tests, otherwise…
themr0c Jul 20, 2021
777eb71
Make it a recommendation, not a blocker.
themr0c Jul 20, 2021
68fb3b4
We do recongnize the subjectivity of some of these objectives.
themr0c Jul 20, 2021
8af6d04
Update code_review_checklist.adoc
themr0c Jul 20, 2021
870b03c
Update .github/PULL_REQUEST_TEMPLATE.md
themr0c Jul 20, 2021
663ab22
Merge branch 'master' into chore-updating-pr-template
themr0c Jul 20, 2021
2180763
Merge branch 'master' into chore-updating-pr-template
MichalMaler Jul 26, 2021
07db950
Merge branch 'master' into chore-updating-pr-template
MichalMaler Jul 29, 2021
d1e25b0
Merge branch 'master' into chore-updating-pr-template
themr0c Aug 8, 2021
3c6e8ac
Update .github/PULL_REQUEST_TEMPLATE.md
themr0c Aug 17, 2021
8f6316f
Update .github/PULL_REQUEST_TEMPLATE.md
themr0c Aug 17, 2021
a1b57c8
Update .github/PULL_REQUEST_TEMPLATE.md
themr0c Aug 17, 2021
e9ab1db
Update .github/PULL_REQUEST_TEMPLATE.md
themr0c Aug 17, 2021
59c2d6a
Update .github/PULL_REQUEST_TEMPLATE.md
themr0c Aug 17, 2021
9e0af31
Update code_review_checklist.adoc
themr0c Aug 17, 2021
98387ae
Update code_review_checklist.adoc
themr0c Aug 17, 2021
e5db42c
Update code_review_checklist.adoc
themr0c Aug 17, 2021
5f3a40c
Update code_review_checklist.adoc
themr0c Aug 17, 2021
e26a7ca
Update code_review_checklist.adoc
themr0c Aug 17, 2021
489d1a1
Update code_review_checklist.adoc
themr0c Aug 17, 2021
fa3928c
Update code_review_checklist.adoc
themr0c Aug 17, 2021
62f9385
Merge branch 'master' into chore-updating-pr-template
themr0c Aug 17, 2021
137f17b
Merge branch 'master' into chore-updating-pr-template
themr0c Aug 17, 2021
94c4a4b
Update code_review_checklist.adoc
themr0c Aug 17, 2021
bbd16a3
Update location for branding.constant.ts
themr0c Aug 20, 2021
25728a3
Consistency: pull request
themr0c Aug 20, 2021
cc167c3
Merge branch 'master' into chore-updating-pr-template
themr0c Aug 20, 2021
1a358f1
Merge branch 'master' into chore-updating-pr-template
themr0c Aug 20, 2021
f43f2cf
Merge branch 'master' into chore-updating-pr-template
themr0c Aug 23, 2021
8572b6b
Update .github/PULL_REQUEST_TEMPLATE.md
themr0c Aug 23, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 21 additions & 12 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,30 @@
> Read our [Contribution guide](https://github.com/eclipse/che-docs/blob/master/CONTRIBUTING.adoc) before submitting a PR.

### What does this PR do?
<!--
Please use one of the following prefixes for the title:
docs: Documentation not including procedures. Engineering review is mandatory.
procedures: Documentation including procedures. Testing procedures is mandatory. Engineering and QE review is mandatory (Engineering can review on behalf of QE).
chore: Routine, release, tooling, version upgrades.
fix: Fix build, language, links, or metadata.
-->

<!-- Read our [Contribution guide](https://github.com/eclipse/che-docs/blob/master/CONTRIBUTING.adoc) before submitting a PR. -->

### What issues does this PR fix or reference?
## What does this pull request change?

## What issues does this pull request fix or reference?

### Specify the version of the product this PR applies to.
## Specify the version of the product this pull request applies to

## Pull Request checklist

### PR Checklist
The author and the reviewers validate the content of this pull request with the following checklist, in addition to the [automated tests](code_review_checklist.adoc).

As the author of this Pull Request I made sure that:

- [ ] `vale` has been run successfully against the PR branch
- [ ] Link checker has been run successfully against the PR branch
- [ ] Documentation describes a scenario that is already covered by QE tests, otherwise an issue has been created and acknowledged by Che QE team
- [ ] Changed article references are updated where they are used (or a redirect has been configured on the docs side):
- [ ] Dashboard [default branding data](https://github.com/eclipse-che/che-dashboard/blob/main/src/services/bootstrap/branding.constant.ts)
- Any procedure:
- [ ] Successfully tested.
- Any page or link rename:
- [ ] The page contains a redirection for the previous URL.
- Propagate the URL change in:
- [ ] Dashboard [default branding data](https://github.com/eclipse-che/che-dashboard/blob/main/packages/dashboard-frontend/src/services/bootstrap/branding.constant.ts)
- [ ] Chectl [constants.ts](https://github.com/che-incubator/chectl/blob/master/src/constants.ts)
- [ ] Builds on [Eclipse Che hosted by Red Hat](https://workspaces.openshift.com).
themr0c marked this conversation as resolved.
Show resolved Hide resolved
- [ ] the *`Validate language on files added or modified`* step reports no vale warnings.
5 changes: 5 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,13 @@ properties = md
BasedOnStyles = CheDocs,IBM,Vale
# Ignore code surrounded by backticks or plus sign, parameters defaults, URLs.
TokenIgnores = (\x60[^\n\x60]+\x60), ([^\n]+=[^\n]*), (\+[^\n]+\+), (http[^\n]+\[)
IBM.Annotations = suggestion
IBM.HeadingPunctuation = NO
IBM.Headings = NO
IBM.Slash = warning
IBM.Usage = suggestion
Vale.Repetition = NO
Vale.Spelling = YES

[*.ini]
BasedOnStyles = CheDocs,IBM,Vale
Expand Down
3 changes: 3 additions & 0 deletions .vale/styles/Vocab/Che/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
[Cc]lassloading
[Cc]he
[Dd]evfile|[Dd]evfiles
[Dd]ownstream
[Dd]ownstreaming
[Ff]actories|[Ff]actory
[Gg]it
[Gg]rafana
Expand All @@ -22,6 +24,7 @@
[Mm]inikube
[Mm]inishift
[Mm]ixin|[Mm]ixins
[Mm]odularization
[Mm]ulticluster
[Mm]ultihost
[Mm]ultinode
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ TIP: For Antora, a link:https://docs.antora.org/antora/2.3/module-directories/#m

. To review the pull request:

.. Validate the accuracy of content, as well as build, language, links and modular docs requirements.
.. See the xref:code_review_checklist.adoc[code review checklist].

.. For documentation updates containing testable steps, the documentation pull request needs to have the `team/che-qe` label set and get reviewed by both the documentation team and the Che QA team.

Expand Down
44 changes: 44 additions & 0 deletions code_review_checklist.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Pull request review checklist for committers and reviewers
:toc: auto

The reviewer validates the content of a pull request with this checklist.

## Automated validation steps

These automated steps block the pull request merge.

* [ ] *`Build and validate PR / link checker (pull_request)`* is successful
** [ ] *`Build using Antora`* step is successful: documentation is building without warnings, and all AsciiDoc attributes have a definition.
** [ ] *`Validate links using htmltest`* step is successful: internal and external links are valid.
** [ ] *`Validate language on files added or modified`* step is successful and reports no vale errors: basic language validation, no major deviations from link:https://www.oreilly.com/library/view/the-ibm-style/9780132118989/[IBM Style Guide] and link:https://redhat-documentation.github.io/supplementary-style-guide/[Supplementary Style Guide], and project specific language rules.
* [ ] *`eclipsefdn/eca`* is successful: all contributors have signed the Eclipse Contributor Agreement (ECA).

## Non automated validation steps

The author and the reviewers validate the content of a pull request with this additional checklist:

* Any procedure:
** [ ] Successfully tested.
* Any page or link rename:
** [ ] The page contains a redirection for the previous URL.
** Propagate the URL change in:
*** [ ] Dashboard [default branding data](https://github.com/eclipse-che/che-dashboard/blob/main/src/services/bootstrap/branding.constant.ts)
*** [ ] Chectl [constants.ts](https://github.com/che-incubator/chectl/blob/master/src/constants.ts)
* [ ] Builds on https://workspaces.openshift.com[Eclipse Che hosted by Red Hat].
* [ ] *`Validate language on files added or modified`* step reports no vale warnings.

## In depth language review checklist
themr0c marked this conversation as resolved.
Show resolved Hide resolved

The technical writer reviewers validate the language with this additional in depth checklist. We do recognize the subjectivity of some of these objectives.

- [ ] Content is appropriate for the intended audience.
- [ ] Downstream friendly: correct use of attributes, `ifdef` statements, examples.
- [ ] Effective titles.
- [ ] Follows modularization guidelines. See: link:https://redhat-documentation.github.io/modular-docs/[Modular Documentation Reference Guide].
- [ ] Follows the principles of minimalism. See: link:https://docs.google.com/presentation/d/1Yeql9FrRBgKU-QlRU-nblPJ9pfZKgoKcU8SW6SQ_UqI/edit#slide=id.g1f4790d380_2_257[The Wisdom of Crowds slides], link:https://youtu.be/s3Em8QSXyn8[The Wisdom of Crowds video], link:https://www.nngroup.com/articles/chunking/[Chunking].
- [ ] Information is clear, valuable, and concise, no ambiguity.
- [ ] Language is consistent with the rest of the docs.
- [ ] Language is compliant with link:https://www.oreilly.com/library/view/the-ibm-style/9780132118989/[IBM Style Guide] and link:https://redhat-documentation.github.io/supplementary-style-guide/[Supplementary Style Guide] rules not implemented in vale.
- [ ] The information flow is logical.
- [ ] Uses screenshot and other visuals when required.
- [ ] Uses verification steps when necessary.