lp:~knitzsche/dotdepends/bug-1023095
- Get this branch:
- bzr branch lp:~knitzsche/dotdepends/bug-1023095
Branch merges
- Mike Carifio: Approve
-
Diff: 316 lines (+48/-66)5 files modifiedDotdepends/Dot.py (+17/-10)
debian/changelog (+10/-0)
debian/rules (+0/-1)
usr/bin/dotdepends (+6/-12)
usr/bin/dotdepends-merge (+15/-43)
Related bugs
Bug #1023095: dotdepends-merge on DETAIL.dot files: wrong red border | High | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 70. By Kyle Nitzsche
-
* dotdepends-merge: fixed some blurry logic on setting node borders red
* rest is mostly code cleanup - 69. By Kyle Nitzsche
-
redundant 'color="red"' styles in nodes in generated pkg-DETAIL.dot files
caused dotdepends-merge on such dot files to incorrected draw some node
borders, colorwise. fixes LP: #1023095 - 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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:dotdepends