summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2020-10-04 12:19:47 -0600
committerGitHub <noreply@github.com>2020-10-04 12:19:47 -0600
commit81829432b3a00ae8ebe46e53d181810b462f0024 (patch)
treedf34944a156cbae378e3d29451fd6707c516f8e0
parent73157efcd17da95ce984d1595ac4907233b9dbf5 (diff)
parent49b10b0e32473441d84810fff236dbb0a5d11768 (diff)
downloadnumpy-81829432b3a00ae8ebe46e53d181810b462f0024.tar.gz
Merge pull request #17440 from bjnath/bolder-PR-template
DOC: Cleaner template for PRs
-rw-r--r--.github/PULL_REQUEST_TEMPLATE.md40
-rw-r--r--doc/source/dev/development_workflow.rst37
2 files changed, 50 insertions, 27 deletions
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 3634292f8..dee33ee5f 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,18 +1,22 @@
-<!-- Please be sure you are following the instructions in the dev guidelines
-http://www.numpy.org/devdocs/dev/development_workflow.html
--->
-
-<!-- We'd appreciate it if your commit message is properly formatted
-http://www.numpy.org/devdocs/dev/development_workflow.html#writing-the-commit-message
--->
-
-<!-- If you're submitting a new feature or substantial change in functionality,
-make sure you discuss your changes in the numpy-discussion mailing list first:
-https://mail.python.org/mailman/listinfo/numpy-discussion -->
-
-<!-- We try to review your pull request as soon as we can, typically within a week.
-If you do not get any review comments within two weeks, please feel free to ask for
-feedback by adding a new comment on your PR (this will notify maintainers). If your
-PR is large or complicated, asking for input on the numpy-discussion mailing
-list may also be useful.
--->
+<!--
+
+ ----------------------------------------------------------------
+ MAKE SURE YOUR PR GETS THE ATTENTION IT DESERVES!
+ ----------------------------------------------------------------
+
+
+* FORMAT IT RIGHT:
+ http://www.numpy.org/devdocs/dev/development_workflow.html#writing-the-commit-message
+
+
+* IF IT'S A NEW FEATURE OR API CHANGE, TEST THE WATERS:
+ http://www.numpy.org/devdocs/dev/development_workflow.html#get-the-mailing-list-s-opinion
+
+
+* HIT ALL THE GUIDELINES:
+ https://numpy.org/devdocs/dev/index.html#guidelines
+
+
+* WHAT TO DO IF WE HAVEN'T GOTTEN BACK TO YOU:
+ http://www.numpy.org/devdocs/dev/development_workflow.html#getting-your-pr-reviewed
+-->
diff --git a/doc/source/dev/development_workflow.rst b/doc/source/dev/development_workflow.rst
index d5a49a9f9..1665cfddb 100644
--- a/doc/source/dev/development_workflow.rst
+++ b/doc/source/dev/development_workflow.rst
@@ -188,6 +188,16 @@ Standard acronyms to start the commit message with are::
REL: related to releasing numpy
+.. _workflow_mailing_list:
+
+Get the mailing list's opinion
+=======================================================
+
+If you plan a new feature or API change, it's wisest to first email the
+NumPy `mailing list <https://mail.python.org/mailman/listinfo/numpy-discussion>`_
+asking for comment. If you haven't heard back in a week, it's
+OK to ping the list again.
+
.. _asking-for-merging:
Asking for your changes to be merged with the main repo
@@ -197,15 +207,24 @@ When you feel your work is finished, you can create a pull request (PR). Github
has a nice help page that outlines the process for `filing pull requests`_.
If your changes involve modifications to the API or addition/modification of a
-function, you should
-
-- send an email to the `NumPy mailing list`_ with a link to your PR along with
- a description of and a motivation for your changes. This may generate
- changes and feedback. It might be prudent to start with this step if your
- change may be controversial.
-- add a release note to the ``doc/release/upcoming_changes/`` directory,
- following the instructions and format in the
- ``doc/release/upcoming_changes/README.rst`` file.
+function, add a release note to the ``doc/release/upcoming_changes/``
+directory, following the instructions and format in the
+``doc/release/upcoming_changes/README.rst`` file.
+
+
+.. _workflow_PR_timeline:
+
+Getting your PR reviewed
+========================
+
+We review pull requests as soon as we can, typically within a week. If you get
+no review comments within two weeks, feel free to ask for feedback by
+adding a comment on your PR (this will notify maintainers).
+
+If your PR is large or complicated, asking for input on the numpy-discussion
+mailing list may also be useful.
+
+
.. _rebasing-on-master: