rosindex / rosindex

A community-maintained ROS package index. (site source)
http://rosindex.github.io
GNU General Public License v3.0
3 stars 27 forks source link

tools: Add rosinstall / vcstool file generator #11

Open jbohren opened 9 years ago

jbohren commented 9 years ago

Make it so it's easy to create a "shopping cart" of ros packages and generate a .rosinstall file

dlaz commented 9 years ago

+1!

jbohren commented 9 years ago

@dlaz I'd say #84 will need to happen before this does. As it stands, rosindex can't discern between ros package dependencies and rosdep dependencies.

dlaz commented 9 years ago

That makes sense, though even a tool to generate a rosinstall for just the selected packages and not their deps would be useful.

jbohren commented 9 years ago

That makes sense, though even a tool to generate a rosinstall for just the selected packages and not their deps would be useful.

Yeah, it's also a matter of priorities. The idea for the vcstool file generator would basically just be a javascript that lives on each page and adds the vcs info to a cookie. Then you could click a generate button which would create the yaml for you in a popup modal like: http://getbootstrap.com/javascript/#modals-examples

jbohren commented 9 years ago

@dlaz Ugh man the rosdep format is impossible to parse without prior knowledge of distro versions and package managers (see versions E and F which are indistinguishable): https://gist.github.com/jbohren/cb4e083b033ab841d511

dlaz commented 9 years ago

That certainly makes things harder. A few comments (not sure how much they help):

jbohren commented 9 years ago

It's alright, I'll just add a platform/version tree and a list of managers in the config file, and just iterate through them. It's not worth doing anything fancy.

jbohren commented 9 years ago

@dlaz http://rosindex.github.io/deps/