Skip to content
stonier edited this page Nov 7, 2012 · 1 revision

References

It is now based on rules in a centralised rosdep database.

Installation

> sudo apt-get install python-rosdep

Contributing Rules

> git clone [email protected]:yujinrobot/rosdistro.git
> cd rosdistro
> git remote add upstream https://github.com/ros/rosdistro.git
> git fetch upstream

Make sure our rosdistro fork is up to date:

> git merge upstream/master
> git push origin master

Then edit one of the files in @rosdep@ folder. Usually base.yaml or python.yaml. There are two standard guidelines they are insisting on (don't be surprised if your pull request is rejected if you do not do this):

  • Do not bundle (e.g. @avahi -> avahi-daemon && libavahi-core-dev && libavahi-client-dev@)
  • Use the ubuntu name for the abstraction since it's the most commonly used one

Push your changes to our rosdistro fork.

> git commit -a -m "Added rules for xxx and yyy."
> git push

Validating

  • Edit @/etc/ros/rosdep/sources.list.d/20-default.list@.
  • Comment out the following line:
#yaml https://github.com/ros/rosdistro/raw/master/rosdep/base.yaml
  • Insert the following line in its place:
yaml https://github.com/yujinrobot/rosdistro/raw/master/rosdep/base.yaml

Test your rosdep functionality. If it works...

Making it Official

Finally, go to our github project page and hit the pull request button.