To clone all ROS2 repositories
Is there a simple script that allows one to clone all ROS2 repositories listed here: https://github.com/ros2? Say, i want the eloquent branch for each repo.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is there a simple script that allows one to clone all ROS2 repositories listed here: https://github.com/ros2? Say, i want the eloquent branch for each repo.
Asked: 2021-02-04 03:13:18 -0600
Seen: 688 times
Last updated: Feb 04 '21
Is there a release date of ros 2 or more informations about it?
Is the planned ROS1 to ROS2/DDS bridge available yet?
ROS2: content-based topic subscriptions?
Building Ros 2.0 without OpenCV?
ros2 rttest example build error
ROS 2 Alpha 2 ros1_bridge using DDS between two computers
I'm not sure this is ROS-specific.
"All ROS 2 repositories" is ambiguous also.
If you're interested in cloning all repositories in a certain Github organisation, then solutions like this one could work (but there are many more).
If you're looking to clone the source repositories of specific ROS 2 releases, then you'd probably want to use something like:
this would clone the source repositories of the relevant packages/dependencies for Eloquent, patch release 2.
If you replace
eloquent-release
witheloquent
, you'd get the state of the branches targetting Eloquent in those repositories, which is potentially different from the packages released into Eloquent.This question is not ROS related, it's more a git clone problem. afaik there is no 'standard' solution for this. you can use the github API to get all repositories of a user/organization, then you can just loop over that and git clone -b it.