Wiki
Advanced Tools
About 2 min read
Existing English translations were reused. 1 current source blocks remain in Simplified Chinese, without triggering paid translation.
1.VCS batch import repositories
- Install
# debian系
sudo apt install python3-vcstool
# rhel系
sudo dnf install python3-vcstool
# pip3安装
pip3 install vcstool
- File Format
The file extension is.reposor.yamland it must conform to YAML format; otherwise, an error will be reported.
As follows,
repositories: is the general tag
ros_ws is the name of the folder in which the files from this repository should be placed after cloning it.
type is the repository management type, typically git.
The URL is the repository address.
version is the branch name
repositories:
ros_ws:
type: git
url: https://github.com/tungchiahui/ROS_WS.git
version: main
oepncv_projects:
type: git
url: https://github.com/tungchiahui/OpenCV_Projects.git
version: main
The following is a general example:
repositories:
tungchiahui:
type: git
url: https://github.com/tungchiahui/tungchiahui.git
version: main
ros_ws:
type: git
url: https://github.com/tungchiahui/ROS_WS.git
version: main
oepncv_projects:
type: git
url: https://github.com/tungchiahui/OpenCV_Projects.git
version: main
stm32_projetcts:
type: git
url: https://github.com/tungchiahui/STM32_Projects.git
version: main
mdk6_template:
type: git
url: https://github.com/tungchiahui/CubeMX_MDK5to6_Template.git
version: master
serial_pack:
type: git
url: https://github.com/tungchiahui/Serial_Pack.git
version: main
ros-docker:
type: git
url: https://github.com/tungchiahui/ros-docker.git
version: main
CyberRobotROS:
type: git
url: https://github.com/CyberNaviRobot/CyberRobot_ROS2_Jazzy_WS.git
version: main
CyberRobotMCU:
type: git
url: https://github.com/CyberNaviRobot/STM32_FreeRTOS_MainController.git
version: main
- How to use?
Place the YAML file in a folder where you want to store a large number of repositories, and enter the following command:
vcs import < myrepos.yaml

As shown in the figure below, successfully

2.Github proxy
3.Build a blog
使用github搭建自己的博客。