Stefano Zacchiroli: PTS and package descriptions
PTS, package descriptions (and more than a bit of UDD)
After delivering my
talk at DebConf, I went back to some (more) PTS hacking ... apparently I'm
in the mood for it
An apparently trivial feature
request (showing package descriptions)
provided for interesting thoughts. First of all the PTS is mostly
source-based, but in Debian we have no source package
descriptions (issue which probably deserves fixing by its
own). Rough consensus has then been to add tooltips on binary
package hyperlinks, to show short descriptions.
Still, adding the import of
An apparently trivial feature
request (showing package descriptions)
provided for interesting thoughts. First of all the PTS is mostly
source-based, but in Debian we have no source package
descriptions (issue which probably deserves fixing by its
own). Rough consensus has then been to add tooltips on binary
package hyperlinks, to show short descriptions.
Still, adding the import of Packages sounded like
overkilling, not mentioning duplicated wrt packages.d.o. Hence I decided to
be the first jumping on the UDD boat
(wonderful GSOC
project which I had the pleasure to co-mentor together with
Lucas and HE) for routinely usage.
Retrieving the most recent short description of each
binary package at each PTS run is as easy as:
select distinct packages.package, packages.description
from packages,
(select package, max(version) from packages group by package)
as latest (package, version)
where packages.package = latest.package
and packages.version = latest.version ;
To solve the more generic problem of the PTS missing a generic
description (or, if you want, to mitigate the problem that in
Debian we are missing a source package description), Lucas came up
with the intriguing idea of showing the description of the
most popular binary package, according to popocon. Piece
of cake:
select distinct packages.package, popcon.insts, packages.description
from packages, popcon,
(select package, max(version) from packages group by package)
as latest (package, version)
where packages.package = latest.package
and packages.version = latest.version
and packages.package = popcon.package ;
(same as before, but adding popularity: one has both all
short descriptions, and a way to spot the "canonical"
one)
Long life to UDD.
(BTW if you are interested in UDD, and you happen to be
at DebConf8, do not miss tomorrow's
QA BOF.)
A few notes/reactions from the talks I attended today from the very, very
back of the room. (AKA the skivvies and/or backyard track.)
(
It's more or less four months since I proposed to
Packages uploaded in Debconf.
I've uploaded qemubuilder new version which supports armel architecture. And I updated dpatch with some necessary patches.
In addition to
Debcamp is nice. Talking to people in person rather than having to do
IRC to get anything done is a breeze, really.
One thing I haven't been particularly happy about is the fact that
there aren't any good statistics on what the build capacity of an
architecture is; i.e., you don't know you're low on build capacity until
you suddenly start backlogging and it's too late. So, since J rg
Jaspert, Mark Hymers, and Steve Gran were there, I asked them whether
it'd be possible to add some data to the projectb database about
installing a binary. One additional column with a default now()
option later, and we now have interesting data that I can make
statistics of. Of course, since that column was only added four days
ago, during one of which the link to ftp-master.debian.org was down
(meaning, no uploads), there's not much data there yet; but I can start
making some graphs now.
Of course, the hard part is trying to figure out how to present the
data in a manner that one can actually get useful conclusions from,
which is harder than it seems. Anyhow, I'm trying. For now, on
Here at 
I'm starting my trip to Mar del Plata, Argentina for DebConf 8 for my second DebConf. Although I live in Indianapolis, I'm flying out of Cincinnati since I found a cheaper flight. My trip to DebConf 7 was riddled with delays and I was hoping for my trip to DC8 to be nice and trouble free. I almost got my wish, but 10 miles from CVG the transmission went out on my car. After dealing with
So it is currently possible to use simple library calls in
glib-based code to run something as root, by taking
advantage of the gksu policykit mechanism:
I’m the happy owner of a nice geeky toy: a Suunto X6HR watch, that includes an altimeter and an heart rate monitor, which I use mainly for moutain biking and hiking.
During outings, the watch can log the altitude and heart rate every 2, 10 or 60 seconds, and the data can be transfered to a PC using a serial interface. The problem is that Suunto only provides software for Windows. I got tired of using virtualbox to connect to the watch (qemu doesn’t work, Suunto Activity Manager apparently does strange things with the serial port), so I reverse-engineered the protocol (using


Sure, that sounds fairly formal to send a report for holidays, doesn't it?
Anyway, as I have a few (often Debian/FLOSS related) friends around
the world who are reading my blog entries, this might interest them so that's indeed a report..:-)...and I have time for it, so...
I'm currently going back from Cahors to Maurepas (home), on my way to Debconf. We spent 10 days in Cahors with Elizabeth and the girls, finally joined by Jean-Baptiste on Sunday. We had great time over there, enjoying the richness of Quercy: