Meta: Add a note about populating the PR from a template. (#3474)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
6f1da2042d
commit
6c817a6bb7
|
@ -42,6 +42,25 @@ a discussion venue appropriate to the PEP (such as `Typing Discourse
|
||||||
typing, or `Packaging Discourse <https://discuss.python.org/c/packaging/>`__
|
typing, or `Packaging Discourse <https://discuss.python.org/c/packaging/>`__
|
||||||
for packaging), or `open an issue <https://github.com/python/peps/issues>`__.
|
for packaging), or `open an issue <https://github.com/python/peps/issues>`__.
|
||||||
|
|
||||||
|
Opening a pull request
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
The PEPs repository defines a set of pull request templates, which should be
|
||||||
|
used when opening a PR.
|
||||||
|
|
||||||
|
If you use Git from the command line, you may be accustomed to creating PRs
|
||||||
|
by following the URL that is provided after pushing a new branch. **Do not use
|
||||||
|
this link**, as it does not provide the option to populate the PR template.
|
||||||
|
|
||||||
|
However, you *can* use the ``gh`` command line tool. ``gh pr create`` will allow
|
||||||
|
you to create a pull request, will prompt you for the template you wish to use,
|
||||||
|
and then give you the option of continuing editing in your broswer.
|
||||||
|
|
||||||
|
Alternatively, after pushing your branch, you can visit
|
||||||
|
`https://github.com/python/peps <https://github.com/python/peps>`__, and follow
|
||||||
|
the link in the notification about recent changes to your branch to
|
||||||
|
create a new PR. The in-browser interface will allow you to select a PR template
|
||||||
|
for your new PR.
|
||||||
|
|
||||||
Commit messages and PR titles
|
Commit messages and PR titles
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
@ -56,7 +75,7 @@ the Readme/Contributing Guide, issue/PR template, etc., with ``Meta:``.
|
||||||
Sign the Contributor License Agreement
|
Sign the Contributor License Agreement
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
All contributors need to sign the
|
All contributors need to sign the
|
||||||
`PSF Contributor Agreement <https://www.python.org/psf/contrib/contrib-form/>`_.
|
`PSF Contributor Agreement <https://www.python.org/psf/contrib/contrib-form/>`_.
|
||||||
to ensure we legally accept your work.
|
to ensure we legally accept your work.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue