odb icon indicating copy to clipboard operation
odb copied to clipboard

being able to output dependencies

Open UnixJunkie opened this issue 12 years ago • 4 comments

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.

UnixJunkie avatar May 25 '12 05:05 UnixJunkie

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: https://github.com/thelema/odb/issues/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.

thelema avatar May 25 '12 13:05 thelema

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 avatar Jul 17 '12 01:07 UnixJunkie

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 avatar Aug 27 '12 09:08 UnixJunkie

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

UnixJunkie avatar Aug 29 '12 09:08 UnixJunkie