Command-line tools for maintaining a workspace of projects from multiple version-control systems.
ROS Wiki
install |
---|
| sudo apt install python3-vcstool
|
Repos file
project.repo |
---|
| repositories:
my_robot_pkg:
type: git
url: https://github.com/my-org/my_robot_pkg.git
version: main
nav2_bringup:
type: git
url: https://github.com/ros-planning/navigation2.git
version: humble
|
Import and update
import |
---|
| vsc import < project.repos
|
Export
export |
---|
| vsc export > project.repos
|
Use case
- Import
.repos
file from a GitHub repository or using other whays like curl
or wget
.
- Run
vsc import
to clone the repositories.