Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to use bloom get a release ros package but i meet some problem #660

Open
885288421 opened this issue Dec 27, 2021 · 0 comments
Open

Comments

@885288421
Copy link

Specified repository 'agxrobots_test' is not in the distribution file located at 'https://raw.githubusercontent.com/ros/rosdistro/master/melodic/distribution.yaml'
Did you mean one of these: 'ros_pytest', 'pyros_test', 'robot_one'?
Could not determine release repository url for repository 'agxrobots_test' of distro 'melodic'
You can continue the release process by manually specifying the location of the RELEASE repository.
To be clear this is the url of the RELEASE repository not the upstream repository.
For release repositories on GitHub, you should provide the https:// url which should end in .git.
Here is the url for a typical release repository on GitHub: https://github.com/ros-gbp/rviz-release.git
==> Looking for a release of this repository in a different distribution...
No reasonable default release repository url could be determined from previous releases.
Release repository url [press enter to abort]: https://github.com/885288421/agxrobots_test_release.git
==> Fetching 'agxrobots_test' repository from 'https://github.com/885288421/agxrobots_test_release.git'
Cloning into '/tmp/tmpjHpHwc'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (3/3), done.
Creating track 'melodic'...
Repository Name:
upstream
Default value, leave this as upstream if you are unsure

Name of the repository (used in the archive name)
['upstream']: agxrobots_test
Upstream Repository URI:

Any valid URI. This variable can be templated, for example an svn url
can be templated as such: "https://svn.foo.com/foo/tags/foo-:{version}"
where the :{version} token will be replaced with the version for this release.
[None]: https://github.com/885288421/agxrobots_test.git
Upstream VCS Type:
svn
Upstream URI is a svn repository
git
Upstream URI is a git repository
hg
Upstream URI is a hg repository
tar
Upstream URI is a tarball
['git']:
Version:
:{ask}
This means that the user will be prompted for the version each release.
This also means that the upstream devel will be ignored.
:{auto}
This means the version will be guessed from the devel branch.
This means that the devel branch must be set, the devel branch must exist,
and there must be a valid package.xml in the upstream devel branch.

This will be the version used.
It must be updated for each new upstream version.
[':{auto}']:
Release Tag:
:{none}
For svn and tar only you can set the release tag to :{none}, so that
it is ignored. For svn this means no revision number is used.
:{ask}
This means the user will be prompted for the release tag on each release.
:{version}
This means that the release tag will match the :{version} tag.
This can be further templated, for example: "foo-:{version}" or "v:{version}"

This can describe any vcs reference. For git that means {tag, branch, hash},
for hg that means {tag, branch, hash}, for svn that means a revision number.
For tar this value doubles as the sub directory (if the repository is
in foo/ of the tar ball, putting foo here will cause the contents of
foo/ to be imported to upstream instead of foo itself).

[':{version}']:
Upstream Devel Branch:

Branch in upstream repository on which to search for the version.
This is used only when version is set to ':{auto}'.
[None]:
ROS Distro:

This can be any valid ROS distro, e.g. indigo, kinetic, lunar, melodic
['melodic']:
Patches Directory:
:{none}
Use this if you want to disable overlaying of files.

This can be any valid relative path in the bloom branch. The contents
of this folder will be overlaid onto the upstream branch after each
import-upstream. Additionally, any package.xml files found in the
overlay will have the :{version} string replaced with the current
version being released.
[None]:
Release Repository Push URL:
:{none}
This indicates that the default release url should be used.

(optional) Used when pushing to remote release repositories. This is only
needed when the release uri which is in the rosdistro file is not writable.
This is useful, for example, when a releaser would like to use a ssh url
to push rather than a https:// url.
[None]:
Created 'melodic' track.
==> Testing for push permission on release repository
==> git remote -v
origin [email protected]:885288421/agxrobots_test_release.git (fetch)
origin [email protected]:885288421/agxrobots_test_release.git (push)
==> git push --dry-run
To github.com:885288421/agxrobots_test_release.git
1c82ea3..af658f7 master -> master
==> Releasing 'agxrobots_test' using release track 'melodic'
==> git-bloom-release melodic
Processing release track settings for 'melodic'
Checking upstream devel branch '' for package.xml(s)
Cloning into '/tmp/tmpeXfZsk/upstream'...
remote: Enumerating objects: 493, done.
remote: Counting objects: 100% (493/493), done.
remote: Compressing objects: 100% (308/308), done.
remote: Total 493 (delta 174), reused 478 (delta 162), pack-reused 0
Receiving objects: 100% (493/493), 124.80 MiB | 6.94 MiB/s, done.
Resolving deltas: 100% (174/174), done.
Looking for packages in 'master' branch... found 13 packages.
Detected version '0.0.1' from package(s): ['scout_base', 'hunter_base', 'tracer_bringup', 'hunter_bringup', 'scout_bringup', 'tracer_gazebo_sim', 'scout_description', 'scout_msgs', 'hunter_msgs', 'tracer_description', 'tracer_base', 'ugv_sdk', 'tracer_msgs']

Executing release track 'melodic'
==> bloom-export-upstream /tmp/tmpeXfZsk/upstream git --tag 0.0.1 --display-uri https://github.com/885288421/agxrobots_test.git --name agxrobots_test --output-dir /tmp/tmpECMJnA
Checking out repository at 'https://github.com/885288421/agxrobots_test.git' to reference '0.0.1'.
Exporting to archive: '/tmp/tmpECMJnA/agxrobots_test-0.0.1.tar.gz'
Traceback (most recent call last):
File "/usr/bin/bloom-export-upstream", line 14, in
load_entry_point('bloom==0.10.7', 'console_scripts', 'bloom-export-upstream')()
File "/usr/lib/python2.7/dist-packages/bloom/commands/export_upstream.py", line 150, in main
args.display_uri, args.name)
File "/usr/lib/python2.7/dist-packages/bloom/commands/export_upstream.py", line 127, in export_upstream
if not upstream_repo.export_repository(tag or '', tarball_path):
File "/usr/lib/python2.7/dist-packages/vcstools/git.py", line 755, in export_repository
archiver.create(filepath)
File "/usr/lib/python2.7/dist-packages/vcstools/git_archive_all.py", line 161, in create
self.archive_all_files(archiver)
File "/usr/lib/python2.7/dist-packages/vcstools/git_archive_all.py", line 277, in archive_all_files
for file_path in self.walk_git_files():
File "/usr/lib/python2.7/dist-packages/vcstools/git_archive_all.py", line 309, in walk_git_files
if not path.islink(repo_file_abspath) and path.isdir(repo_file_abspath):
File "/usr/lib/python2.7/posixpath.py", line 140, in islink
st = os.lstat(path)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 48-51: ordinal not in range(128)

<== Error running command '['/usr/bin/bloom-export-upstream', '/tmp/tmpeXfZsk/upstream', 'git', '--tag', '0.0.1', '--display-uri', 'https://github.com/885288421/agxrobots_test.git', '--name', 'agxrobots_test', '--output-dir', '/tmp/tmpECMJnA']'
Release failed, exiting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant