corvin 83804e4b05 从github下载最新的rosdistro源码进行初始化仓库 | 2 lat temu | |
---|---|---|
.. | ||
README.md | 2 lat temu | |
migrate-rosdistro.py | 2 lat temu | |
requirements.txt | 2 lat temu |
Utility scripts for migrating packages between rosdistros.
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
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.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.
This functionality is intended to support creating new stable ROS distributions from a perennial rolling distribution.
repositories
field.This functionality is intended to support re-trying failed bloom releases in a ROS distribution migrated previously.
This functionality is intended to support updating the supported platforms of the perennial rolling distribution.
repositories
field.