-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [starting new thread] houghi wrote:
On Thu, Feb 09, 2006 at 12:27:43AM +0100, Christoph Thiel wrote:
If there is interest in this topic, I might prepare some slides to give a "speed talk" on this at FOSDEM.
I have been thinking of an xml file that could include all installation sources. Think http://easyurpmi.zarb.org/, but with GeoIP included.
Unfortunately my knowledge of XML (and using it) is very limited. I would very much talk to people about this on FOSDEM and see what can do what and how. If I would have had more knowledge, I would have had a working example.
Sure, we'll find some time to discuss that during FOSDEM. I'm pretty experienced with XSLT, I'm sure I can contribute something to the idea ;) Could you make a few slides about it to introduce the topic during the speed talks ? We'll fork a short BOF from that, with some people interested in the topic (count me in).
I understand that the file (or at least not all of it) might not be allowed on openSUSE or Novell. It could be hosted somewhere else. Yet that could be decided at FOSDEM (and after the standard for the XML is fixed)
Yes, we first have to discuss what information would be useful in there, then write a schema for it, then collect the data. Another option would be to write a script (or a Java application or whatever) that uses that XML file to validate the mirrors (e.g. using HTTP HEAD and/or browsing the various URLs to see whether the mirrors listed in the file actually have the required content). Would be very useful to report broken mirrors, at least to a given point, it shouldn't crawl all subdirectories and collect all files, just some files like "directory.yast" and "content".
An extremely basic idea of this is put on http://houghi.org/mirrors/main.php. This does not use XML and many mirrors are not up to date, so don't use it as anything real.
Advantages of xml instead of array's is that it can be used in many more applications then just some website. I can imagine a program where you just point an application to e.g. http://opensuse/files/sources.xml and get the correct mirrors for you.
Yes, and
- - we could write a schema to validate the XML against it
- - maybe it has the potential to cross (open)SUSE boundaries ;)
- - use XSL transformations to generate static HTML or plain text from the XML file, or some "dynamic"
page(s) with PHP, JSP, JavaScript, whatever, feeding a database, generate PHP arrays, ... - the
point being that from a single source, one can transform it into various other formats
Definitely a very good idea, with a lot of potential.
BTW, sorry I didn't get back to you about that idea, busy times atm ;)
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\