ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to use custom base.yaml and python.yaml for rosdep

asked 2019-03-23 06:50:33 -0600

Christian Rauch gravatar image

How can I point rosdep to custom files rosdep/base.yaml and rosdep/python.yaml?

I would like to test changes to the rosdep files before submitting a PR to the upstream repo or use my custom rosdep fork in a CI environment and not have to wait for my PR to be merged.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-03-23 11:51:41 -0600

tfoote gravatar image

You can add a rule to the rosdep sources list with your custom rules: https://docs.ros.org/independent/api/...

You can use a file:// url for local files for quick testing.

edit flag offensive delete link more

Comments

Do you mean to change all links in the file /etc/ros/rosdep/sources.list.d/20-default.list? E.g. from yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml to yaml https://raw.githubusercontent.com/<your_user>/rosdistro/<your_branch>/rosdep/python.yaml.

Christian Rauch gravatar image Christian Rauch  ( 2019-03-24 11:13:44 -0600 )edit

You can insert instead of replacing. The first match is used. That will be easier to revert. And if you have a fork on GitHub that's the right sort of url.

tfoote gravatar image tfoote  ( 2019-03-24 13:55:52 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-03-23 06:50:33 -0600

Seen: 626 times

Last updated: Mar 23 '19