You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In contrast to the merge-strategy suggested in #26 (comment), I propose the following for the future:
git clone https://github.com/ros-planning/moveit2
cd moveit2
git fetch https://github.com/ros-planning/moveit master # fetch MoveIt 1 branch
git merge FETCH_HEAD # and merge into MoveIt 2 head
If approved, such a sync PR should be "merged" manually using fast-forward. github's web interface doesn't provide such an option!
Using github's merge commit, will create another, superfluous commit and squashing or rebasing doesn't make sense at all.
However, looks like @davetcoleman has forbidden to push to the MoveIt 2 repo from cmdline. This is a typical use case, where interaction from cmdline is desirable 😉
When there are no merge conflicts, the following procedure using github's web interface will work too:
git clone https://github.com/ros-planning/moveit2
cd moveit2
git fetch https://github.com/ros-planning/moveit master # fetch MoveIt 1 branch
git checkout -b melodic-sync FETCH_HEAD # check it out as branch melodic-sync
git push origin melodic-sync # push to file a PR
Subsequently, file a PR for the created melodic-sync branch and merge using a standard merge-commit.
However, looks like @davetcoleman has forbidden to push to the MoveIt 2 repo from cmdline. This is a typical use case, where interaction from cmdline is desirable wink
I don't think we should push a large amount of code (a bunch of commits from moveit1) into a repo without first ensuring that the CI passes and the code changes are reviewed.
I don't think we should push a large amount of code (a bunch of commits from moveit1) into a repo without first ensuring that the CI passes and the code changes are reviewed.
I fully agree! How is your comment, @davetcoleman, related to my suggestion for a sync strategy?
i added the quote i was replying to in my above comment.
@rhaschke also do you mind doing another moveit1 / moveit2 sync? its been a week since the last one and you're certainly the most experienced to take it on.
@rhaschke also do you mind doing another moveit1 / moveit2 sync?
Done: #47. @davetcoleman, please allow fast-forward merging from the cmdline to avoid unnecessary complex merge history (of two merge-commits in a row). This PR is already a merge commit and the github web interface would add another, superfluous one.
@rhaschke this is what the current settings are for the moveit2 repo:
I believe what you are asking for is to have no protection to the master branch, correct?
What if instead we temporarily disabled this protection just for the occasional moveit1/moveit2 sync. Would that work?
Still, I'm concerned we will then break the master build since we won't be able to run CI and there will surely be regressions during the sync. Do you have a suggestion for this?
Finally, what would your exact git commands be if you could push directly to master?
I believe what you are asking for is to have no protection to the master branch, correct?
Yes.
What if instead we temporarily disabled this protection just for the occasional moveit1/moveit2 sync.
That should be sufficient.
Still, I'm concerned we will then break the master build since we won't be able to run CI and there will surely be regressions during the sync. Do you have a suggestion for this?
I need to emphasize once more, that I never suggested to push to master without running Travis or having reviews beforehand. Consider for example #47. This was a essentially a merge-commit that was prepared by me, resolving all conflicts from merging MoveIt 1 commits into MoveIt 2.
However, instead of using github's web gui for merging, which creates an extra merge commit, I suggest to fast-forward master to this prepared merge-commit after successful review and Travis check.
Finally, what would your exact git commands be if you could push directly to master?
This can be easily accomplished - from commandline - with git push origin master
If you like, @davetcoleman, I can handle this is future.
This commit tree shows the extra merge-commits generated by github (the 2 selected commits):
Activity
davetcoleman commentedon Mar 15, 2019
I don't think we should push a large amount of code (a bunch of commits from moveit1) into a repo without first ensuring that the CI passes and the code changes are reviewed.
rhaschke commentedon Mar 15, 2019
I fully agree! How is your comment, @davetcoleman, related to my suggestion for a sync strategy?
davetcoleman commentedon Mar 15, 2019
i added the quote i was replying to in my above comment.
@rhaschke also do you mind doing another moveit1 / moveit2 sync? its been a week since the last one and you're certainly the most experienced to take it on.
rhaschke commentedon Mar 16, 2019
Done: #47.
@davetcoleman, please allow fast-forward merging from the cmdline to avoid unnecessary complex merge history (of two merge-commits in a row). This PR is already a merge commit and the github web interface would add another, superfluous one.
davetcoleman commentedon Mar 19, 2019
@rhaschke this is what the current settings are for the
moveit2repo:I believe what you are asking for is to have no protection to the
masterbranch, correct?What if instead we temporarily disabled this protection just for the occasional moveit1/moveit2 sync. Would that work?
Still, I'm concerned we will then break the master build since we won't be able to run CI and there will surely be regressions during the sync. Do you have a suggestion for this?
Finally, what would your exact git commands be if you could push directly to
master?rhaschke commentedon Mar 20, 2019
Yes.
That should be sufficient.
I need to emphasize once more, that I never suggested to push to master without running Travis or having reviews beforehand. Consider for example #47. This was a essentially a merge-commit that was prepared by me, resolving all conflicts from merging MoveIt 1 commits into MoveIt 2.
However, instead of using github's web gui for merging, which creates an extra merge commit, I suggest to fast-forward master to this prepared merge-commit after successful review and Travis check.
This can be easily accomplished - from commandline - with
git push origin masterIf you like, @davetcoleman, I can handle this is future.
This commit tree shows the extra merge-commits generated by github (the 2 selected commits):

Merge pull request moveit#45 from AcutronicRobotics/trajectory_execut…
Kinetic panda mgpi (moveit#45)
updated to meta.keys() (moveit#45)
Updated moveit2_tutorials cmake (moveit#43)