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

rqt_dep: display package info from different distro? #356

Closed
scpeters opened this issue Mar 8, 2016 · 4 comments
Closed

rqt_dep: display package info from different distro? #356

scpeters opened this issue Mar 8, 2016 · 4 comments

Comments

@scpeters
Copy link
Contributor

scpeters commented Mar 8, 2016

We are approaching releasing season for ROS K, and a common question is which packages are blocking the release of other packages. The rqt_dep tool is great for visualizing package dependencies. It would be great if we could use this tool to visualize which packages have been released into a new ROS distro, to identify the blockages.

In discussing this in the past, a known complicating factor is that dependencies may change from one ROS distro to the next, so this can be an ill-posed problem in some cases.

Most of the time, though, the dependencies don't change from one distro to the next. As a first step, I would load rqt_dep with the most recently released ROS distro (jade at the moment) and would like to select another distro from a drop-down combo-box and then colorize the graph.

Any hints are welcome.

@dirk-thomas
Copy link
Contributor

That sound's like an interesting extension. Currently rqt_dep only queries the state of the packages on the system using rospkg. The feature you describe would need to use rosdistro to have access to packages not on the system as well as other distributions.

It would be great if you could work on extending this plugin or creating a new plugin which uses rosdistro for this purpose.

@wjwwood
Copy link
Member

wjwwood commented Mar 8, 2016

I think that rqt_dep only operates on what packages you have locally. So, you need to have all of the packages in Indigo installed to get rqt_dep to see them. So the first thing you'd want to do is make rqt_dep or a new tool like rqt_dep able to pull information from the rosdistro cache. This is a file that our build farm generates very frequently which contains all the released packages for a distribution. It also includes the package.xml files for each of those released packages. This is how the script that generates the wiki page works:

https://github.com/ros-infrastructure/ros.org_scripts/blob/master/wiki.ros.org/jade_metapackage_status.py

So it would be a marriage of the above script's data access and rqt_dep's graph visualization logic.

@scpeters
Copy link
Contributor Author

scpeters commented Mar 8, 2016

Thanks, that should be enough to get started.

@dirk-thomas
Copy link
Contributor

This issue was moved to ros-visualization/rqt_dep#2

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

No branches or pull requests

3 participants