[PATCH] D67772: Update git-llvm script to push to GitHub

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 19 12:25:58 PDT 2019


tstellar created this revision.
tstellar added a reviewer: jyknight.
Herald added a project: LLVM.

Note: This patch should not be pushed until SVN has become read-only.
It should be the first patch committed directly to GitHub.

This patch updates git-llvm to check for merge commits and then push
changes to GitHub if none are found.  All logic related to SVN has been
removed.

I need help testing this to make sure it is robust and that the merge
commit checks can cover every case.  To test only the merge checks,
just run git-llvm push --dry-run.

If you want to also test pushing chagnes, change the GIT_ORG and
GIT_REPO variables to one of your personal github repositories.
You will also need to enable the branch protections and the 'rebased'
status check for the branches you are trying to push to.

You need to run the script at least once with an unpushed commits
in order for the 'rebased' status check to appear as an option
to enable in your github projects configuration.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67772

Files:
  llvm/utils/git-svn/git-llvm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67772.220894.patch
Type: text/x-patch
Size: 23603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190919/5d09d23b/attachment.bin>


More information about the llvm-commits mailing list