2
2
Contributing
3
3
============
4
4
5
- .. todo
6
- Create a "guide" to pip's internals and link to it from here saying
7
- "you might want to take a look at the guide"
5
+ Pip's internals
6
+ ===============
8
7
8
+ We have an in-progress guide to the
9
+ :ref: `architecture-pip-internals `. It might be helpful as you dive in.
9
10
10
11
Submitting Pull Requests
11
12
========================
@@ -20,7 +21,7 @@ Provide tests that cover your changes and run the tests locally first. pip
20
21
operating systems. Any pull request must consider and work on all these
21
22
platforms.
22
23
23
- Pull Requests should be small to facilitate easier review. Keep them
24
+ Pull requests should be small to facilitate easier review. Keep them
24
25
self-contained, and limited in scope. `Studies have shown `_ that review quality
25
26
falls off as patch size grows. Sometimes this will result in many small PRs to
26
27
land a single large feature. In particular, pull requests must not be treated
@@ -30,8 +31,8 @@ can be reviewed and merged individually.
30
31
31
32
Additionally, avoid including "cosmetic" changes to code that
32
33
is unrelated to your change, as these make reviewing the PR more difficult.
33
- Examples include re-flowing text in comments or documentation, or addition or
34
- removal of blank lines or whitespace within lines. Such changes can be made
34
+ Examples include re-flowing text in comments or documentation, or adding or
35
+ removing blank lines or whitespace within lines. Such changes can be made
35
36
separately, as a "formatting cleanup" PR, if needed.
36
37
37
38
@@ -41,7 +42,7 @@ Automated Testing
41
42
All pull requests and merges to 'master' branch are tested using `Travis CI `_
42
43
and `Appveyor CI `_ based on our `.travis.yml `_ and `.appveyor.yml `_ files.
43
44
44
- You can find the status and results to the CI runs for your PR on GitHub's Web
45
+ You can find the status and results to the CI runs for your PR on GitHub's web
45
46
UI for the pull request. You can also find links to the CI services' pages for
46
47
the specific builds in the form of "Details" links, in case the CI run fails
47
48
and you wish to view the output.
@@ -76,10 +77,11 @@ deduplicate them.
76
77
Contents of a NEWS entry
77
78
------------------------
78
79
79
- The contents of this file are reStructuredText formatted text that will be used
80
- as the content of the news file entry. You do not need to reference the issue
81
- or PR numbers here as towncrier will automatically add a reference to all of
82
- the affected issues when rendering the news file.
80
+ The contents of this file are reStructuredText formatted text that
81
+ will be used as the content of the news file entry. You do not need to
82
+ reference the issue or PR numbers in the entry, since ``towncrier ``
83
+ will automatically add a reference to all of the affected issues when
84
+ rendering the NEWS file.
83
85
84
86
In order to maintain a consistent style in the ``NEWS.rst `` file, it is
85
87
preferred to keep the news entry to the point, in sentence case, shorter than
@@ -223,19 +225,23 @@ Try force-pushing your branch with ``push -f``.
223
225
The ``master `` branch in the main pip repository gets updated frequently, so
224
226
you might have to update your branch at least once while you are working on it.
225
227
228
+ Thank you for your contribution!
229
+
226
230
227
231
Becoming a maintainer
228
232
=====================
229
233
230
234
If you want to become an official maintainer, start by helping out.
231
235
232
- As a first step, we welcome you to triage issues on pip's issue tracker. pip
233
- maintainers provide triage abilities to contributors once they have been around
234
- for some time and contributed positively to the project. This is optional and highly
236
+ As a first step, we welcome you to triage issues on pip's issue
237
+ tracker. pip maintainers provide triage abilities to contributors once
238
+ they have been around for some time (probably at least 2-3 months) and
239
+ contributed positively to the project. This is optional and highly
235
240
recommended for becoming a pip maintainer.
236
241
237
- Later, when you think you're ready, get in touch with one of the maintainers
238
- and they will initiate a vote among the existing maintainers.
242
+ Later, when you think you're ready (probably at least 5 months after
243
+ starting to triage), get in touch with one of the maintainers and they
244
+ will initiate a vote among the existing maintainers.
239
245
240
246
.. note ::
241
247
0 commit comments