Xubuntu Website Software (was: Re: UDS Karmic Goals)
Matthew Nuzum
matthew.nuzum at canonical.com
Thu May 28 02:32:48 UTC 2009
On Wed, May 27, 2009 at 5:54 PM, Pasi Lallinaho <open at knome.fi> wrote:
>> Launchpad integration is available for both Drupal (versions 5 and 6)
>> as well as Wordpress. The internal to Canonical development team is in
>> the QA stage (I believe) for wordpress integration with LP. Which ever
>> solution you choose can be integrated.
>> Regarding the download code, I don't have good news for you. The
>> problem isn't the availability of the code but the availability of
>> useful data. Launchpad monitors official mirrors to ensure they have
>> all of the necessary cd images and files and then provides a list of
>> suitable mirrors to ubuntu.com. Xubuntu's CD images aren't among the
>> list that are required to be an official mirror.
> If we could get the code that checks the official mirrors, I might add some
> checking to ensure if they have Xubuntu images as well. Would this be
> possible?
>
This code is part of Launchpad and not available. Even if it were I
don't think it would be the right solution. Here is how it works
though:
Prober grabs the "manifest" file which lists the cd images and file
sizes for each.
Prober has a list of registered mirrors
Prober does a HEAD request for each cd image on each mirror.
If the file size reported by the http response header for the image
matches that in the manifest file the server is believed to have the
image
If the server has all of the images expected from the manifest file
the server is deemed to be active.
The Ubuntu site just grabs a list from launchpad of active mirrors a
couple times per hour and stores it in a db table. The only thing
clever is the error handling which basically ignores invalid responses
from LP.
--
Matthew Nuzum
newz2000 on freenode, skype, linkedin, identi.ca and twitter
More information about the xubuntu-devel
mailing list