[gimp-web] Change mirrors list generation - introduce MIRRORS.in file



commit 472fb34ac371cf4f8e027a2845f460f2c94a9256
Author: Michael Schumacher <schumaml gmx de>
Date:   Wed Dec 25 23:43:55 2013 +0100

    Change mirrors list generation - introduce MIRRORS.in file
    
    The mirrors lists are now generated from an MIRRERS.in file.
    This file may contain commented out mirrors (lines starting with a single #).wq

 programmatic/downloads/MIRRORS    |   34 +---------
 programmatic/downloads/MIRRORS.in |  130 +++++++++++++++++++++++++++++++++++++
 programmatic/downloads/Makefile   |    7 ++
 3 files changed, 140 insertions(+), 31 deletions(-)
---
diff --git a/programmatic/downloads/MIRRORS b/programmatic/downloads/MIRRORS
index 7130475..15bf6d1 100644
--- a/programmatic/downloads/MIRRORS
+++ b/programmatic/downloads/MIRRORS
@@ -1,13 +1,5 @@
-# Mirror Sites
-#-------------
-
-#Australia
-#     ftp://mirrors-au.go-parts.com/gimp/
-#     http://mirrors-au.go-parts.com/gimp/ (web access)
-#     rsync://mirrors-au.go-parts.com/mirrors/gimp/ (rsync access)
-
-#Austria
-#     ftp://gd.tuwien.ac.at/graphics/gimp/
+## Mirror Sites
+##-------------
 
 Brazil
      ftp://mirrors-br.go-parts.com/gimp/
@@ -19,9 +11,6 @@ Canada
      http://gimp.raffsoftware.com/ (web access)
      http://gimp.skazkaforyou.com/ (web access)
 
-#China
-#     http://mirror.bjtu.edu.cn/gimp (web access, outdated)
-
 France
      ftp://ftp.iut-bm.univ-fcomte.fr/gimp/
      http://ftp.iut-bm.univ-fcomte.fr/gimp/ (web access)
@@ -48,9 +37,6 @@ Greece
      http://ftp.cc.uoc.gr/mirrors/gimp/ (web access)
 
 Ireland
-#     ftp://ftp.esat.net/mirrors/ftp.gimp.org/pub/gimp/ (outdated)
-#     http://ftp.esat.net/mirrors/ftp.gimp.org/pub/gimp/ (web access, outdated)
-#     rsync://ftp.esat.net/mirrors/ftp.gimp.org/pub (rsync access)
      ftp://ftp.heanet.ie/mirrors/ftp.gimp.org/pub/gimp/
      http://ftp.heanet.ie/mirrors/ftp.gimp.org/pub/gimp/ (web access)
      rsync://ftp.heanet.ie/mirrors/ftp.gimp.org/pub/gimp/ (rsync access)
@@ -59,14 +45,10 @@ Japan
      ftp://ftp.u-aizu.ac.jp/pub/graphics/tools/gimp/
      ftp://ftp.ring.gr.jp/pub/graphics/gimp/
      http://www.ring.gr.jp/pub/graphics/gimp/ (web access)
-#     ftp://mirrors.go-parts.com/gimp/
-#     http://mirrors.go-parts.com/gimp/ (web access)
-#     rsync://mirrors.go-parts.com/mirrors/gimp/ (rsync access)
 
 Netherlands
      ftp://ftp.snt.utwente.nl/pub/software/gimp/gimp/
      http://ftp.snt.utwente.nl/pub/software/gimp/gimp/ (web access)
-#     http://mirrors-eu.spyrush.com/gimp/ (web access)
      ftp://ftp.nluug.nl/pub/graphics/gimp/
      http://ftp.nluug.nl/graphics/gimp/ (web access)
      rsync://ftp.nluug.nl/gimp/ (rsync access)
@@ -78,7 +60,6 @@ Poland
      ftp://sunsite.icm.edu.pl/pub/graphics/gimp/
      ftp://ftp.tpnet.pl/pub/graphics/gimp/
      rsync://ftp.tpnet.pl/gimp/ (rsync access)
-#     ftp://ftp.tuniv.szczecin.pl/pub/Linux/gimp/
 
 Portugal
      ftp://mirrors.dominios.pt/pub/ftp.gimp.org
@@ -87,10 +68,6 @@ Portugal
      http://mirrors.fe.up.pt/mirrors/ftp.gimp.org/ (web access)
      rsync://mirrors.fe.up.pt/mirrors/ftp.gimp.org/ (rsync access)
 
-#Romania
-#     ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.gimp.org/
-#     http://ftp.iasi.roedu.net/mirrors/ftp.gimp.org/ (web access)
-
 South Africa
      ftp://ftp.is.co.za/mirror/ftp.gimp.org/gimp/
 
@@ -99,13 +76,10 @@ Spain
      ftp://ftp.rediris.es/mirror/gimp/ (outdated)
 
 Sweden
-#     ftp://ftp.acc.umu.se/pub/gimp/
-#     http://ftp.acc.umu.se/pub/gimp/ (web access)
      ftp://ftp.sunet.se/pub/gnu/gimp/
      http://ftp.sunet.se/pub/gnu/gimp/ (web access)
 
 United Kingdom
-#     http://gimp.favoritelinks.net/ (web access)
      ftp://ftp.mirrorservice.org/sites/ftp.gimp.org/pub/gimp/
      http://www.mirrorservice.org/sites/ftp.gimp.org/pub/gimp/ (web access)
      rsync://rsync.mirrorservice.org/ftp.gimp.org/pub/gimp/ (rsync access)
@@ -115,13 +89,11 @@ United Kingdom
 
 United States
      http://gimp.cp-dev.com/ (web access)
+     http://mirror.hessmo.com/gimp/ (web access)
      http://gimp.mirrors.hoobly.com/gimp/ (web access)
-#     http://gimp.promotionalpromos.com/ (web access)
-#     http://gimp.sixsigmaonline.org/ (web access)
      http://mirror.umd.edu/gimp/gimp/ (web access)
      rsync://mirror.umd.edu/gimp/ (rsync access)
      http://mirrors.zerg.biz/gimp/ (web access)
-#     http://classivox.com/pub/gimp/ (web access)
      ftp://ftp.spectralcoding.com/gimp/
      http://ftp.spectralcoding.com/gimp/ (web access)
      ftp://mirrors.xmission.com/gimp/
diff --git a/programmatic/downloads/MIRRORS.in b/programmatic/downloads/MIRRORS.in
new file mode 100644
index 0000000..8333c04
--- /dev/null
+++ b/programmatic/downloads/MIRRORS.in
@@ -0,0 +1,130 @@
+## Mirror Sites
+##-------------
+
+#Australia
+#     ftp://mirrors-au.go-parts.com/gimp/
+#     http://mirrors-au.go-parts.com/gimp/ (web access)
+#     rsync://mirrors-au.go-parts.com/mirrors/gimp/ (rsync access)
+
+#Austria
+#     ftp://gd.tuwien.ac.at/graphics/gimp/
+
+Brazil
+     ftp://mirrors-br.go-parts.com/gimp/
+     http://mirrors-br.go-parts.com/gimp/ (web access)
+     rsync://mirrors-br.go-parts.com/mirrors/gimp/ (rsync access)
+
+Canada
+     http://gimp.parentingamerica.com/ (web access)
+     http://gimp.raffsoftware.com/ (web access)
+     http://gimp.skazkaforyou.com/ (web access)
+
+#China
+#     http://mirror.bjtu.edu.cn/gimp (web access, outdated)
+
+France
+     ftp://ftp.iut-bm.univ-fcomte.fr/gimp/
+     http://ftp.iut-bm.univ-fcomte.fr/gimp/ (web access)
+     rsync://ftp.iut-bm.univ-fcomte.fr/gimp/ (rsync access)
+     http://mirror.ibcp.fr/pub/gimp/ (web access)
+ 
+Estonia
+     http://servingzone.com/mirrors/gimp/ (web access)
+
+Germany
+     ftp://artfiles.org/gimp.org/
+     http://artfiles.org/gimp.org/ (web access)
+     http://gimp.cybermirror.org/ (web access)
+     ftp://ftp.fernuni-hagen.de/pub/mirrors/www.gimp.org/
+     http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/www.gimp.org/ (web access)
+     rsync://ftp.fernuni-hagen.de/gimp/ (rsync access)
+     ftp://ftp.gwdg.de/pub/misc/grafik/gimp/
+     http://ftp.gwdg.de/pub/misc/grafik/gimp/ (web access)
+     rsync://ftp.gwdg.de/pub/misc/grafik/gimp/ (rsync access)
+     http://mirrors.zerg.biz/gimp/ (web access)
+
+Greece
+     ftp://ftp.cc.uoc.gr/mirrors/gimp/
+     http://ftp.cc.uoc.gr/mirrors/gimp/ (web access)
+
+Ireland
+#     ftp://ftp.esat.net/mirrors/ftp.gimp.org/pub/gimp/ (outdated)
+#     http://ftp.esat.net/mirrors/ftp.gimp.org/pub/gimp/ (web access, outdated)
+#     rsync://ftp.esat.net/mirrors/ftp.gimp.org/pub (rsync access)
+     ftp://ftp.heanet.ie/mirrors/ftp.gimp.org/pub/gimp/
+     http://ftp.heanet.ie/mirrors/ftp.gimp.org/pub/gimp/ (web access)
+     rsync://ftp.heanet.ie/mirrors/ftp.gimp.org/pub/gimp/ (rsync access)
+
+Japan
+     ftp://ftp.u-aizu.ac.jp/pub/graphics/tools/gimp/
+     ftp://ftp.ring.gr.jp/pub/graphics/gimp/
+     http://www.ring.gr.jp/pub/graphics/gimp/ (web access)
+#     ftp://mirrors.go-parts.com/gimp/
+#     http://mirrors.go-parts.com/gimp/ (web access)
+#     rsync://mirrors.go-parts.com/mirrors/gimp/ (rsync access)
+
+Netherlands
+     ftp://ftp.snt.utwente.nl/pub/software/gimp/gimp/
+     http://ftp.snt.utwente.nl/pub/software/gimp/gimp/ (web access)
+#     http://mirrors-eu.spyrush.com/gimp/ (web access)
+     ftp://ftp.nluug.nl/pub/graphics/gimp/
+     http://ftp.nluug.nl/graphics/gimp/ (web access)
+     rsync://ftp.nluug.nl/gimp/ (rsync access)
+
+Poland
+     ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.gimp.org/
+     http://piowindharfetrkosoft.net/pub/mirrors/ftp.gimp.org/ (web access)
+     rsync://piotrkosoft.net/mirrors/ftp.gimp.org/ (rsync access)
+     ftp://sunsite.icm.edu.pl/pub/graphics/gimp/
+     ftp://ftp.tpnet.pl/pub/graphics/gimp/
+     rsync://ftp.tpnet.pl/gimp/ (rsync access)
+#     ftp://ftp.tuniv.szczecin.pl/pub/Linux/gimp/
+
+Portugal
+     ftp://mirrors.dominios.pt/pub/ftp.gimp.org
+     http://mirrors.dominios.pt/gimp (web access)
+     ftp://mirrors.fe.up.pt/mirrors/ftp.gimp.org/
+     http://mirrors.fe.up.pt/mirrors/ftp.gimp.org/ (web access)
+     rsync://mirrors.fe.up.pt/mirrors/ftp.gimp.org/ (rsync access)
+
+#Romania
+#     ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.gimp.org/
+#     http://ftp.iasi.roedu.net/mirrors/ftp.gimp.org/ (web access)
+
+South Africa
+     ftp://ftp.is.co.za/mirror/ftp.gimp.org/gimp/
+
+Spain
+     http://sunsite.rediris.es/mirror/gimp/ (web access, outdated)
+     ftp://ftp.rediris.es/mirror/gimp/ (outdated)
+
+Sweden
+#     ftp://ftp.acc.umu.se/pub/gimp/
+#     http://ftp.acc.umu.se/pub/gimp/ (web access)
+     ftp://ftp.sunet.se/pub/gnu/gimp/
+     http://ftp.sunet.se/pub/gnu/gimp/ (web access)
+
+United Kingdom
+#     http://gimp.favoritelinks.net/ (web access)
+     ftp://ftp.mirrorservice.org/sites/ftp.gimp.org/pub/gimp/
+     http://www.mirrorservice.org/sites/ftp.gimp.org/pub/gimp/ (web access)
+     rsync://rsync.mirrorservice.org/ftp.gimp.org/pub/gimp/ (rsync access)
+     ftp://anorien.csc.warwick.ac.uk/ftp.gimp.org/
+     https://anorien.csc.warwick.ac.uk/ftp.gimp.org/ (web access)
+     rsync://anorien.csc.warwick.ac.uk/ftp.gimp.org/ (rsync access)
+
+United States
+     http://gimp.cp-dev.com/ (web access)
+     http://mirror.hessmo.com/gimp/ (web access)
+     http://gimp.mirrors.hoobly.com/gimp/ (web access)
+#     http://gimp.promotionalpromos.com/ (web access)
+#     http://gimp.sixsigmaonline.org/ (web access)
+     http://mirror.umd.edu/gimp/gimp/ (web access)
+     rsync://mirror.umd.edu/gimp/ (rsync access)
+     http://mirrors.zerg.biz/gimp/ (web access)
+#     http://classivox.com/pub/gimp/ (web access)
+     ftp://ftp.spectralcoding.com/gimp/
+     http://ftp.spectralcoding.com/gimp/ (web access)
+     ftp://mirrors.xmission.com/gimp/
+     http://mirrors.xmission.com/gimp/ (web access)
+     rsync://mirrors.xmission.com/gimp/ (rsync access)
diff --git a/programmatic/downloads/Makefile b/programmatic/downloads/Makefile
index 7bf754a..a3b4c07 100644
--- a/programmatic/downloads/Makefile
+++ b/programmatic/downloads/Makefile
@@ -6,6 +6,9 @@ PYTHONPATH := ../
 
 all: mirrors.xhtml
 
+MIRRORS: MIRRORS.in
+       grep -v '^#[^#]' MIRRORS.in | sed '/^$$/N;/^\n$$/D' > MIRRORS
+
 mirrors.xhtml: MIRRORS
        ${PYTHON} mirrorfmt.py MIRRORS > mirrors.xhtml
 
@@ -15,3 +18,7 @@ clean:
 install: mirrors.xhtml
        -mkdir -p `${PYTHON} -c 'import wgo_config; print wgo_config.DocumentRoot_path'`/downloads
        install -m 644 mirrors.xhtml `${PYTHON} -c 'import wgo_config; print 
wgo_config.DocumentRoot_path'`/downloads/mirrors.xhtml
+
+#install-ftp: MIRRORS
+#      -mkdir -p `${PYTHON} -c 'import wgo_config; print wgo_config.FtpRoot_path'`/gimp
+#      install -m 644 MIRRORS `${PYTHON} -c 'import wgo_config; print wgo_config.FtpRoot_path'`/gimp/MIRRORS
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]