Map data pull: of kiwix/ only the served wikipedia.zim, not the other ZIMs lying there (65 GB)
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-11-29 13:13:02 +01:00
1 parent 5eea31c741
commit f9fbcdbbc5
2 files changed
+5 -3

No files matched your search

+4 -2
View File
@@ -224,8 +224,10 @@ module Maptool
# Map data the server hands its clients (GET /api/sync/maps, pulled by
# bin/pull-maps.sh — one way, the server builds it): these files and
# everything under these directories of DATA_DIR.
MAP_SYNC_FILES = %w[offline.pmtiles offline.pmtiles.meta.json terrain.pmtiles terrain.pmtiles.meta.json offline_regions.json].freeze
MAP_SYNC_DIRS = %w[routing places hiking_trails kiwix nps].freeze
# Of kiwix/ only the ZIM kiwix-serve is given (other ZIMs lying there are GBs).
MAP_SYNC_FILES = %w[offline.pmtiles offline.pmtiles.meta.json terrain.pmtiles terrain.pmtiles.meta.json offline_regions.json
kiwix/wikipedia.zim].freeze
MAP_SYNC_DIRS = %w[routing places hiking_trails nps].freeze
# { "relative/path" => absolute path } of the map data there is now;
# hidden and temporary files (.rsync-partial, *.part, *.tmp) left out,