My +1 maint last week started with me digging through some of the other reports to find interesting things to work on but I quickly noticed that having just 2 days for maint work (every other week) meant I was spending quite some time trying to grasp the more complex migrations and I was dearly missing a better way to contextualize and visualize them. So I decided to try to plot the relationships from update excuses to get an actual picture of it using graphviz.
I used ubuntu-archive-scripts/generate-team-p-m as a base and after some modification and playing around with different ways to plot the graphs I had something that seemed worthwhile to share, even if a bit rough right now. The script is at: https://github.com/tdaitx/canonical-tools/blob/master/generate-gv-from-update-excuses I invite others to try it and I would highly appreciate PR's with improved ways to represent the various states a package under migration has. Of the various graphviz tools, I find the 'fdp' tool to be the best for plotting some complex graphs. Example: $ generate-gv-from-update-excuses --packages dpkg,ruby-defaults,setuptools,libpcap,glib2.0,qpdf --components main,universe --excuses-yaml update_excuses.yaml.xz upd_exc.gv $ fdp -Tsvg upd_exc.gv > upd_exc.svg Some ideas for improvements: - allow excluding packages/sets - represent 'reason' in the node somehow (label/style/color/shape) - use urls/html for imap output (could link back to update excuses/autopkgtests) - document or provide a legend of what each shapes/style means -- Tiago Stürmer Daitx Software Engineer tiago.da...@canonical.com PGP Key: 4096R/F5B213BE (hkp://keyserver.ubuntu.com) Fingerprint = 45D0 FE5A 8109 1E91 866E 8CA4 1931 8D5E F5B2 13BE -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel