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

RFE: machine readbale dependency graph #45

Open
hroncok opened this issue Mar 21, 2023 · 3 comments
Open

RFE: machine readbale dependency graph #45

hroncok opened this issue Mar 21, 2023 · 3 comments

Comments

@hroncok
Copy link

hroncok commented Mar 21, 2023

Could I please get the dependency graph in a machine-readable form, preferably a single json file?

Clicking in the web app to explore a complex dep tree ultimately leads me to loops and dead ends. I basically get lost. I need the data, so I can visualize my own subgraph of what I need to see.

What needs to be in the data:

  • components/source packages
  • binary packages
  • binary packages mapped to source packages (edges from binary packages to source packages)
  • requires (edges from binary packages to binary packages)
  • buildrequires (edges from source packages to binary packages)
  • binary packages and/or components mapped to workloads
  • information about unwanted-ness for each binary package and/or component

Thanks.

@asamalik
Copy link
Collaborator

In many places, you can change html to json in the URL and get some data. That works in workloads and (if I remember correctly) in views as well. Probably doesn't have everything you're asking for, but it does have something.

For plain lists scroll down on this page: https://tiny.distro.builders/view--view-eln.html

Otherwise everything you're asking for sounds reasonable and shouldn't be hard, I'll have a look. In the mean time, would you please help me identify what you found and what's missing?

@hroncok
Copy link
Author

hroncok commented Apr 3, 2023

I have this on my TODO but it has low urgency, it might take a while.

@asamalik
Copy link
Collaborator

asamalik commented Apr 3, 2023

I'll let you know here if I'm faster!

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

No branches or pull requests

2 participants