summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2012-February/004227.html
blob: bd57733e5cec170813a3f1fb905b2482c8622740 (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] perl modules shipped by mageia - db hosted on mageia servers?
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20perl%20modules%20shipped%20by%20mageia%20-%20db%20hosted%20on%0A%20mageia%20servers%3F&In-Reply-To=%3CCAL%2BdqvAh5nPKqZhX1hKzjHdjwKsLURH318N%3DpfdXHvsdV9uS%3Dg%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="004226.html">
   <LINK REL="Next"  HREF="004228.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] perl modules shipped by mageia - db hosted on mageia servers?</H1>
    <B>D.Morgan</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20perl%20modules%20shipped%20by%20mageia%20-%20db%20hosted%20on%0A%20mageia%20servers%3F&In-Reply-To=%3CCAL%2BdqvAh5nPKqZhX1hKzjHdjwKsLURH318N%3DpfdXHvsdV9uS%3Dg%40mail.gmail.com%3E"
       TITLE="[Mageia-sysadm] perl modules shipped by mageia - db hosted on mageia servers?">dmorganec at gmail.com
       </A><BR>
    <I>Mon Feb 20 15:47:38 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="004226.html">[Mageia-sysadm] [Mageia-dev] noarch packages existing only on	x86_64
</A></li>
        <LI>Next message: <A HREF="004228.html">[Mageia-sysadm] perl modules shipped by mageia - db hosted on mageia servers?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#4227">[ date ]</a>
              <a href="thread.html#4227">[ thread ]</a>
              <a href="subject.html#4227">[ subject ]</a>
              <a href="author.html#4227">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Fri, Jul 8, 2011 at 2:50 PM, Jerome Quelin &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">jquelin at gmail.com</A>&gt; wrote:
&gt;<i> hi,
</I>&gt;<i>
</I>&gt;<i> i've updated module::packaged::generator to support mageia (among a lot
</I>&gt;<i> of other improvements). it creates a sqlite database with all perl
</I>&gt;<i> modules available in mageia, with their version and the rpm package
</I>&gt;<i> holding the module. the package to install is (only available on
</I>&gt;<i> cauldron) perl-Module-Packaged-Generator-1.111.890-1.mga2
</I>&gt;<i>
</I>&gt;<i> i'd like this database to be available somewhere on mageia servers.
</I>&gt;<i> would it be possible to have one of the servers run the following
</I>&gt;<i> command on a regular basis (eg, every day, or every 2-3 days, or at
</I>&gt;<i> worst every week):
</I>&gt;<i>
</I>&gt;<i> &#160; &#160;pkgcpan -q
</I>&gt;<i>
</I>&gt;<i> there won't be any output (-q flag) unless it bails out. it requires an
</I>&gt;<i> internet connection. it doesn't take too long (19 seconds here with cpan
</I>&gt;<i> index update), nor too much cpu. it doesn't require special rights - it
</I>&gt;<i> only needs a writable home for storing some intermediate data. it will
</I>&gt;<i> create a file cpan_Mageia.db in the current directory. to change the
</I>&gt;<i> path to the db being created, use the -f flag:
</I>&gt;<i>
</I>&gt;<i> &#160; &#160;pkgcpan -q -f /path/to/cpan_Mageia.db
</I>&gt;<i>
</I>&gt;<i> if the servers aren't yet using mageia, the command will either fail or
</I>&gt;<i> create a db for another distribution (since it would pick a wrong
</I>&gt;<i> driver). it's possible to over-ride the platform auto-detection with the
</I>&gt;<i> -d flag:
</I>&gt;<i>
</I>&gt;<i> &#160; &#160;pkgcpan -q -f /path/to/cpan_Mageia.db -d Mageia
</I>&gt;<i>
</I>&gt;<i> once this is scheduled, please let me know the refresh rate and the url
</I>&gt;<i> where resulting file can be downloaded. the url doesn't need to be sexy
</I>&gt;<i> or short or whatever - it will be hidden in a perl module responsible
</I>&gt;<i> for automatic mirroring.
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> thanks,
</I>&gt;<i> j&#233;r&#244;me
</I>
this is available here :

<A HREF="http://pkgcpan.mageia.org/cpan_Mageia.db">http://pkgcpan.mageia.org/cpan_Mageia.db</A>
</PRE>



<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="004226.html">[Mageia-sysadm] [Mageia-dev] noarch packages existing only on	x86_64
</A></li>
	<LI>Next message: <A HREF="004228.html">[Mageia-sysadm] perl modules shipped by mageia - db hosted on mageia servers?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#4227">[ date ]</a>
              <a href="thread.html#4227">[ thread ]</a>
              <a href="subject.html#4227">[ subject ]</a>
              <a href="author.html#4227">[ 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>