[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#703402: PTS: link to the blends website for packages involved in blends

[Please keep the bug in CC]

On Wed, Mar 20, 2013 at 12:55 AM, Andreas Tille wrote:

> If it comes to Blends topic I am an UDD folk. ;-)
> You should simply specify what data you need and I will go for it.

So, a machine readable file (YAML/JSON/deb822/etc, your choice),
something like this:

Blend: Debian Med
Task: Biology
Task-name: med-bio
URL: http://debian-med.alioth.debian.org/tasks/bio
Packages: abacas acedb-other ....

Blend: Debian Med
Task: Biology development
Task-name: med-bio-dev
URL: http://debian-med.alioth.debian.org/tasks/bio-dev
Packages: bioperl bioperl-run

> I'm sorry I can not really parse what you want to tell me with this.

I'll try again. The PTS is primarily source package based but the
blends infrastructure is binary package based. The PTS will want to
link to the blends infrastructure, using per-package anchors. The
anchors provided by the blends infrastructure are based on binary
package names rather than source package names. Here is an example
based on the logol source package:

<a href="http://debian-med.alioth.debian.org/tasks/bio#logol-bin";
title="Debian Med Biology packages">med-bio</a>
<a href="http://blends.alioth.debian.org/";>blend</a>

It would be much better if the PTS could link directly to a source
package anchor instead, especially since blends can sometimes depend
on multiple binary packages from one source package. Unfortunately it
isn't yet possible to do this:

<a href="http://debian-med.alioth.debian.org/tasks/bio#logol";
title="Debian Med Biology packages">med-bio</a>
<a href="http://blends.alioth.debian.org/";>blend</a>

Alternatively we can drop the anchor, since I guess folks clicking on
blends links are looking for other related packages rather than the
package itself.

Thats a separate issue to what you pointed out with gromacs, the
gromacs issue can be solved like this:

<a href="http://blends.alioth.debian.org/debichem/tasks/molmech#gromacs";
title="DebiChem Molecular mechanics packages">debichem-molmech</a>,
<a href="http://debian-med.alioth.debian.org/tasks/bio#gromacs";
title="Debian Med Biology packages">med-bio</a>
<a href="http://blends.alioth.debian.org/";>blends</a>

And if the length of the blends list gets too long we can do it like this:

<a href="http://blends.alioth.debian.org/";>blends</a>
(<a href="http://blends.alioth.debian.org/debichem/tasks/molmech#gromacs";
title="DebiChem Molecular mechanics packages">1</a>,
<a href="http://debian-med.alioth.debian.org/tasks/bio#gromacs";
title="Debian Med Biology packages">2</a>,
<a href="http://debian-med.alioth.debian.org/tasks/cloud#gromacs";
title="Debian Med Cloud packages">3</a>)



Reply to: