Re: Bug#703402: PTS: link to the blends website for packages involved in blends
On Sun, May 26, 2013 at 3:34 AM, Andreas Tille wrote:
> I have prepared a Python script that creates JSON output with the
> relevant data from UDD. Please check out
Thanks. Could you move that to a CGI running on udd.d.o though?
> and run it from alioth. Please let me know if you need any other
> information. Remark: The Blends data are not yet updated via cron job
> in UDD. This needs to be organised once the data has proven to be
> useful.
I've implemented a preliminary version based on what you provided and
generated a page for gromacs:
http://packages.qa.debian.org/~pabs/g/gromacs.html
However, the data lacks some essential elements.
I would like to be able to generate this:
<a href="http://blends.alioth.debian.org/debichem/tasks/molmech#gromacs"
title="DebiChem Molecular mechanics packages">molmech</a>,
<a href="http://debian-med.alioth.debian.org/tasks/bio#gromacs"
title="Debian Med Biology packages">bio</a>
<a href="http://blends.alioth.debian.org/">blends</a>
The JSON only has this:
{"component": "main", "dependency": "d", "task": "molmech", "blend":
"debichem", "package": "gromacs"}
{"component": "main", "dependency": "d", "task": "bio", "blend":
"debian-med", "package": "gromacs"}
{"component": "main", "dependency": "d", "task": "chemistry", "blend":
"debian-science", "package": "gromacs"}
It needs at least:
The URL of the task.
The title of the task.
Also, I'm surprised to see the blend name is debian-med when the task
meta-packages in Debian are med-*
It would be interesting to also import tasks from tasksel too if that
is possible.
--
bye,
pabs
http://wiki.debian.org/PaulWise
Reply to: