suggests and enhances have no colors in the dot/png
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dotdepends |
Confirmed
|
Medium
|
Unassigned |
Bug Description
As with 'apt-cache depends|rdepends', dotdepends (when the mode is set explicitly to '-m depends' or '-m rdepends') supports arguments that allow one to include Enhances or include Suggests (unlike apt-cache, these are disabled by default).
However, while the resulting dot file uses colors for Depends and Recommends (nodes and joins), it does not use colors for Suggests and Enhances. Such nodes and joins are the default black, which could cause confusion with Depends (which are black)
Suggests and Enhances should either be dropped from the tool (they seem not useful/used) or they code should fully support them with colors as it does Depends and Recommends.
And interim solution may be to comment out the Suggests and Enhances arguments and the help from the man page(s), thus creating internal consistency that supports only Depends and Recommends (the core and useful functionality) and later add full support for Suggests and Enhances.
Related branches
- Matt Fischer (community): Approve
-
Diff: 622 lines (+262/-185)6 files modifiedDotdepends/Dot.py (+25/-18)
debian/changelog (+6/-0)
debian/copyright (+1/-1)
debian/rules (+2/-1)
usr/bin/dotdepends (+30/-14)
usr/bin/dotdepends-merge (+198/-151)