ipa320 / softkinetic

This repository holds a ROS driver package for an interactive gesture camera (softkinetic).
23 stars 40 forks source link

Apply recent indigo changes on hydro, reunifying both branches #37

Closed corot closed 8 years ago

corot commented 10 years ago

The current status is:

I would suggest people to try indigo, as the benefits are notable. Once people have played around enough with the indigo version, and most problems are solved, I propose to reunify both branches and let only the strictly necessary differences. Of course, only if there's consensus about that!

floweisshardt commented 10 years ago

I support that, please see my comments in https://github.com/ipa320/softkinetic/pull/33#event-173944696 (merging hydro_dev into indigo_dev should always be possible, bringing changes from indigo_dev back to hydro requires cherry-picking)

gavanderhoorn commented 10 years ago

Yes, please try to avoid using github PRs for this. They bring in a lot of commits in the form of 'merging pull request from ..'. That could be intentional (preserving commit provenance), but when trying to keep two release branches in sync, it quickly pollutes the history of your repository. Especially when there is cross-syncing between branches.

corot commented 10 years ago

Well, actually I propose the opposite: pull request the recent changes on indigo to hydro, so both get unified on current indigo_dev basis. The merge will affect the ROS API, as on indigo we have adopted the existing conventions (see #4). That's why I ask people to give a try and approve indigo changes before applying them to hydro.

corot commented 10 years ago

Sorry, I see your comment now. The good thing of merging the branches is that they will appear as reunified on both the fork tree and when comparing branches. What's the alternative to PRs? Sorry, I'm not very experienced on managing github projects.

gavanderhoorn commented 10 years ago

@corot: @ipa-fmw already mentioned cherry-picking. Depending on the amount of changes you want to backport, that is a viable alternative. A regular command line merge might also be an option, leaving out the PR merges (although that removes the provenance information).

Unfortunately, choosing the right way seems to be rather personal and based on the repository maintainers' preferences. I just wanted to draw attention to the fact that cross-branch syncing can become really ugly really soon.

corot commented 10 years ago

I'm not a git expert, but I suppose there must be a way to get both:

Ideas:

Selective cherry-picks will be risky and tedious, as incorporating only some improvements will easily break working, and I don't have enough time to do it properly step by step.

To be clear: I'm new here, so I let you choose.

Another point I want to remind here: indigo and hydro APIs are not compatible now, as on indigo we have adopted the existing conventions (see #4). So we should warn people using hydro before if we decide to merge.

gavanderhoorn commented 9 years ago

@corot: another nice write-up about squashing commits is Squashing Github pull requests into a single commit .

As to the options you list: I have no preference, I only wanted to point out that regular github PRs can quickly turn a nice history into spaghetti :).

corot commented 8 years ago

Following the effort for clearing PRs and issues... I suppose we only bugfix hydro (if so), so we can close this issue