Skip to content

Commit 3b480d1

Browse files
committed
Touch-ups for PEP 101 (directions for RMs).
1 parent cdee4bd commit 3b480d1

File tree

1 file changed

+16
-33
lines changed

1 file changed

+16
-33
lines changed

pep-0101.txt

Lines changed: 16 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Here's a hopefully-complete list.
6161
and ``docs.nyc1.psf.io``, the server that hosts the documentation.
6262
You'll be uploading files directly here.
6363

64-
* Admin access to ``https://github.com/python/cpython``
64+
* Administrator access to ``https://github.com/python/cpython``.
6565

6666
* An administrator account on www.python.org, including an "API key".
6767

@@ -513,25 +513,16 @@ to perform some manual editing steps.
513513
If green, it's time to merge the release engineering branch back into
514514
the main repo.
515515

516-
- If the branch is not yet in "security fixes only mode", temporarily
517-
disable others' pushes to the branch in the main cpython
518-
repo and bypass the normal status checks. Go to the
519-
Settings -> Branches page:
516+
- In order to push your changes to Github, you'll have to temporarily
517+
disable branch protection for administrators. Go to the
518+
``Settings | Branches`` page:
520519

521520
https://github.com/python/cpython/settings/branches/
522521

523-
and choose the Edit button for the branch you are working on.
524-
On the Branch Protection page, check the "Restrict who can push to
525-
this branch" box and add yourself. Also, uncheck the "Include
526-
administrators" box and save changes.
527-
528-
(This step isn't necessary for branches already in "security fixes mode".
529-
However, the next step is!)
530-
531-
- While you're editing the settings for your branch, you'll also need to
532-
uncheck "Require status checks to pass before merging". This temporarily
533-
disables requiring CI status checks (Travis, AppVeyor, etc) be run and
534-
passed before a revision may be pushed.
522+
"Edit" the settings for the branch you're releasing on.
523+
This will load the settings page for that branch.
524+
Uncheck the "Include administrators" box and press the
525+
"Save changes" button at the bottom.
535526

536527
- Merge your release clone into the main development repo::
537528

@@ -617,7 +608,7 @@ the main repo.
617608
may be incorrect due to the initial midstream change to ``blurb``
618609
that propagates from release to release! Help break the cycle: if
619610
necessary make the following change::
620-
611+
621612
- For full details, see the :source:`Misc/NEWS` file.
622613
+ For full details, see the :ref:`changelog <changelog>`.
623614

@@ -676,24 +667,16 @@ the main repo.
676667
Also, add a ``needs backport to X.Y`` label to the Github repo.
677668
https://github.com/python/cpython/labels
678669

679-
- For all releases, if you made temporary changes to the permissions
680-
for the branch on GitHub, undo those temporary changes now.
681-
https://github.com/python/cpython/settings/branches/
682-
683-
A reminder of changes you may have made:
684-
685-
- Uncheck the "Restrict who can push to this branch". (Only necessary
686-
if the branch is not in "security-fixes-only mode".)
670+
- You can now re-enable enforcement of branch settings against administrators
671+
on Github. Go back to the ``Settings | Branch`` page:
687672

688-
- Check the "Include administrators" box. (Only necessary
689-
if the branch is not in "security-fixes-only mode".)
690-
691-
- Check the "Require status checks to pass before merging" box. (Always needed.)
673+
https://github.com/python/cpython/settings/branches/
692674

693-
Save your changes.
675+
"Edit" the settings for the branch you're releasing on.
676+
Re-check the "Include administrators" box and press the
677+
"Save changes" button at the bottom.
694678

695-
Now it's time to twiddle the web site. None of this is automated by release.py
696-
at the moment, sorry.
679+
Now it's time to twiddle the web site. Almost none of this is automated, sorry.
697680

698681
To do these steps, you must have the permission to edit the website. If you
699682
don't have that, ask someone on [email protected] for the proper

0 commit comments

Comments
 (0)