husarion / rosbot_ros

ROS packages for ROSbot 2, 2R and 2 PRO
132 stars 62 forks source link

Set versions of repositorys in .repos file to a tag or commit instead of branches #105

Closed Heenne closed 4 months ago

Heenne commented 7 months ago

Hello,

currently I am setting up a lab at a university. Problem is, we dont always want the latest version but get a stable version going and then update once in a while and fix the problem that come with it. But this does not work with the rosbot_hardware.repos and rosbot_simulation.repos files in this repository. I can try to use an older version of the rosbot_ros repository but due to the .repos file selecting the branch it will always pick the latest version. In my opinion it would be much better to set the repositories in the .repos-files to a fixed tag or commit. This would allow for cloning the rosbot_ros repo with an older version and also get the dependencies with the version that worked together.

I am looking forward hearing your view on this. Currently, the only option I see for me is to clone each repo manually or edit the .repos-files.

Best regards Heenne

rafal-gorecki commented 6 months ago

Hello @Heenne,

Thank you for your patience and I will quickly explain. We are currently working to ensure that rosbot_ros has the latest version of the code, and we use Docker to distribute tested versions. You can use the version ending with the stable tag or just humble to download the latest stable version.

Your suggestion is good, but for now we have this approach in several of our repositories, so for now we keep the current version for consistency.

Regards