Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

How to list dependencies of a package? #107

Closed
firesurfer opened this issue Sep 26, 2016 · 4 comments
Closed

How to list dependencies of a package? #107

firesurfer opened this issue Sep 26, 2016 · 4 comments
Labels
question Further information is requested

Comments

@firesurfer
Copy link
Contributor

How can I use ament in order to list all packages a package depends on? The command ament list_packages only has an option that list all packages that depend on a given package.

@dirk-thomas dirk-thomas added the question Further information is requested label Sep 26, 2016
@dirk-thomas
Copy link
Contributor

There is currently no such functionality on the command line. You have to fall back to read the package.xml of the package.

ament_tools only provides the minimum functionality to perform the processes of building, testing and summarize test results. There are likely many higher level / convenience features missing atm.

@firesurfer
Copy link
Contributor Author

I managed to create debian packages with checkinstall. In order to add dependencies to the debian packages it would have been nice to read the dependencies of a package.

Perhaps I can add this functionality by myself (I'm not that good with python).

@dirk-thomas
Copy link
Contributor

The Python API of ament_package already exposes the information. There is just no command line option in ament_tools for it. Adding a new verb similar to one of the existing ones should be straight forward.

@dhood
Copy link
Contributor

dhood commented Nov 1, 2016

closing this question and adding a TODO ticket in #113

@dhood dhood closed this as completed Nov 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants