lp:~knitzsche/dotdepends/bug-1022674
- Get this branch:
- bzr branch lp:~knitzsche/dotdepends/bug-1022674
Branch merges
- Mike Carifio: Approve
-
Diff: 39 lines (+13/-2)2 files modifieddebian/changelog (+7/-0)
usr/bin/dotdepends (+6/-2)
Branch information
Recent revisions
- 67. By Kyle Nitzsche
-
fix recent failures of -d option on dotdepends (disables auto running of
dot to produce pngs in default mode). LP: #1022674 - 65. By Kyle Nitzsche
-
* usr/bin/dotdepends: move import of Dotdepends after code needed to set
sys.path so that nose tests can succesfully import
* remove extraneous and incorrect line in setup.py - 61. By Kyle Nitzsche
-
* always add root pkg to dot file in first line as comment: //root:PKG
* usr/bin/dotdepends- merge: merges two dotdepends-produced DETAILE.dot files:
- root pkg nodes are blue fille
- dot 1 nodes are boxes and grey-filled
- dot 2 nodes are ellipses and brown-filled
- nodes in BOTH dot 1 and dot 2 are diamonds and orange filled
- Depends are black arrows
- Recommends are red arrows
- Packages installed by Depends are black bordered
- Packages only installed if Install-Recommends are red boreded
* add dotdepends-merge man page
* usr/bin/dotdepends:
- recursive get_deps() now explicitly tracks packages that are
only installed by Recommends in onlyRecs var
- move replacement() from here to Dot.py to make it importable (it is
needed by dotdepends-merge)
- always double quote style values, as in: color="red"
- let the first line of the generated dot be a comment that states the
- when creating the nodes, do so using a dictionary for its styles to
facilitate modifying the styles in code (instead of a list)
* Dot.py:
- dot2png(): take node shape from arg with default of box
- replacement(): mv this function here as a module function so that other
code can use it after importing this module
- Dot():
> let the node shape be passed to constructor with default of box and
provide command line arg to set it.
> add get_root() method. This is used to add the root pkg to the dot
as a comment, and this is used by other code, for instance
dotdepends- merge
> get_header(): ensure the new root node comment is added to header
* usr/share/dotdepends/ expirimental/ dotdepends- merge: creates dot and png
that merges two dot files produced by dotdepends (run for different root
pkgs). Pkgs installed only by one root pkg are boxes and gray. Pkgs
installed only by the other are ellipse and brown. Pkgs installed by BOTH
are diamonds and orange. - 59. By Mike Carifio
-
test/test_
dotdepends_ executable. py: works with gedit too.
Doesn't need to be installed - 58. By Mike Carifio
-
debian/control: Remove gedit as a build dependency.
test/test_dotdepends_ executable. py: Replace gedit with vi as a test case.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:dotdepends