-
Notifications
You must be signed in to change notification settings - Fork 129
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
Migration to colcon-enabled version (incl. ROS2 support) #358
Comments
Looks great. Thanks so much for taking an initiative on this. No strong opinions from me.
Lastly apology for ignorance...I assume there isn't a CI setup helper in ros2, something easier to setup like ros buildfarm, industrial_ci? |
No. The "colcon" branch contains a heavily refactored version of industriaLci to support catkin_tools, colcon, ROS1 and ROS2
Not for all, but most users. The new version deafults to catkin_tools for ROS1 and colcon for ROS2.
colcon does not support the devel space anymore (even for ROS1).
They don't have to use it for development, but they should add install tags regardless. |
Thanks @ipa-mdl for this thorough revision. I have yet to familiarize with the new codebase, but it does look much better organized than the old version. The migration path you propose seems reasonable to me. You can find some additional comments I made regarding the specifics of your colcon branch in #333 (comment). |
I just came to the conclusion that it might be easier to just drop the master branch. If it is okay for you, I will make |
Would it be an idea to keep There is a non-zero chance that some setups clone a specific version and/or branch of This would be something similar to a tick-tock release process. |
Good point!
Nobody reads warnings, especially if the build passes.
As a compromise we could keep master until we switch to the |
@miguelprada, @130s: I'd like to switch the default branch to legacy now after #369 was merged, any objections? |
Nothing other than @gavanderhoorn's suggestion of keeping |
I announced the transition to the legacy branch, but did not mention the new branch name.
1 . We could stick with |
This search is far from perfect (it possibly searches only default branches), but suggests not many people are cloning master branch explicitly. Is it so crazy to merge #361 into master and keep legacy as default for a while?
I know I'm contradicting myself here. But most problems are likely to happen when switching the default branch anyways. And the benefits of introducing another named branch may not be worth the added confusion. |
@130s: friendly ping |
I like 3 as it might align the best with popular branching models like git flow and its many variants. That way, we'd maintain As we cannot rule out the chance of having users who specifically clone Once the current major development settles down, we might think about merging develop into master and/or we can eventually remove
Interesting! I have to say though that I assume a good number user repos are private (good thing for us :) |
While I would use this for regular software packages, this seems to be not applicable to
We cannot let development settle down, we need people to test this ASAP.
It was announced more than 3 weeks ago.
No, the legacy branch will be kept in the foreseeable future. That was the point of introducing it. |
I'd like to merge the colcon-ready version into master. I am certain that it is mature enough. PS: The legacy branch will stay the default for some time, but it will get updated to point to the new version. |
TLDR Got it. I missed that the discourse announcement explained branch switch. Comments follow for further discussion but I'm fine with merging #361 |
You mean "not" applicable?
I'm not sure what this means. What I meant was using more common branching will hopefully allow people to grasp the purpose of multiple branches we would have without us having to explain.
I'm a bit confused. Are we planning to keep adding disruptive changes (by "development settle down" I meant no more such changes) like #361? |
Yep 👍 , updated my post
For other ROS packages you have a stable release version, and the devel version.
We will will have
#361 is a disruptive change, but I limited changes to the scope of making colcon work (and maintainable). |
Ok, then I agree with moving forward with #358 (comment)
|
As already discussed in #333, the migration to colcon is the best way to enable ROS2 support.
(see https://github.com/ros-industrial/industrial_ci/projects/1 as well)
I have prepared a working prototype (https://github.com/ipa-mdl/industrial_ci/tree/colcon), which I#d like to move upstream
This new version introduces some new features, but drops some as well (see below).
To migrate to the new version, I propose the following process:
createcolcon
branch upstream (from master)legacy
branch (same as master for some time)legacy
branch default, keep master updatedlegacy
point the themaster
branchand vice versa(deprecate legacy branch #397)@130s, @miguelprada: What do you think?
Features of the new version:
per defaultDropped featrues:
devel
space*.test
files (Remove testing installed test files? #252)The text was updated successfully, but these errors were encountered: