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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] Toys&Tools for Mageia Infrastructure
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Toys%26Tools%20for%20Mageia%20Infrastructure&In-Reply-To=%3C4F035899.3080109%40gmx.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004131.html">
<LINK REL="Next" HREF="004132.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] Toys&Tools for Mageia Infrastructure</H1>
<B>Kamil Rytarowski</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20Toys%26Tools%20for%20Mageia%20Infrastructure&In-Reply-To=%3C4F035899.3080109%40gmx.com%3E"
TITLE="[Mageia-sysadm] Toys&Tools for Mageia Infrastructure">n54 at gmx.com
</A><BR>
<I>Tue Jan 3 20:35:53 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="004131.html">[Mageia-sysadm] Toys&Tools for Mageia Infrastructure
</A></li>
<LI>Next message: <A HREF="004132.html">[Mageia-sysadm] Toys&Tools for Mageia Infrastructure
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4136">[ date ]</a>
<a href="thread.html#4136">[ thread ]</a>
<a href="subject.html#4136">[ subject ]</a>
<a href="author.html#4136">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>W dniu 03.01.2012 02:35, nicolas vigier pisze:
><i> On Tue, 03 Jan 2012, Kamil Rytarowski wrote:
</I>>><i> Is it possible to move in a long-term, ready or working (certain) pages
</I>>><i> from the mageia.org.pl server to a central one? This is a server
</I>>><i> administrated by a friend of mine, that ships a few web-pages and it's
</I>>><i> short on hardware and won't run everything.
</I>><i> I think we can host those statistic scripts on Mageia servers. Maybe as
</I>><i> part of <A HREF="http://dashboard.mageia.org/">http://dashboard.mageia.org/</A> ?
</I>><i>
</I>><i> Source code can be hosted on svn.mageia.org/svn/soft/[something], and be
</I>><i> packaged in Mageia, then we can install the package on Mageia servers.
</I>><i>
</I>Great! I will contact this mailing-list on it later.
>>>><i> So then I have two primary questions:
</I>>>>><i> - How to you find that, is it possible to (say daily, weekly) synchronize
</I>>>>><i> Mageia SVN (only Cauldron tree?)? What about fetching svn:log data? It's a
</I>>>>><i> few GB of data and a lot of files, directories
</I>>>><i> sysadmins?
</I>>><i> It would be excellent to synchronize the current SVN tree with rsync. Could
</I>>><i> the sysadmins allow to do this please? Then keeping fresh list of all
</I>>><i> .specs would be incomparably more friendly, including for the Mageia
</I>>><i> server.
</I>><i> You can synchronize a copy of the SVN using svnsync. With something like
</I>><i> this :
</I>><i> $ svnadmin create /path/to/local/repo
</I>><i> $ svnsync init <A HREF="file:///path/to/local/repo">file:///path/to/local/repo</A> <A HREF="svn://svn.mageia.org/svn/packages">svn://svn.mageia.org/svn/packages</A>
</I>><i>
</I>><i> And something like this in cron :
</I>><i> $ svnsync synchronize <A HREF="file:///path/to/local/repo">file:///path/to/local/repo</A>
</I>><i>
</I>><i> I don't think svnsync takes a lot of resources on the server (except
</I>><i> the first time when everything has to be downloaded), so if that's
</I>><i> useful it shouldn't be a problem to run it every 15 or 30 minutes.
</I>Thank you for the hint. I'm testing it locally right now... and for now
it doesn't seem to be the ideal solution.
I prefer to synchronize just the needed data - to keep only the newest
version of the ~10,000 SPEC files from the Cauldron directory-tree. This
will be just ~30 MB of data. Mirroring the whole SVN with its history
isn't the best solution (many gigabytes of data!) in my opinion. It
would be doable, but I plan to move the SVN-searcher to a central
server.. and then mirroring the whole tree isn't nice (disk usage!) if
the script is going to be hosted on a central server.
The extracting of svn:log entries is doable only once in the beginning -
and I prefer to annoy the SVN-server remotely to do it.
What do you think, is it possible to connect somehow RSync (or
equivalent technology) to the directory with the freshest SVN? With
rsync it's possible to simply skip certain directories, include the
needed one files - with svn I haven't succeed to do this.. except to
make single svn-sync instances for each file separately.
><i> You can then use your local svn mirror to get all the infos you need.
</I>><i>
</I>>><i> BTW. Please also fix this bug <A HREF="https://bugs.mageia.org/show_bug.cgi?id=2839">https://bugs.mageia.org/show_bug.cgi?id=2839</A>
</I>>><i> or please tell me where is the source-code of this component.
</I>><i> This should now be fixed.
</I>Thank you!
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004131.html">[Mageia-sysadm] Toys&Tools for Mageia Infrastructure
</A></li>
<LI>Next message: <A HREF="004132.html">[Mageia-sysadm] Toys&Tools for Mageia Infrastructure
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4136">[ date ]</a>
<a href="thread.html#4136">[ thread ]</a>
<a href="subject.html#4136">[ subject ]</a>
<a href="author.html#4136">[ 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>
|