@@ -9,29 +9,34 @@ In the astropy core package the requirements are as follows:
9
9
- New or updated code is logically correct and achieves the desired effect of
10
10
either fixing a bug or making an enhancement.
11
11
- New tests or modifications to tests are adequate to cover the code changes.
12
+ Tests for edge cases exist, if applicable.
12
13
- There are no API changes or the API changes are well-understood and
13
14
acceptable and beneficial on the whole to the astropy user community.
14
15
- The expected level of review is detailed, including review and suggestions
15
16
at the line-by-line level. Formatting and style are acceptable points for
16
- comment, in particular to maintain the existing style of a package and to
17
+ comment, in particular to maintain the existing coding style of a package and to
17
18
maintain readability of the code base for future developers.
18
- - A maintainer of sub-packages that the contribution affects is required to
19
+ - Maintainer(s) of subpackages that the contribution affects is required to
19
20
approve the pull request for changes that require specific knowledge of a
20
- sub-package . Other less complex cases, for example a documentation
21
+ subpackage . Other less complex cases, for example a documentation
21
22
improvement, may be reviewed by any astropy core package maintainer.
22
23
- While a maintainer does not have to be the one doing the detailed review, if
23
24
the detailed review is by someone else, the maintainer is responsible for
24
25
ensuring the contributor review is sufficiently detailed and follows these
25
26
guidelines.
26
- - After successful review, maintainers should formally approve the pull
27
+ - Following a successful review, maintainers should formally approve the pull
27
28
request.
28
- - A release manager or other maintainer checks that the selected release
29
+ - A release manager or maintainer checks that the selected release
29
30
milestone is suitable for the scope of the change. In particular bug-fix
30
31
backports are considered where feasible and sensible.
32
+ Documentation is usually backported. API change or new feature
33
+ are not backported unless under special circumstances.
31
34
- A matrix of CI checks ensure that all existing tests pass on supported
32
- platforms.
33
- - A bot checks that the change log mentions the change and that the changelog
34
- section used matches the selected release milestone.
35
+ platforms. Even the CI job that is allowed to fail should pass unless
36
+ an known and unrelated failure occurs; i.e., look at the logs even in
37
+ the event of green check mark.
38
+ - A bot checks that the change log mentions the change and PR number and that the change log
39
+ section used matches the selected release milestone set by the maintainer.
35
40
- Merging the pull request can be done by any core package maintainer once
36
41
approved by relevant maintainers (as described above). In practice this is
37
42
sometimes the PR developer and sometimes the reviewer.
@@ -40,7 +45,7 @@ In the astropy core package the requirements are as follows:
40
45
41
46
The process should in general be similar to the core package, although since a
42
47
number of coordinated and infrastructure packages have fewer maintainers, the
43
- concept of sub-packages is not relevant. Nevertheless, all coordinated and
48
+ concept of subpackages is not relevant. Nevertheless, all coordinated and
44
49
infrastructure packages should have at least two maintainers with push access.
45
50
All changes to these packages should be done via pull requests, and approved by
46
51
at least one of the other maintainers (any maintainer can then merge the pull
0 commit comments