Merge lp:~brian-murray/ubuntu-archive-tools/team-in-mismatch-svg into lp:ubuntu-archive-tools

Proposed by Brian Murray
Status: Merged
Merged at revision: 942
Proposed branch: lp:~brian-murray/ubuntu-archive-tools/team-in-mismatch-svg
Merge into: lp:ubuntu-archive-tools
Diff against target: 21 lines (+3/-1)
1 file modified
component-mismatches (+3/-1)
To merge this branch: bzr merge lp:~brian-murray/ubuntu-archive-tools/team-in-mismatch-svg
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+252777@code.launchpad.net

Description of the change

Use the tooltip feature of dot to display tooltips for the package subscribers in the svg file generated.

To post a comment you must log in.
943. By Brian Murray

fix accidental removal of blank line

Revision history for this message
Brian Murray (brian-murray) wrote :

When working on this I noticed the function get_teams() which seems unused, I wonder if it is worth keeping.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'component-mismatches'
--- component-mismatches 2014-12-17 14:02:19 +0000
+++ component-mismatches 2015-03-12 16:50:27 +0000
@@ -327,7 +327,8 @@
327 return name327 return name
328 written_nodes.add(name)328 written_nodes.add(name)
329329
330 fd.write(' "%s" [label="%s" style="filled"' % (name, name))330 fd.write(' "%s" [label="%s" style="filled" tooltip="%s"' %
331 (name, name, ', '.join(package_team_mapping[name])))
331332
332 mirs = mir_bugs.get(name, [])333 mirs = mir_bugs.get(name, [])
333 approved_mirs = [334 approved_mirs = [
@@ -503,6 +504,7 @@
503 results = {}504 results = {}
504 results["time"] = int(options.time * 1000)505 results["time"] = int(options.time * 1000)
505506
507 global package_team_mapping
506 package_team_mapping = defaultdict(set)508 package_team_mapping = defaultdict(set)
507 if os.path.exists(options.package_team_mapping):509 if os.path.exists(options.package_team_mapping):
508 with open(options.package_team_mapping) as ptm_file:510 with open(options.package_team_mapping) as ptm_file:

Subscribers

People subscribed via source and target branches