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安装中执行sudo rosdep init和rosdep update时用到的,可以使用里面的本地文件解决sudo rosdep init和rosdep update失败的问题。是最为彻底的解决方案。使用教程可以看题主的博客:https://blog.csdn.net/qq_30267617/article/details/115028689 如果本资源下载需要积分了那就是系统擅自改的,我已经改回很多次了,实在没办法了。没有积分的请私聊我发送。
资源详情
资源评论
资源推荐
收起资源包目录





































































































共 757 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8











何为其然
- 粉丝: 965
- 资源: 15

上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
最新资源
- 第4次作业_计算税后工资.cpp
- 校园管理 - 学生管理系统源码
- 1047538782469312MOJiRead_channel_google_code_1.5.5_60_20230314182834_NO-HW_release.apk
- stm32的nucleo开发板点亮LED的汇编程序
- WPSOffice-v17.3.2(1394)-v8a,v7a-Balatan.apk
- python练习题代码参考-职工管理系统
- python读取某文件夹下的所有文件名将读出的文件名输出到CSV文件
- Sparse_Identification_Part2.mlx
- python斐波那契数列
- python非递归方式计算阶乘(循环)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制

评论0