probot / ideas

Share ideas for new GitHub Apps built with Probot
96 stars 48 forks source link

sync a public and private pair of repos #97

Closed zeke closed 5 years ago

zeke commented 5 years ago

I'm working on a project that is currently in a private repo. We want to open source the repo, but also want to maintain a private fork for doing work that's not ready for the public eye.

It would be neat if there was a probot app that could watch two repos and keep them in sync, bidirectionally. It could potentially open pull requests, or just merge straight into a given branch. 🤔

I found this old Sinatra app which pretty closely matches the behavior we're looking for: https://github.com/gjtorikian/repository-sync

TiagoDanin commented 5 years ago

Another similar is Pull (Only work in public repositories).

zeke commented 5 years ago

Lo and behold, it exists now! https://github.com/repo-sync/repo-sync -- the implementation ended up using GitHub Actions instead of Probot, but hey whatever works.

Major props to @wei for helping make this happen.

GitHub
repo-sync/repo-sync
Keep a pair of GitHub repos in sync. Contribute to repo-sync/repo-sync development by creating an account on GitHub.