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

being able to output dependencies #50

Open
UnixJunkie opened this issue May 25, 2012 · 4 comments
Open

being able to output dependencies #50

UnixJunkie opened this issue May 25, 2012 · 4 comments

Comments

@UnixJunkie
Copy link

Hello,

I about I add the possibility to output the dependency
graph of all installed packages in a way that
can be used by external tools such as dot from graphviz
so that people can visualize the dependency graph?

Regards,
F.

@thelema
Copy link
Owner

thelema commented May 25, 2012

On 05/25/2012 01:26 AM, Francois Berenger wrote:

Hello,

I about I add the possibility to output the dependency
graph of all installed packages in a way that
can be used by external tools such as dot from graphviz
so that people can visualize the dependency graph?

Regards,
F.


Reply to this email directly or view it on GitHub:
#50

That sounds like an interesting and potentially useful project. It can
fit into the odb project if you like, but I'm hesitant to include it
inside the odb.ml file. As a separate program, no problem. Also, only
doing this for installed packages doesn't need odb, only findlib, but it
may be a good destination. Try starting by drawing the dep graph of all
packages in a repo.

E.

@UnixJunkie
Copy link
Author

OK, the first step will be to have a real graph in the Dep module of odb.ml.
I may do this after my "user re-definable actions" proposal.
Then, we may become able to update /re-install packages more efficiently
or to uninstall some properly.

@UnixJunkie
Copy link
Author

Should I try to display the dependency graph from odb or
just output the graph to a user-given filename
and output the command to convert it to a png file?
Then the user will use whatever png viewer he likes to see it.

I think the latter is better as it does not imply any dependency
to the graphviz toolsuite neither any image viewer.

@UnixJunkie
Copy link
Author

Hello,
I sent a pull request concerning this feature request.

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