summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20101104/001384.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20101104/001384.html')
-rw-r--r--zarb-ml/mageia-dev/20101104/001384.html126
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 &#224; 19:47 +0100, Olivier Thauvin a &#233;crit :
+&gt;<i> Hi,
+</I>&gt;<i>
+</I>&gt;<i> I wrote an application to register mirrors which is currently here:
+</I>&gt;<i> <A HREF="http://distrib-coffee.ipsl.jussieu.fr/mageia-mirrors/">http://distrib-coffee.ipsl.jussieu.fr/mageia-mirrors/</A>
+</I>&gt;<i>
+</I>&gt;<i> I hadn't the time to really check mirror brain, I just had a quick look,
+</I>&gt;<i> so don't ask.
+</I>
+Have you check mirror manager
+( <A HREF="https://fedorahosted.org/mirrormanager/">https://fedorahosted.org/mirrormanager/</A> ) :)
+
+&gt;<i> In all case the goal of my application is to allow everyone to register
+</I>&gt;<i> a new mirror, and provide a list usuable by urpmi.
+</I>&gt;<i>
+</I>&gt;<i> It is time to write the part of code responsible of the list build.
+</I>&gt;<i> So come some questions.
+</I>&gt;<i>
+</I>&gt;<i> First let me explain the current mandriva process:
+</I>&gt;<i>
+</I>&gt;<i> 1) At time we have an /etc/product.id given by
+</I>&gt;<i> mandriva-release-Free-2011.0-0.1mdv2011.0
+</I>&gt;<i> On my system it contains:
+</I>&gt;<i> vendor=Mandriva,distribution=Mandriva Linux,type=Basic,version=2011.0,branch=Devel,release=1,arch=x86_64,product=Free
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> 2) The base URL list is hardcoded in urpmi:
+</I>&gt;<i> &quot;<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>&quot;
+</I>&gt;<i> On my system the correct url is:
+</I>&gt;<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>&gt;<i>
+</I>&gt;<i> 3) The list look like:
+</I>&gt;<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>&gt;<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.
+
+&gt;<i> So, question and my own POV about this:
+</I>&gt;<i> 1) /etc/product.id
+</I>&gt;<i> * I don't like this file, I think it is redundant with
+</I>&gt;<i> /etc/mandriva-release
+</I>&gt;<i> * Why &quot;basic&quot; and not &quot;Free&quot; since it is the &quot;product&quot; flag ? Dunno
+</I>&gt;<i> * Notice &quot;cooker&quot; does not appear in this file
+</I>&gt;<i>
+</I>&gt;<i> 2) The url
+</I>&gt;<i> * I suggest to use <A HREF="http://mirror.mageia.org/api/,">http://mirror.mageia.org/api/,</A> other proposal
+</I>&gt;<i> welcome (need some review with sys admin)
+</I>&gt;<i> * Obviously the valid list version is 'cooker' not 2011
+</I>&gt;<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 ).
+
+&gt;<i> 3) The content
+</I>&gt;<i> * tags seems be optional
+</I>&gt;<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.
+
+
+&gt;<i> * I can produce same output as I have same information
+</I>&gt;<i> * Do we need specific line for update since now distribution include
+</I>&gt;<i> everything
+</I>&gt;<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>