[Xfce4-commits] <archive:master> Some mirror page changes.

Nick Schermer noreply at xfce.org
Mon Nov 28 20:32:01 CET 2011


Updating branch refs/heads/master
         to e5ece6b4649077fc4181e6f7b62b3aa2394cdefc (commit)
       from 95de2694cb276ba180cb87a523a24eaa9805e9f4 (commit)

commit e5ece6b4649077fc4181e6f7b62b3aa2394cdefc
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Nov 26 19:14:15 2011 +0100

    Some mirror page changes.

 fancyindex/main.rb                |    1 +
 fancyindex/views/howtomirror.haml |   24 +++++++++++++++++-------
 2 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/fancyindex/main.rb b/fancyindex/main.rb
index 7c12b64..65eec25 100644
--- a/fancyindex/main.rb
+++ b/fancyindex/main.rb
@@ -16,6 +16,7 @@ module Fancyindex
 
     get '/howtomirror' do
       @title = "How to become a mirror for Xfce"
+      @minute = rand(59)
       haml :howtomirror, :ugly => true
     end
 
diff --git a/fancyindex/views/howtomirror.haml b/fancyindex/views/howtomirror.haml
index b23b323..3149a83 100644
--- a/fancyindex/views/howtomirror.haml
+++ b/fancyindex/views/howtomirror.haml
@@ -3,6 +3,10 @@
   The Xfce Desktop Enviroment has mirror sites from all around the world,
   but we are always looking for more <strong>reliable</strong> and
   <strong>well connected</strong> sites that can help us distribute our software.
+%p
+  We don't use mirrors for the various Xfce websites. Instead, we request 
+  mirrors that can aid in distributing the software itself by mirroring 
+  our main software distribution directory.
 
 %h3 Requirements
 %p
@@ -13,7 +17,7 @@
     directory is around 6 GB, but we wish to leave room for expansion.
   %li
     You must do an update-check at least once a day and preferably
-    between 2 and 4 times per day.
+    every 3 hours or so.
   %li
     Allow rsync access to the mirror for the Xfce archive server (IP is
     138.48.2.107), so we can check the contents of the mirror.
@@ -25,23 +29,29 @@
   You'll need to sign up for an account, then create a new bug in
   classicifation "WWW" and product "archive.xfce.org".
 %p
+  Please include the following information in the Description field:
+  %ul
+    %li Country where the mirror is located
+    %li Approximate bandwidth
+    %li IP address of the mirror
+%p
   In the bug we will discuss if your mirror offer fills a need (while
   we really appreciate it, it is unnecessary to have multiple mirrors
   at the same location using the same connectivity). If it does the IP of your
   server will be <strong>whitelisted</strong> on the main rsync mirror.
 
-%h3 Mirroring Techniques
+%h3 Mirroring techniques
 %p
   We only support rsync for updating mirrors.
 %p
-  After your IP is whitelisted, update your mirror with:
-%pre
-  rsync -az --quiet --delete rsync://archive.xfce.org/archive.xfce.org /path/to/mirror
+  After your IP is whitelisted, created a cron job that looks like:
+%pre{:style => 'background: #ccc; padding: 0.4em;'}
+  #{@minute} */3 * * * rsync -az --quiet --delete rsync://archive.xfce.org/archive.xfce.org /path/to/mirror
 
 %h3 Almost ready...
 %p
-  Once the site is configured, tested, and updating consistently, contact us
-  again (in the same bug) to give us rsync module information and HTTP
+  Once the site is configured, tested, and updating consistently; contact us
+  again (in the same bug) to give us rsync module information and the HTTP
   URL of your mirror. We will then add the mirror to MirrorBrain.
 %p
   After a short while the mirror will appear in the


More information about the Xfce4-commits mailing list