[core-workflow] New Github Features

Donald Stufft donald.stufft at gmail.com
Fri Apr 1 15:27:23 EDT 2016


Just wanted to point out a few new features from GitHub that may (or may not!)
be useful for Python’s use of Github:

* Required status checks no longer requiring a branch to be up to date.

  Previously turning on required status checks meant that to merge a branch
  into a protected branch, you the target branch could not contain any commits
  that  didn’t exist in the PR. This effectively made the feature useless for
  OSS projects, but it could be useful now. Of course this would also mean that
  all changes need to happen via PR instead of directly pushing to a protected
  branch, so it may not still be useful for Python.

* Squash Merges, Regular Merges, or Both.

  Previously the GitHub "Merge" button would always do a regular, no fast
  forward merge which kept all of the commits that the original author made
  intact. However GitHub now allows a repository to decide what kind of merges
  it allows, either that or sqaush merges (or it can allow both). If it allows
  both then the person doing the merge gets to pick what kind of merge I think.

  A Squash merge will be most similar to how patches used to land on Python
  and would prevent history from getting clogged up with needless commits from
  people who don't edit history to keep their PRs clean, however it might lose
  history from people who do.


-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/core-workflow/attachments/20160401/16d89e27/attachment.sig>


More information about the core-workflow mailing list