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

Re: Future Debian package candidate web pages: present and future

On Tue, 15 Jan 2008, Sebastian Pipping wrote:
> Neil Williams wrote:
>> Have you thought about not relying on a cron job but doing the whole
>> thing via the PHP SOAP interface? I'm using PHP and SOAP to query the
>> BTS for Emdebian.
>> http://www.emdebian.org/bugs.php
>> (code available in the Emdebian SVN repo)
>> http://buildd.emdebian.org/svn/browser/current/website/trunk/english
> yes, i have. i need some sort of cache here because i cannot
> send traffic for 1500 HTTP request per page view and also
> not wait for them to return.

You should actually be able to generate this page with two requests:

my @bugs = @{$soap->get_bugs(package=>'wnpp')->results()};
my $status_hash = $soap->get_status(@bugs)->results();

Don Armstrong

I don't care how poor and inefficient a little country is; they like
to run their own business.  I know men that would make my wife a
better husband than I am; but, darn it, I'm not going to give her to
 -- The Best of Will Rogers

http://www.donarmstrong.com              http://rzlab.ucr.edu

Reply to: