Dependency graph plugin
Hi, I've setup a first working implementation of a plugin which shows the dependencies between build types as a custom project tab.
I'm planning to spend some more time on it to make it usable in order to visualize dependencies between build types from a single graph.
It's here: http://code.google.com/p/teamcitydependencygraph/
Please sign in to leave a comment.
Simone,
Quite cool! I am sure many of the users will find this useful.
Looking forward to the updates!
Some quick notes and suggesitons in rundom order:
- makes sense to check-in build.properties without local paths, probably with all the lines commented
- can also check-in IDEA-generated dependenciesgraph.xml Ant script to allow building from command line
- can add artifact dependencies with another color
- I've used to drawing the dependencies in opposite directions (from using to the dependency), but that can be a personal preference.
- would be cool to preserve the layout once it is changed by the user
If you want, we can setup a build for the plugin on our demo server.
Hi Yegor, feedback very appreciated. It's my first experiment with TC plugins as well as Java.
I am not yet ready to suggest some approach here.
Seems, the layout can either be:
- unmodifiable (and then it should be good enough by default and the nodes should probably be not draggable)
- modifiable (and then it should be preserved between the sessions (probably per-user))
A logical way here seems to start with the unmodifiable one and then allow modifications and persisting them.
Simone,
Could you please let me know where this new tab with the dependency graph should show up? I have istalled your plugin, but cannot see any changes to the TeamCity GUI (most likely missing something simple). Thanks in advance.
P.S. Good work by the way, was a bit surprised TeamCity does not supply such a graph out of the box.
Hi, the tab should be among the project's tabs, but please take into account that I've only done very preliminar work on this, it's not really usable.
Simone: Do you have any plans on continuing your work with this? I've built the version currently avaliable in your repository and this doesn't appear to currently be working with TeamCity 8.0.4 (build 27616). If I try and go to the tab, I get a blank page and loading the URL manually exposes this stacktrace: