Re: Data access for the PTS (Was: Re: Bug#348971: qa.debian.org: please consider converting PTS to a CSS layout)
On Wed, Mar 01, 2006 at 07:16:49PM +0100, Raphael Hertzog wrote:
> On Wed, 01 Mar 2006, Jeroen van Wolffelaar wrote:
> > > I suppose frankie was speaking about something like a SOAP interface or alike,
> > > in order to be able to query the PTS remotely, within a script.
> > Personally I think SOAP is overrated, overhyped, or both. But as the PTS
> > uses XML to store its data internally anyway, it might be easy to fix.
> > I'm not going to spend my energy on it though, so "patches welcome".
> Well, the PTS aggregates all the data in XML files. It makes sense to make
> those XML files available on the web so that they can be directly
> downloaded and used by scripts (no need to invent a SOAP interface around
> I just made that by setting up a symlink:
> http://packages.qa.debian.org/base/ provides all the intermediary XML
> files used by the PTS
Erm, I didn't want to do that, because it'll open up base/ for everyone
to crawl, including spambots. And all the mails are there without any
headers removed, including internal PTS addresses that should not be
exposed, to avoid spam causing havoc.
There'll need to come a way without exposing all the raw mails to the
whole world, if we'd really do it this way. By the way, exposing this
also means that changing the format might now suddenly also break
external programs, while previously, changing the format was no problem
at all. For now I've removed the symlink, let's discuss this a bit
further first :). Interested DD's can look in
master:/org/packages.qa.debian.org/www/base, or simply download the code
and run their own PTS web frontend -- this will produce their own .xml
Jeroen van Wolffelaar
Jeroen@wolffelaar.nl (also for Jabber & MSN; ICQ: 33944357)