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 <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">jquelin at gmail.com</A>> wrote:
><i> hi,
</I>><i>
</I>><i> i've updated module::packaged::generator to support mageia (among a lot
</I>><i> of other improvements). it creates a sqlite database with all perl
</I>><i> modules available in mageia, with their version and the rpm package
</I>><i> holding the module. the package to install is (only available on
</I>><i> cauldron) perl-Module-Packaged-Generator-1.111.890-1.mga2
</I>><i>
</I>><i> i'd like this database to be available somewhere on mageia servers.
</I>><i> would it be possible to have one of the servers run the following
</I>><i> command on a regular basis (eg, every day, or every 2-3 days, or at
</I>><i> worst every week):
</I>><i>
</I>><i>    pkgcpan -q
</I>><i>
</I>><i> there won't be any output (-q flag) unless it bails out. it requires an
</I>><i> internet connection. it doesn't take too long (19 seconds here with cpan
</I>><i> index update), nor too much cpu. it doesn't require special rights - it
</I>><i> only needs a writable home for storing some intermediate data. it will
</I>><i> create a file cpan_Mageia.db in the current directory. to change the
</I>><i> path to the db being created, use the -f flag:
</I>><i>
</I>><i>    pkgcpan -q -f /path/to/cpan_Mageia.db
</I>><i>
</I>><i> if the servers aren't yet using mageia, the command will either fail or
</I>><i> create a db for another distribution (since it would pick a wrong
</I>><i> driver). it's possible to over-ride the platform auto-detection with the
</I>><i> -d flag:
</I>><i>
</I>><i>    pkgcpan -q -f /path/to/cpan_Mageia.db -d Mageia
</I>><i>
</I>><i> once this is scheduled, please let me know the refresh rate and the url
</I>><i> where resulting file can be downloaded. the url doesn't need to be sexy
</I>><i> or short or whatever - it will be hidden in a perl module responsible
</I>><i> for automatic mirroring.
</I>><i>
</I>><i>
</I>><i> thanks,
</I>><i> jérô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>
|