[Git-commits] [grml/grml-mirrors] a93835: Fix region handling of broken mirrors

Michael Prokop noreply at github.com
Thu May 12 12:59:14 CEST 2022


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-mirrors
  Commit: a938356fed2ea92abed3ad61138f770133bccc90
      https://github.com/grml/grml-mirrors/commit/a938356fed2ea92abed3ad61138f770133bccc90
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-05-12 (Thu, 12 May 2022)

  Changed paths:
    M bin/generate_mirror_map

  Log Message:
  -----------
  Fix region handling of broken mirrors

The handling of region vs broken mirrors (in state "f") is wrong,
and we might end up with the wrong URLs in foreign regions, like:

| # ./generate_mirror_map| sort -u
| at mirror.alwyzon.net/grml/|at.mirror.anexia.com/grml/
| br grml.c3sl.ufpr.br//
| ch mirror.de.leaseweb.net/grml/|ftp.halifax.rwth-aachen.de/grml/|mirror.23m.com/grml/
| cn mirror.de.leaseweb.net/grml/|ftp.halifax.rwth-aachen.de/grml/|mirror.23m.com/grml/
| de mirror.de.leaseweb.net/grml/|ftp.halifax.rwth-aachen.de/grml/|mirror.23m.com/grml/
| fi mirror.de.leaseweb.net/grml/|ftp.halifax.rwth-aachen.de/grml/|mirror.23m.com/grml/
| gb mirror.bytemark.co.uk/grml/
| hk mirror-hk.koddos.net/grml/
| ir mirror.bardia.tech/grml/
| nl mirror.koddos.net/grml/|mirror.nl.leaseweb.net/grml/
| tw tw1.mirror.blendbyte.net/grml/
| ua grml.ip-connect.info//|grml.ip-connect.vn.ua//
| us mirror.us.leaseweb.net/grml/|mirrors.rit.edu/grml/

Now with the fixed behavior, we get what we're expecting:

| # ./generate_mirror_map| sort -u
| at mirror.alwyzon.net/grml/|at.mirror.anexia.com/grml/
| br grml.c3sl.ufpr.br//
| de mirror.23m.com/grml/|mirror.de.leaseweb.net/grml/|ftp.halifax.rwth-aachen.de/grml/
| gb mirror.bytemark.co.uk/grml/
| hk mirror-hk.koddos.net/grml/
| ir mirror.bardia.tech/grml/
| nl mirror.nl.leaseweb.net/grml/|mirror.koddos.net/grml/
| tw tw1.mirror.blendbyte.net/grml/
| ua grml.ip-connect.info//|grml.ip-connect.vn.ua//
| us mirror.us.leaseweb.net/grml/|mirrors.rit.edu/grml/


  Commit: cbccc35f61e7f63d14ff1fa13e8628f4c59634bd
      https://github.com/grml/grml-mirrors/commit/cbccc35f61e7f63d14ff1fa13e8628f4c59634bd
  Author: Michael Prokop <mika at grml.org>
  Date:   2022-05-12 (Thu, 12 May 2022)

  Changed paths:
    M Mirrors.masterlist

  Log Message:
  -----------
  Drop broken mirror grml.c3sl.ufpr.br

On http the mirror works as expected, though on https
it servces only an nginx html templare directory.

Since we expect to have working https mirrors, let's drop
this mirror.


Compare: https://github.com/grml/grml-mirrors/compare/af178d1101a7...cbccc35f61e7


More information about the Git-commits mailing list