[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



[Keep the bug in CC]

On Sun, May 26, 2013 at 3:37 PM, Andreas Tille wrote:

> I need to find out how to do / where to place this because I did not yet
> dealt with CGIs on udd.d.o but once your specification (see below is
> fullfilled I can do this if it helps).  The only thing I'm wondering
> whether a CGI script should always run the query itself.  It would be
> way more efficient to drop the result somewhere and just deliver the
> content via CGI because the usual change of the data is either once per
> day or once per change in the blends tasks files (I did not yet decided
> how I might trigger the importer).

Your idea of caching the query does sound more efficient.

> I can add this easily but I think it would be very redundant to add the
> full URL string for every single package in the JSON data set.  Would
> you think it makes sense to deliver an additional JSON data file
>
> [{"blend": "debichem", "tasksurl": "http://blends.alioth.debian.org/debichem/tasks/"},
>  {"blend": "debian-med", "tasksurl": "http://debian-med.alioth.debian.org/tasks/"},
>  ...
> ]
...
> I would think about to what export I might add this information in case
> you agree to reduce the redundance a bit by providing two different data
> files.

Yeah, that does make more sense.

> The prefix of the metapackages can be differnet from the Blends names.
> In fact if I remember right DebiChem is the only one were the prefix
> fits:

Hmm, ok.

> You mean tasks that are in tasksel without using the Blends framework?

Correct.

> Hmmm, I'm not aware that this data is in UDD in some structured manner.
> However, we could try with
...
> If this is what you want to use (probably without the "Depends: tasksel") I could
> probably create a similar JSON file.  As title we could use
..
> Just tell me if this would be helpful and I could do this as well.

That would be helpful indeed. I think some part of the code should
drop the task- from the package name. Probably I would merge blends
tasks and tasksel tasks on the PTS pages.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: