Migration Tools
===============
Utility scripts for migrating packages between rosdistros.
## Environment and setup
It's recommended to run this script within a virtualenv.
Python 3.6 or newer is required.
In addition to python3 you will also need Git installed.
If you are not already using a credential helper for https git remotes you will need to set one up:
https://git-scm.com/docs/gitcredentials
Install the script's dependencies listed in requirements.txt:
python3 -m pip install -r requirements.txt
Make sure rosdep is initialized if it isn't already.
sudo rosdep init
Configure a GitHub access token and release repository organization.
The token only needs public repository access and must belong to a member of the target GitHub organization with repository creation permissions.
```
GITHUB_TOKEN={token with public repository access}
export GITHUB_TOKEN
```
## Script arguments
The migration script has several named arguments, all of which are required.
* `--dest DEST_ROSDISTRO`: The rosdistro which will receive the newly bloomed repositories.
* `--source SOURCE_ROSDISTRO`: The rosdistro to take release repositories from for migration.
* `--source-ref GIT_COMMIT_ID_OR_REF`: The migration may be attempted multiple times. Each attempt must specify ref or commit to start from so that future changes to the source distribution do not unintentionally affect migration. This also enables platform migration without changing the rosdistro name.
* `--release-org GITHUB_ORG`: A GitHub organization for storing release repositories. If the repository does not exist in this organization a new repository will be created.
## Features
The migration tool currently performs the same operation for all intended use-cases and the different actions are accomplished by setting up the script with a different initial environment.
### Creating a new rosdistro from an existing one
This functionality is intended to support creating new stable ROS distributions from a perennial rolling distribution.
#### Prerequisites
* The local rosdistro index must already have an entry for the target distribution.
* The distribution.yaml file for the target must exist and should have an empty `repositories` field.
### Updating a migrated rosdistro
This functionality is intended to support re-trying failed bloom releases in a ROS distribution migrated previously.
#### Prerequisites
* The local rosdistro index must already have an entry for the target distribution.
* The distribution.yaml must exist and may have some repositories already but repositories which failed to release must have no release version. Removing the release version for failed releases is the default behavior of this tool.
### Updating the platform of an existing rosdistro
This functionality is intended to support updating the supported platforms of the perennial rolling distribution.
#### Prerequisites
* A git commit id or ref name which has the previous platform and desired repositories in the source distribution.
* The current distribution.yaml should specify the desired target platforms and should have an empty `repositories` field.
没有合适的资源?快使用搜索试试~ 我知道了~
安装ROS的修改文件包
共766个文件
rosinstall:676个
yaml:40个
py:35个
需积分: 1 1 下载量 83 浏览量
2022-03-19
22:25:55
上传
评论
收藏 709KB ZIP 举报
温馨提示
安装ROS的修改文件包
资源详情
资源评论
资源推荐
收起资源包目录
安装ROS的修改文件包 (766个子文件)
ros.asc 2KB
run_gource.bash 373B
.gitignore 19B
ros.key 1KB
LICENSE 1KB
20-default.list 493B
CONTRIBUTING.md 13KB
REVIEW_GUIDELINES.md 11KB
README.md 3KB
README.md 2KB
README.md 449B
test_url_validity.py 15KB
migrate-rosdistro.py 12KB
sync-ros2-gbp-devel-branch.py 11KB
__init__.py 10KB
check_blocking_repos.py 8KB
rpm.py 7KB
check_rosdistro_repos.py 7KB
check_duplicates.py 6KB
test_rosdep_repo_check.py 6KB
check_rosdep.py 6KB
hook_permissions.py 6KB
check_rosdistro.py 5KB
yaml.py 5KB
count_rosdistro_packages.py 5KB
deb.py 4KB
check_rosdistro_urls.py 4KB
verify.py 4KB
suggest.py 3KB
test_indexes_equal.py 3KB
add_devel_repo.py 3KB
config.py 2KB
test_build_caches.py 2KB
__main__.py 2KB
rosdistro_verify_test.py 2KB
clean_rosdep_yaml.py 2KB
yaml2rosinstall.py 2KB
add_release_repo.py 1KB
rosdistro_check_urls_test.py 1KB
distro_to_rosinstall.py 1KB
sort_yaml.py 913B
fold_block.py 796B
rosdep_formatting_test.py 687B
rosdep_duplicates_test.py 603B
__init__.py 433B
__init__.py 0B
extras.rosinstall 15KB
isr-uc-ros-pkg.rosinstall 3KB
tu-darmstadt-ros-pkg.rosinstall 2KB
all-iri-ros.pub.rosinstall 2KB
tu-darmstadt-ros-pkg.rosinstall 2KB
uos_depends.rosinstall 2KB
uos_depends.rosinstall 2KB
alufr-ros-pkg.rosinstall 2KB
tum.rosinstall 1KB
RCPRG.rosinstall 1KB
pal-ros-pkg.rosinstall 1KB
pal-ros-pkg.rosinstall 1KB
uos.rosinstall 1KB
timn.rosinstall 1KB
gt-ros-pkg.rosinstall 1KB
kyb-mpg-ros-pkg.rosinstall 1KB
penn-ros-pkg.rosinstall 1KB
uos.rosinstall 1KB
cyphy_ros_pkg.rosinstall 855B
alufr-humanoid_stacks.rosinstall 554B
alufr-humanoid_stacks.rosinstall 544B
dri-ros-pkg.rosinstall 521B
tue.rosinstall 512B
tue.rosinstall 510B
biped_robin.rosinstall 476B
octomap_mapping.rosinstall 361B
ivs-ros-pkg.rosinstall 298B
ivs-ros-pkg.rosinstall 298B
rtm-ros-robotics.rosinstall 278B
drrobot_jaguar_ros_pkg.rosinstall 274B
cn-alica-ros-pkg_depends.rosinstall 248B
kyb-mpg-ros-pkg_depends.rosinstall 245B
cn-alica-ros-pkg_depends.rosinstall 244B
oru-ros-pkg.rosinstall 208B
langs.rosinstall 202B
mcgill-mrl-ros-pkg.rosinstall 183B
unique_identifier.rosinstall 180B
open_street_map.rosinstall 178B
open_street_map.rosinstall 178B
geographic_info.rosinstall 177B
asctec_drivers.rosinstall 168B
nmea_gps_driver.rosinstall 166B
phidgets_drivers.rosinstall 164B
ccny_rgbd_tools.rosinstall 162B
visualization_tutorials.rosinstall 162B
asctec_mav_framework.rosinstall 160B
executive_smach_visualization.rosinstall 159B
executive_smach_visualization.rosinstall 159B
image_transport_plugins.rosinstall 157B
pr2_arm_navigation_tests.rosinstall 157B
visualization_tutorials.rosinstall 157B
camera1394.rosinstall 156B
scan_tools.rosinstall 152B
bosch_manipulation_utils.rosinstall 151B
共 766 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
学无止境的小龟
- 粉丝: 8810
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0