Skip to content

Commit 2098aa7

Browse files
committed
Finalize PLIP stuff
1 parent f087267 commit 2098aa7

File tree

2 files changed

+38
-44
lines changed

2 files changed

+38
-44
lines changed

docs/contributing/core/plip-review.md

Lines changed: 37 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -10,107 +10,101 @@ myst:
1010
# PLIP review
1111

1212
A Plone Improvement Proposal (PLIP) is a formal process to propose a change to improve Plone.
13+
A review of a PLIP ensures that proposed behavior has been implemented as expected.
1314

15+
Post your PLIP review as a comment in the PLIP pull request.
1416

15-
## Expectations
1617

17-
A good PLIP review takes about four hours.
18-
Please plan accordingly.
19-
20-
When you are done, if you have access to core, commit the review to the `plips` folder of [`buildout.coredev`](https://github.com/plone/buildout.coredev), and reference the PLIP in your commit message.
21-
If you do not have access, attach your review to the PLIP ticket itself.
22-
23-
24-
## Setting up the environment
18+
## Set up the environment
2519

2620
Follow the instructions in {doc}`index`.
2721
You will need to checkout the branch to which the PLIP is assigned.
2822
Instead of running the buildout with the default buildout file, you will run the configuration specific to that PLIP:
2923

3024
```shell
31-
./bin/buildout -c plips/plip-XXXX.cfg
25+
./bin/buildout -c plips/plip-<repo>-<issue>-<branch>.cfg
3226
```
3327

3428

3529
## Functionality review
3630

3731
This section describes the topics that may be addressed in a PLIP review, depending on the nature of the PLIP itself.
3832

33+
Report bugs or issues you find during the review on GitHub as you would for any Plone bug.
34+
Reference the PLIP in the bug, assign it to its implementer, and add a tag for the PLIP in the form of `plip-xxx`.
35+
This way the implementer can find help if they need it.
36+
Also set a priority for the ticket.
37+
The PLIP will not be merged until all blockers and critical bugs are fixed.
38+
3939

4040
### General
4141

42+
- Take screenshots or videos as necessary, and post them to the pull request with your comments.
4243
- Does the PLIP actually do what the implementers proposed?
43-
Are there incomplete variations?
44+
- Are there incomplete variations?
4445
- Were there any errors running buildout?
45-
Did the migration(s) work?
46+
- If there were migrations, did they work?
4647
- Do error and status messages make sense?
47-
Are they properly internationalized?
48+
- Are messages properly internationalized?
4849
- Are there any performance considerations?
49-
Has the implementer addressed them, if so?
5050

5151

5252
### Bugs
5353

5454
- Are there any bugs?
55-
Nothing is too big nor small.
56-
- Do fields handle wacky data?
57-
How about strings in date fields, or nulls in required?
58-
- Is validation up to snuff and sensical?
59-
Is it too restrictive or not restrictive enough?
55+
- Do fields handle unexpected data?
56+
- Is validation function correctly and make sense?
57+
- Is validation too restrictive or not restrictive enough?
6058

6159

62-
### Usability Issues
60+
### Usability issues
6361

6462
- Is the implementation usable?
65-
- How will novice end users respond to the change?
63+
- How will end users respond to the change?
6664
- Does this PLIP need a usability review?
67-
If you think this PLIP needs a usability review, change the state to "please review" and add a note in the comments.
65+
If you think this PLIP needs a usability review, add GitHub issue labels {guilabel}`99 tag: UX`, or similar, and {guilabel}`32 needs: review`, and add a note in the comments.
6866
- Is the PLIP consistent with the rest of Plone?
6967
For example, if there is control panel configuration, does the new form fit in with the rest of the panels?
70-
- Does everything flow nicely for novice and advanced users?
71-
Is there any workflow that feels odd?
68+
- Does everything flow nicely for all users?
7269
- Are there any new permissions and do they work properly?
73-
Does their role assignment make sense?
70+
- Does permission assignment to roles make sense?
7471

7572

76-
### Documentation Issues
73+
### Documentation issues
7774

78-
- Is the corresponding documentation for the end user, be it developer or Plone user, sufficient?
79-
- Is the change itself properly documented?
75+
- Is the corresponding documentation for the end user, be it developer or Plone user, sufficient?
76+
- Is the change itself properly documented?
8077

81-
Report bugs or issues on GitHub as you would for any Plone bug.
82-
Reference the PLIP in the bug, assign to its implementer, and add a tag for the PLIP in the form of `plip-xxx`.
83-
This way the implementer can find help if they need it.
84-
Also set a priority for the ticket.
85-
The PLIP will not be merged until all blockers and critical bugs are fixed.
8678

79+
## Code review
8780

88-
### Code Review
81+
This section describes considerations of code quality.
8982

9083

91-
#### Python
84+
### Python
9285

9386
- Is this code maintainable?
9487
- Is the code properly documented?
95-
- Does the code adhere to PEP8 standards (more or less)?
96-
- Are they importing deprecated modules?
88+
- Does the code adhere to formatting and style standards?
89+
- Are there any importied deprecated modules?
9790

9891

99-
#### JavaScript
92+
### JavaScript
10093

101-
- Does the JavaScript meet our set of JavaScript standards?
102-
See our section about [JavaScript](https://5.docs.plone.org/develop/addons/javascript/index.html) and the [JavaScript Style Guide](https://5.docs.plone.org/develop/styleguide/javascript.html).
94+
- Does the JavaScript satisfy the package's JavaScript standards, or if the package has no standard, then Plone's?
95+
See Plone's section about {doc}`plone5:develop/addons/javascript/index` and the {doc}`plone5:develop/styleguide/javascript`.
10396
- Does the JavaScript work in all currently supported browsers?
104-
Is it performant?
97+
- Is the JavaScript performant?
10598

10699
```{todo}
107100
Update links from Plone 5 Documentation to Plone 6 Documentation, when they exist.
108101
See https://github.com/plone/documentation/issues/1330
109102
```
110103

111-
#### ME/TAL
104+
### ME/TAL
112105

113106
- Does the PLIP use views appropriately, avoiding too much logic?
114107
- Is there any code in a loop that could potentially be a performance issue?
115108
- Are there any deprecated or old style ME/TAL lines of code, such as using `DateTime`?
116-
- Is the rendered HTML compliant with standards? Are IDs and classes used appropriately?
109+
- Is the rendered HTML compliant with standards?
110+
- Are `id`s and classes used appropriately?

docs/contributing/core/plips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ You can start the development at any time, but if you intend to modify Plone cor
118118
- Have clear code.
119119
- Follow current best practices in coding style.
120120
The [Plone Meta](https://github.com/plone/meta) project can help you set up your environment.
121-
- [Be tested](https://5.docs.plone.org/develop/testing/index.html).
121+
- Be tested according to Plone core's {doc}`plone5:develop/testing/index`.
122122

123123

124124
### Create a new PLIP branch

0 commit comments

Comments
 (0)