diff options
Diffstat (limited to 'zarb-ml/mageia-dev/20101104/001384.html')
-rw-r--r-- | zarb-ml/mageia-dev/20101104/001384.html | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20101104/001384.html b/zarb-ml/mageia-dev/20101104/001384.html new file mode 100644 index 000000000..2c89bc94e --- /dev/null +++ b/zarb-ml/mageia-dev/20101104/001384.html @@ -0,0 +1,126 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Mirror list for apps (LONG mail) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Mirror%20list%20for%20apps%20%28LONG%20mail%29&In-Reply-To=%3C1288827671.2499.97.camel%40akroma.ephaone.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + + <LINK REL="Next" HREF="001385.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Mirror list for apps (LONG mail)</H1> + <B>Michael Scherer</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Mirror%20list%20for%20apps%20%28LONG%20mail%29&In-Reply-To=%3C1288827671.2499.97.camel%40akroma.ephaone.org%3E" + TITLE="[Mageia-dev] Mirror list for apps (LONG mail)">misc at zarb.org + </A><BR> + <I>Thu Nov 4 00:41:11 CET 2010</I> + <P><UL> + + <LI>Next message: <A HREF="001385.html">[Mageia-dev] Mirror list for apps (LONG mail) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1384">[ date ]</a> + <a href="thread.html#1384">[ thread ]</a> + <a href="subject.html#1384">[ subject ]</a> + <a href="author.html#1384">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le mercredi 03 novembre 2010 à 19:47 +0100, Olivier Thauvin a écrit : +><i> Hi, +</I>><i> +</I>><i> I wrote an application to register mirrors which is currently here: +</I>><i> <A HREF="http://distrib-coffee.ipsl.jussieu.fr/mageia-mirrors/">http://distrib-coffee.ipsl.jussieu.fr/mageia-mirrors/</A> +</I>><i> +</I>><i> I hadn't the time to really check mirror brain, I just had a quick look, +</I>><i> so don't ask. +</I> +Have you check mirror manager +( <A HREF="https://fedorahosted.org/mirrormanager/">https://fedorahosted.org/mirrormanager/</A> ) :) + +><i> In all case the goal of my application is to allow everyone to register +</I>><i> a new mirror, and provide a list usuable by urpmi. +</I>><i> +</I>><i> It is time to write the part of code responsible of the list build. +</I>><i> So come some questions. +</I>><i> +</I>><i> First let me explain the current mandriva process: +</I>><i> +</I>><i> 1) At time we have an /etc/product.id given by +</I>><i> mandriva-release-Free-2011.0-0.1mdv2011.0 +</I>><i> On my system it contains: +</I>><i> vendor=Mandriva,distribution=Mandriva Linux,type=Basic,version=2011.0,branch=Devel,release=1,arch=x86_64,product=Free +</I>><i> +</I>><i> +</I>><i> 2) The base URL list is hardcoded in urpmi: +</I>><i> "<A HREF="https://api.mandriva.com/mirrors/$product_type.$product_version.$arch.list">https://api.mandriva.com/mirrors/$product_type.$product_version.$arch.list</A>" +</I>><i> On my system the correct url is: +</I>><i> <A HREF="https://api.mandriva.com/mirrors/basic.cooker.x86_64.list">https://api.mandriva.com/mirrors/basic.cooker.x86_64.list</A> +</I>><i> +</I>><i> 3) The list look like: +</I>><i> continent=EU,zone=DE,country=Germany,latitude=51.97,longitude=7.63,version=2011.0,arch=x86_64,type=distrib,url=<A HREF="rsync://ftp.join.uni-muenster.de/mandrakelinux/devel/2011.0/x86_64">rsync://ftp.join.uni-muenster.de/mandrakelinux/devel/2011.0/x86_64</A> +</I>><i> continent=EU,zone=DE,country=Germany,latitude=51.97,longitude=7.63,version=2011.0,arch=x86_64,type=updates,url=<A HREF="rsync://ftp.join.uni-muenster.de/mandrakelinux/devel/2011.0/x86_64">rsync://ftp.join.uni-muenster.de/mandrakelinux/devel/2011.0/x86_64</A> +</I> +I would add the AS number, as this would allow urpmi to take a mirror +that is really near from a network point of view. + +><i> So, question and my own POV about this: +</I>><i> 1) /etc/product.id +</I>><i> * I don't like this file, I think it is redundant with +</I>><i> /etc/mandriva-release +</I>><i> * Why "basic" and not "Free" since it is the "product" flag ? Dunno +</I>><i> * Notice "cooker" does not appear in this file +</I>><i> +</I>><i> 2) The url +</I>><i> * I suggest to use <A HREF="http://mirror.mageia.org/api/,">http://mirror.mageia.org/api/,</A> other proposal +</I>><i> welcome (need some review with sys admin) +</I>><i> * Obviously the valid list version is 'cooker' not 2011 +</I>><i> * it is harcoded in urpmi +</I> +Could I suggest to not hardcode it anymore, and maybe place it in a file +outside of urpmi ( so a distribution could override it more easily if +needed ). + +><i> 3) The content +</I>><i> * tags seems be optional +</I>><i> * mirror point to 2011 not cooker (a symlink at time) +</I> +Well, it depend if we want to let people go on cooker by default or not. + + +><i> * I can produce same output as I have same information +</I>><i> * Do we need specific line for update since now distribution include +</I>><i> everything +</I>><i> * Do we keep this format ? +</I> +The format seems fine for me. + +-- +Michael Scherer + +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + + <LI>Next message: <A HREF="001385.html">[Mageia-dev] Mirror list for apps (LONG mail) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#1384">[ date ]</a> + <a href="thread.html#1384">[ thread ]</a> + <a href="subject.html#1384">[ subject ]</a> + <a href="author.html#1384">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |