expoweb/cave_data/cavealiases.txt
2024-11-08 02:36:54 +00:00

117 lines
4.6 KiB
Plaintext

; This is the list of cave aliases which is parsed when a database reset is done.
; This capability created 3rd July 2024.
; This is IMPORTANT as it enables old logbook and wallet cave ids to be redirected to current cave ids.
; such as "2017_cucc_28" => "1623-290" is Fishface.
; Note that this just creates aliases for historic ids, it does not rename any cave or file.
; The format is ("<alias identifier>", "<target identifier>")
; e.g.
("2017_cucc_28", "1623-290")
("2012-0w-01", "2012-ow-01") # catch the typo: zero for 'O' in some logbook handwriting
; target identifiers must be all in lower case
; target identifiers must be of a real cave that already exists in the system, unless it is already an alias
; lines with initial semi-colon ; and anything after hash # are comments
; extra commas at the end are ignored
; extra blanks are ignored
; later aliases can reference earlier ones
; all upper- and lower-case variants for the alias are done automatically
; only one alias and target per line
# ("2011-01", "1623-292"), seems to be a mistake
# various funnies to cope with cave names used in logbooks and on wallet scans
("schnellzug", "1623-115"),
("kh", "1623-161"),
("161-kh", "1623-161"),
("204-steinBH", "1623-204"),
("stonebridge", "1623-204"),
("hauchhole", "1623-234"),
("hauch", "1623-234"),
("234-hauch", "1623-234"),
("tunnocks", "1623-258"),
("balcony", "1623-264"),
("balkon", "1623-264"),
("fgh", "1623-290"),
("fishface", "1623-290"),
("gsh", "1623-291"),
("1623-2023-lc-01", "1623-318"),
("tempest", "1623-2023-lc-01"), # see this aliases an alias from the previous line
# from the git output after Becka's changes, used to construct this list..
# rename caves-1623/{2023-ASH-15/2023-ASH-15.svx => 303/303.svx} (94%)
# rename caves-1623/{2023-mg-02/2023-mg-02.svx => 304/304.svx} (90%)
# rename caves-1623/{2023-mg-01/2023-mg-01.svx => 305/305.svx} (94%)
# rename caves-1623/{2023-ASH-17/2023-ASH-17.svx => 306/306.svx} (94%)
# rename caves-1623/{2023-ASH-05/2023-ASH-05.svx => 307/307.svx} (89%)
# rename caves-1623/{2023-ASH-08/2023-ASH-08.svx => 308/308.svx} (93%)
# rename caves-1623/{2023-ASH-09/2023-ASH-09.svx => 309/309.svx} (94%)
# rename caves-1623/{2023-mg-04/2023-mg-04.svx => 310/310.svx} (91%)
# rename caves-1623/{2023-ASH-16/2023-ASH-16.svx => 311/311.svx} (93%)
# rename caves-1623/{2023-RAWDB-02/2023-RAWDB-02.svx => 312/312.svx} (92%)
# rename caves-1623/{2023-RAWDB-01/2023-RAWDB-01.svx => 313/313.svx} (92%)
# rename caves-1623/{2023-kt-02/2023-kt-02.svx => 314/314.svx} (95%)
# rename caves-1623/{2023-jss-01 => 315}/2023-jss-01_trip1.svx (100%)
# rename caves-1623/{2023-jss-01 => 315}/2023-jss-01_trip2.svx (100%)
# rename caves-1623/{2023-jss-01/2023-jss-01.svx => 315/315.svx} (68%)
# rename caves-1623/{2023-kt-01/2023-kt-01.svx => 316/316.svx} (92%)
("2023-ASH-15", "1623-303"),
("2023-mg-02", "1623-304"),
("2023-mg-01", "1623-305"),
("2023-ASH-17", "1623-306"),
("2023-ASH-05", "1623-307"),
("2023-ASH-08", "1623-308"),
("2023-ASH-09", "1623-309"),
("2023-mg-04", "1623-310"),
("2023-ASH-16", "1623-311"),
("2023-RAWDB-02", "1623-312"),
("2023-RAWDB-01", "1623-313"),
("2023-kt-02", "1623-314"),
("2023-jss-01", "1623-315"),
("2023-kt-01", "1623-316"),
# 1626
("langgustl", "1626-354"),
("2018-dm-07", "1626-359"),
("1626-2018-dm-07", "1626-359"),
("homecoming", "2018-dm-07"),
("heimkommen", "2018-dm-07"),
("Heimkehr", "2018-dm-07"),
("hc", "2018-dm-07"),
("loveshack", "1626-2018-ad-03"),
("crushed-garlic", "1626-2018-ad-03"),
# Renaming cave ids in July 2024 which end in a letter
# NB targets should be LOWER CASE for this code
("2002-XX", "1623-2002-fb-01"),
("2002-X09B", "1623-2002-xb09"),
("2007-neu", "1623-2007-neu-01"),
("BuzzardHole", "1626-2023-bz-01"),
("2023-BuzzardHole", "1626-2023-bz-01"),
("1626-2023-BuzzardHole", "1626-2023-bz-01"),
("1626-2023-buzzardhole", "1626-2023-bz-01"),
("Rentner", "1623-rnt-01"),
("Blaubeer", "1623-blb-01"),
("Haldenlock", "1623-hld-01"),
("Juttahoehle", "1623-jtt-01"),
("Loutotihoehle", "1626-loutoti-01"),
("Casino", "1626-casino-01"),
("Upside-down", "1626-upside-down-01"),
("MickeyMouse", "1623-316")