-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adopt pull-requests fom vis and visjs-network #7
Comments
There are a couple of ways to do this (see here https://stackoverflow.com/questions/6022302/how-to-apply-unmerged-upstream-pull-requests-from-other-forks-into-my-fork). Lets say I want to target almende/vis pull #4280 and merge it into the new vis-network. I could do
which sucks the entire pull request across but generates masses of merge conflicts due to the structural changes of the new vis-network. I can also cherry-pick which works just fine for a a single commit like in this pull request. Just wack in the commit ID in almende/vis and git/github figures things out automagically. No merge conflicts and the correct attribution and log messages come across as per the original commit.
I am not sure how to handle bigger pulls with multiple commits. Can cherry-pick do that? |
And from here (https://stackoverflow.com/questions/1670970/how-to-cherry-pick-multiple-commits) you can cherry-pick ranges.
I did notice that I still had to import the entire remote pull request to load all the refs before I could cherry-pick. So my procedure was:
The second example has merge conflicts which would need fixing. This still requires some manual work and analysis of each pull request to see where it belongs and if it is still valid. |
@richardeaxon Thanks! Feel free to provide some useful pull-requests 😉 |
I followed this and was successfull. Here is an example:
|
🎉 [email protected] is now feature-compatible with [email protected] 🚀 |
We should think about how to adopt (old) pull-requests from vis and visjs-network.
Here you can follow the merging progress done in visjs-network: visjs-community/visjs-network#27
Also what would be a good way to provide attribution to the original contributor!?
The text was updated successfully, but these errors were encountered: