Revision: 765 http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=765 Author: ineiev Date: 2024-02-11 09:49:34 -0500 (Sun, 11 Feb 2024) Log Message: ----------- add links to scripts in Savane Cgit
Modified Paths: -------------- trunk/sviki/Mirroring.mdwn Modified: trunk/sviki/Mirroring.mdwn =================================================================== --- trunk/sviki/Mirroring.mdwn 2024-02-11 14:26:31 UTC (rev 764) +++ trunk/sviki/Mirroring.mdwn 2024-02-11 14:49:34 UTC (rev 765) @@ -153,8 +153,8 @@ See 'mirmon' section below to learn how these files are generated. -The Perl script `mirror-redirect` uses -[Geo::IP](https://metacpan.org/pod/Geo::IP) module +The Perl script [mirror-redirect](//git.savannah.nongnu.org/cgit/administration/savane.git/tree/backend/external/mirror-redirect.in?h=i18n) +uses [Geo::IP](https://metacpan.org/pod/Geo::IP) module to detect users' regions based on their IP. ## Server-side Mirmon overview @@ -191,7 +191,8 @@ -rw-r--r-- 1 4.0K Feb 20 23:30 gnu-mirror-list.txt lrwxrwxrwx 1 28 Feb 20 23:28 nongnu-mirror-list.txt -> /srv/download/00_MIRRORS.txt - The script `/opt/savane/bin/sv_gnu-mirmon` + The script + [sv_gnu-mirmon](//git.savannah.nongnu.org/cgit/administration/savane.git/tree/backend/misc/sv_gnu-mirmon.in?h=i18n) fetches the gnu list and saves it locally in the two versions (`gnu` and `allgnu`). The `nongnu` list is symlinked to the manually-managed file. @@ -229,9 +230,11 @@ 5. Two auxiliary scripts `/opt/savannah/mirrors/scripts/update-active-mirrors-{gnu,nongnu}.sh` - invoke sv_mirmon-to-geip; that script reads the state file and the mirror - list and generates simple text files containing the active and up-to-date - mirrors and region redirections: + trivially invoke + [sv_mirmon-to-geip](//git.savannah.nongnu.org/cgit/administration/savane.git/tree/backend/misc/sv_mirmon-to-geoip.in?h=i18n); + that script reads the state file and the mirror list and generates simple + text files containing the active and up-to-date mirrors and region + redirections: # ls /opt/savannah/mirrors/active-mirror-lists/ download-https.txt download.txt gnu-https.txt gnu.txt