:: [devuan-mirrors] "scripts" folder
Inizio della pagina
Delete this message
Reply to this message
Autore: Devuan Mirrors
Data:  
To: devuan-mirrors
Oggetto: [devuan-mirrors] "scripts" folder
Dear Mirror Admins,

we have added a new folder "scripts/" under the mirror basedir
("vesta@???:~/devuan/"), where we will put
useful scripts for mirror checking and maintainance.

At the moment, the folder contains a single script:

test_rewrite.sh

which can be used by mirror admins to test if their rewrite rules
are setup correctly. You should just provide as first argument the
BaseURL of the mirror, i.e., what users should put in their
sources.list file after "deb " and before "/merged". For instance:

$ ./test_rewrite.sh http://pkgmaster.devuan.org
Using /usr/bin/curl
Trying DEVUAN package (http://pkgmaster.devuan.org/merged/pool/DEVUAN/main/b/base-files/base-files_8+devuan7_amd64.deb)....[OK]
Trying DEBIAN package (http://pkgmaster.devuan.org/merged/pool/DEBIAN/main/d/dash/dash_0.5.7-4+b1_amd64.deb)....[OK]
Trying DEBIAN-SECURITY package (http://pkgmaster.devuan.org/merged/pool/DEBIAN-SECURITY/updates/main/a/apache2/apache2_2.4.10-10+deb8u11_amd64.deb)....[OK]
=======
Rewrites are OK
$

The script needs either curl or wget, and returns the number of
errors found, or 0 if all the needed rewrite rules works as expected.

We will include an automatic weekly check of the rewrite rules, and
include the results in the weekly email with the list of mirrors sent
in this ML. Also, mirrors with faulty rules will be notified at the
stated admin address.

Comments and suggestions are welcome.

We would like to thank you for your precious effort in helping Devuan
become a universal, stable, dependable, free operating system.

The Dev1Devs