summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-February/002917.html
blob: 06c2297b60ac99dec6bce025429735af81dcd516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] mirrors readme/howto/script
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20mirrors%20readme/howto/script&In-Reply-To=%3C20110224153749.GH22322%40virgo.home.nanardon.zarb.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002820.html">
   <LINK REL="Next"  HREF="002918.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] mirrors readme/howto/script</H1>
    <B>Olivier Thauvin</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20mirrors%20readme/howto/script&In-Reply-To=%3C20110224153749.GH22322%40virgo.home.nanardon.zarb.org%3E"
       TITLE="[Mageia-sysadm] mirrors readme/howto/script">nanardon at nanardon.zarb.org
       </A><BR>
    <I>Thu Feb 24 16:37:49 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002820.html">[Mageia-sysadm] mirrors readme/howto/script
</A></li>
        <LI>Next message: <A HREF="002918.html">[Mageia-sysadm] mirrors readme/howto/script
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2917">[ date ]</a>
              <a href="thread.html#2917">[ thread ]</a>
              <a href="subject.html#2917">[ subject ]</a>
              <a href="author.html#2917">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>* Romain d'Alverny (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">rdalverny at gmail.com</A>) wrote:
&gt;<i> Hi there,
</I>&gt;<i> 
</I>&gt;<i> checking the mirrors.readme file, I wondered if we could not only
</I>&gt;<i> provide directions on how to setup a mirror, but as well provide a
</I>&gt;<i> simple bash script that, by default, does what we would expect best
</I>&gt;<i> from a mirror provider, leaving the admin customize it.
</I>
&gt;<i> 
</I>&gt;<i> As I did it as an exercise for myself :-p here is attached such a
</I>&gt;<i> script, with comments to guide. Of course, it's intended more to non
</I>&gt;<i> experts as mirroring instructions would be enough and admins may
</I>&gt;<i> prefer to double-check what is going to be run. Still, in the event
</I>&gt;<i> this could help make the mirroring process easier for some... why not
</I>&gt;<i> provide it and see if/how it is used?
</I>
Why not.

May I suggest this script must tested on various unix et then must using
'standard' tools (eg #!/bin/sh instead bash).

&gt;<i> 
</I>&gt;<i> You may notice that it would help then that Tier1 and Tier2 mirrors
</I>&gt;<i> are explicitly shown as such in the default mirrors list on
</I>&gt;<i> mirror.mageia.org; so we can point people to, for instance,
</I>&gt;<i> <A HREF="http://mirrors.mageia.org/?tier1">http://mirrors.mageia.org/?tier1</A> to get only Tier1 mirrors (yes,
</I>&gt;<i> today, there's only one). Does that make sense?
</I>
Why not. I don't like the way the option is passed, I prefer /tier1 or
something like that.

Notice hangling single parameter w/o value in Catalyst can be
problematic in some case.

&gt;<i> 
</I>&gt;<i> On a side note, Nanar, how may I submit patches for the mirrors app?
</I>&gt;<i> push the (small) patches to you or commit to trunk directly?
</I>
Yes commit to trunk. I'll have a look ASAP.

&gt;<i> As a second-thought, an extension of this script could be to provide a
</I>&gt;<i> sample script to gather download stats and push them to one of our
</I>&gt;<i> server collecting download stats from several mirrors.
</I>&gt;<i> 
</I>&gt;<i> What do you think?
</I>
At time the apps does the minimum, but XML::RPC or JSON extension are in
my mind.

&gt;<i> 
</I>&gt;<i> Romain
</I>

&gt;<i> _______________________________________________
</I>&gt;<i> Mageia-sysadm mailing list
</I>&gt;<i> <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">Mageia-sysadm at mageia.org</A>
</I>&gt;<i> <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">https://www.mageia.org/mailman/listinfo/mageia-sysadm</A>
</I>
-- 

Olivier Thauvin
CNRS  -  LATMOS
&#9814; &#9816; &#9815; &#9813; &#9812; &#9815; &#9816; &#9814;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: &lt;/pipermail/mageia-sysadm/attachments/20110224/21f22e3f/attachment.asc&gt;
</PRE>





<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002820.html">[Mageia-sysadm] mirrors readme/howto/script
</A></li>
	<LI>Next message: <A HREF="002918.html">[Mageia-sysadm] mirrors readme/howto/script
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2917">[ date ]</a>
              <a href="thread.html#2917">[ thread ]</a>
              <a href="subject.html#2917">[ subject ]</a>
              <a href="author.html#2917">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>