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

Document output order of catkin list #663

Open
rgov opened this issue Mar 10, 2021 · 0 comments
Open

Document output order of catkin list #663

rgov opened this issue Mar 10, 2021 · 0 comments

Comments

@rgov
Copy link

rgov commented Mar 10, 2021

System Info

  • Operating System: Linux lrauv-vm 4.15.0-135-generic #139-Ubuntu SMP Mon Jan 18 17:38:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • Python Version: 2.7.17
  • Version of catkin_tools: 0.6.1
  • ROS Distro: Melodic

Expected Behavior

catkin list does not define a sort order of the packages returned. It may be based on a topological sort based on build dependencies, but I'm not completely sure about that.

It would be nice to at least document the existing behavior so that one can tell whether further sorting of the package list is necessary for their purposes.

Since catkin already has the ability to topologically sort the dependency list, it would be nice if you could ask for --sort=build or --sort=run or something like that to choose which dependency list you care about. Then users wouldn't need to write any code to parse the yaml output and sort it themselves.

@rgov rgov changed the title Document output order of catkin-list Document output order of catkin list Mar 10, 2021
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

2 participants