Page MenuHomePhabricator

Phabricator to Github repo sync bot
Open, Needs TriagePublic

Description

Currently, we have to push to phabricator manually when we do changes to the phabricator repository. It would be great to have something which synchronizes these things automatically

Event Timeline

schancel created this task.May 2 2018, 15:59
movrcx added a subscriber: movrcx.May 4 2018, 20:26
movrcx added a comment.May 15 2018, 00:57

This might be able to be configured through a Phabricator setting:

https://stackoverflow.com/questions/41219608/synchronize-phabricator-repo-with-github

If you want Phabricator to host the master, you can add a URI with IO type of Mirror for your github repository under Manage Repository / URIs / Add New URI.

Phabricator will then automatically push to the mirror when new changes are committed. You will need to be careful with access to the GitHub repository though - if anyone pushes to GitHub, the changes will be lost, so if possible it should be read-only except for the user that Phabricator is authenticating as.

Yhis will require special privileges, so I'm not sure we want to bootcamp this.

schancel claimed this task.Oct 17 2018, 21:13

I can have teamcity do this with a deploy key in github, if we want.