.txt files report pkg names wrong

Bug #1036232 reported by Kyle Nitzsche
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dotdepends
Confirmed
High
Unassigned

Bug Description

when you run dotdepends in analyze mode against a package like this:
$ dotdepends apkg

it generates a directory names apkg that contains two text files:
* apkg-depends-NoRecommends-NoSuggests-NoEnhances-PACKAGES.txt
* apkg-depends-Recommends-NoSuggests-NoEnhances-PACKAGES.txt

These two files list packages that would be installed if you installed 'apkg' in two cases:
* install-recommends OFF
* install-recommends ON

The pkg names listed in the files are not the actual package names but are the mangled versions of them required to use them as dot node names. (In the actual .dot file, the mangled name is corrected via a label="therealname" style.

The pkg names should be the real package names, not the mangled ones so that we can grep the txt files for pkgs.

This could be fixed with a dictionary (in Dot.py > Dot class) where the key is the mangled name and the value is the real name. When writing the text files, use the dict to get the right value to write.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.