Improve the 'sync changes to upstream' process to respect internal commits
At the moment the 'sync changes to upstream' process syncs all internal facebook commits in one commit on github (for example https://github.com/facebook/flow/commit/63f049dfafe4a53fa1d4875150c88bc7d7efab3f). This makes it quite hard to track what has been fixed and thus, what bugs to close, and what to change in the documentation.
It would be nice if you could keep the commit history when syncing to github. It would be easier for external people to follow what's going on and to help with the development, documentation and bug tracking.
cc @zpao maybe it's possible to reuse your sync script from React
We also do this for https://github.com/facebook/hhvm so someone must know how to do this. @dsereni have you looked into this?
This is definitely intended to be temporary, and I want to get something in place that (a) is safer and (b) preserves history. It's just work :-). The existing automation used by hhvm doesn't work out of the box so we'll need to build something on our side. Not a huge effort but just haven't had time to get to it yet.
I use my script for jstransform too so it's definitely possible (if tedious at times).
:+1: Would be awesome!
Alright, we're starting to sync individual commits! Right now it only happens when I run the script, but the next step is to automate that so it syncs in real time.
Note that since we vendor in hack, we're also syncing all of their commits (mirroring https://github.com/facebook/hhvm/tree/master/hphp/hack/src)
Awesome! This calls for a celebratory firestorm of commits.
cc @dsp
This has been working very well for a while now. This issue can be closed :)