lundi 2 juillet 2012

Adding useful links on bugreports pages

I'm a heavy user of Debian's Bug Tracking System (especially during this period of the year ;)) and I quite like it. And as a Debian developer, I have to check multiple sources when looking at some source package. Namely, I mainly check the following sources:
All this is great since you can move from the first one to the second one (and vice-versa) just by clicking with your mouse. It becomes less handy when you are looking at any bug report. In fact, the BTS doesn't link back to the previously mentioned services [1]. So, you have to copy/paste the name of the package or start a new tab and write down the address of the desired service. All this is not very nice for a lazy person like me :)

A few days ago, I remembered that I was already using GreaseMonkey and thought : "Hey, it would be nice to hack quickly something using GM to add the missing links". After a few tests, I've come up with a (very simple, yet extremely useful to me) user script that I called Debian BTS extra links [2]. It adds what I've been missing for years. If you are lazy and don't want to install right now, you can check the following pages to see what it adds:
The userscript will add links to PTS, Buildd status pages and Popcon near every pkgreport.cgi?src= link. Simple and useful. I hope you'll enjoy it as much as I do.

Of course, I've submitted a bug (#679282) against the pseudo package bugs.debian.org kindly asking its maintainer to add a link to (for now) the PTS. But I know that they are busy so I'm not expecting a result soon. Fow now, my simple and dumb userscript WFM.

[1] This is partly true since it links back to the PTS on main pages (pages that list all bug reports of a given set of packages).

[2] Only tested with a recent Iceweasel (from experimental) and Chromium (from unstable).

P.S.: If you do wonder, #4300 is the least bug number known to the BTS. Well, or at least, the result of running ls -1 /srv/bugs.debian.org/spool/archive/00/ | sort -h | head -n1 on bugs.debian.org.

3 commentaires:

  1. I agree a link to the PTS would be handy. Direct links to build logs and popcon, quite a bit less for me.

    RépondreSupprimer
  2. I also noticed this lack. I am wondering: Wouldn’t it make more sense to have a commonly used, equally stiled, always recognizable link list that is used everywhere (bts, pts, buildd, etc.) This would make navigating even easier, and possibly less maintenance burden in the individual sites (assuming some form of code-sharing).?

    RépondreSupprimer
  3. @nomeata: it makes a lot of sense… maybe that's an idea to share on https://lists.debian.org/debian-webapps/ ? (I can't think of any other more suitable location for this kind of subjects).

    RépondreSupprimer