New submission from E. Paine paineelisha@gmail.com:
Simple enough: we should make it very clear in the Devguide that creating a PR from python:master to <username>:master is not a good way to update your fork.
For context, I recently saw that a commit on a fork was showing as a mention on a lot of the more recent commits to the master. I left a comment on the PR for the fork responsible to save them the embarrassment of this happening again (https://github.com/ThatXliner/cpython/pull/1#issuecomment-735969158 - my apologies to those who got pinged by that comment, I'm the one who feels embarrassed now!).
When I first started to contribute to CPython, I made exactly the same mistake (using a PR to update my fork - for the record I had never before used git except to clone). Yes, most of that was my ignorance but even after finding "Syncing with Upstream" (32.14 - which may make more sense renamed to "Updating your CPython fork" for accessibility but that's a separate issue), I did not think to combine it with the clone instructions of "Get the source code" (1.2 - I delete local copies when not in use to save space so only ran `git clone` before trying those on the guide).
That is also a separate issue and there is nothing we can do if people don't read the docs but IMO we should make it very clear that opening a PR on your fork is not a good solution to the problem (I don't want others making the same mistake, and it also unnecessarily pings quite a few of the core devs - though please correct me if I'm wrong and it doesn't ping them).
---------- assignee: docs@python components: Documentation messages: 382183 nosy: Mariatta, docs@python, epaine, eric.araujo, ezio.melotti, willingc priority: normal severity: normal status: open title: Devguide recommend against using PRs to update fork
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue42515 _______________________________________
Mariatta mariatta@python.org added the comment:
No need to feel embarrassed about it :) I've made similar mistake in the past.
Sounds good to rename the "Syncing with Upstream" section with "Updating your CPython fork".
If you can open an issue in github.com/python/devguide, that would be great. We can continue the discussion there.
Thanks.
---------- resolution: -> third party stage: -> resolved status: open -> closed
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue42515 _______________________________________