skip to navigation
skip to content

Not Logged In

dependency_grapher 0.1.4

Graph Dependencies

Command line tools for generating Dependency Graphs in Gus.

This utility relies on GraphViz to generate visualizations.

On Mac you can install graphviz using brew. If brew is not installed, do the following:

  1. Go to the app store and install xcode...its free

  2. Go to a command line and paste:

    ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

With brew installed you can now install graphviz

brew install graphviz

If on windows, just go to http://www.graphviz.org/ and install the latest package.

Once graphviz is installed, you should make sure python is installed. On a mac, it should already be there, on windows go to http://www.python.org/ and install the package

With python installed, you need pip to install the packages you need. On a mac, you can just run

sudo easy_install pip

On windows, you will need ot install setuptools first and then run the command

easy_install pip

Finally, now that pip is installed you can install the package:

[sudo] pip install dependency_grapher

The script will be put in your path:

graph_dependencies.py

If you run the command by itself, it will log into gus and then create a graph for each team you are a member of with >0% allocation. If you type:

graph_dependencies.py -h

You will see the options available:

-t TEAMID - limit output to the specified team id -r RELEASE - limit output to a specified release -m THEMEID - graph all dependencies related to a theme -o - limit output to non-closed items

The command will place output in your current directory:

  • PDF
  • HTML
  • PNG
  • MAP
  • DOT

Graphs are color coded by status:

Red: Item is not being looked at (ie New, Deferred) Green: Item is completed or closed Yellow: Item is code complete or committed but not verified yet Orange: All other statuses (ie In progress, Prioritized)

 
File Type Py Version Uploaded on Size
dependency_grapher-0.1.4-py2.7.egg (md5) Python Egg 2.7 2013-12-16 9KB
dependency_grapher-0.1.4.tar.gz (md5) Source 2013-12-16 5KB
  • Downloads (All Versions):
  • 61 downloads in the last day
  • 384 downloads in the last week
  • 1029 downloads in the last month