Skip to content

Update workflow in PEP 1 #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
berkerpeksag opened this issue Jun 26, 2016 · 12 comments
Closed

Update workflow in PEP 1 #38

berkerpeksag opened this issue Jun 26, 2016 · 12 comments

Comments

@berkerpeksag
Copy link
Member

PEP 1 needs to be updated to reflect the new GitHub workflow. For example, the following part is now outdated. They can send a pull request on GitHub:

 Updates to existing PEPs also come in to [email protected].  Many PEP
 authors are not Python committers yet, so PEP editors do the commits for them.
@warsaw
Copy link
Member

warsaw commented Aug 2, 2016

This is done now, right?

@warsaw warsaw closed this as completed Aug 2, 2016
@berkerpeksag
Copy link
Member Author

No, not really :) We still need to update the part I quoted for example: They can just send a pull request now.

@warsaw warsaw reopened this Aug 2, 2016
@warsaw
Copy link
Member

warsaw commented Aug 2, 2016

@berkerpeksag Okay! I reopened the issue.

@warsaw
Copy link
Member

warsaw commented Oct 13, 2016

The PEP also says:

Following a discussion on python-ideas, the proposal should be sent as a
draft PEP to the PEP editors <[email protected]>.

Is there any objection to just accepting new draft PEPs as PRs too? We'll leave [email protected] around for questions, help, and such but I don't see much of a need of it for any workflow. It's barely used now as it is.

warsaw added a commit that referenced this issue Oct 13, 2016
@gvanrossum
Copy link
Member

+1, it's been made obsolete by the tracker and PR workflow. (I'd encourage
questions in the tracker too -- it's working great for mypy.)

On Thu, Oct 13, 2016 at 1:46 PM, Barry Warsaw [email protected]
wrote:

The PEP also says:

Following a discussion on python-ideas, the proposal should be sent as a
draft PEP to the PEP editors [email protected].

Is there any objection to just accepting new draft PEPs as PRs too? We'll
leave [email protected] around for questions, help, and such but I don't
see much of a need of it for any workflow. It's barely used now as it is.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#38 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACwrMqLls9K9v8yweCbenpXmcXFtdp13ks5qzpiXgaJpZM4I-flC
.

--Guido van Rossum (python.org/~guido)

@warsaw
Copy link
Member

warsaw commented Oct 13, 2016

+1. I think we should mostly discourage [email protected]. We can even assign PEP numbers by PR. We'll leave that address live though just in case someone wants to contact the editors semi-privately. Let me do an update to #116

@Rosuav
Copy link
Contributor

Rosuav commented Oct 13, 2016

Hmm. In principle I'm fine with that, as long as it's practical for everyone. For non-core-devs, the normal thing to do used to be to request a PEP number - is the new workflow going to be that every PEP author starts by picking a number and making sure there's no conflict, or do we modify the PR to pick a number?

@warsaw
Copy link
Member

warsaw commented Oct 13, 2016

I would like to see people use an XXX number and we can either assign them a number via PR or modify the PR to assign a number.

@gvanrossum
Copy link
Member

(Yeah, the new GitHub feature that lets PR reviewers edit the PR is great
for this!)

Personally I'm totally fine with retiring [email protected] or letting it
bounce a link to the README in the peps repo -- we can then update the
README with typical workflows. (E.g. to reserve a PEP number file an
issue, otherwise use XXX in the PR and allow the reviewers to edit your
branch.)

On Thu, Oct 13, 2016 at 2:01 PM, Barry Warsaw [email protected]
wrote:

I would like to see people use an XXX number and we can either assign them
a number via PR or modify the PR to assign a number.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#38 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACwrMnLnbQpxV8DhKsXFQj1Ya5f7O5Buks5qzpxBgaJpZM4I-flC
.

--Guido van Rossum (python.org/~guido)

@Rosuav
Copy link
Contributor

Rosuav commented Oct 13, 2016

Yeah. Has anyone used the "project admins may tweak the PR" workflow? I'm thinking something along the lines of:

  1. PEP author clones peps repo, creates pep-xxx.rst, and creates a PR.
  2. An editor checks the file for structural errors and other issues, and if all looks okay, modifies the PR with a second commit that renames pep-xxx.rst to pep-1234.rst.
  3. Squash commit this PR onto master.

@Rosuav
Copy link
Contributor

Rosuav commented Oct 13, 2016

And... Guido's post and mine crossed. Sounds like you have something similar in mind.

@warsaw
Copy link
Member

warsaw commented Oct 13, 2016

+1

lukpueh pushed a commit to lukpueh/peps that referenced this issue Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants