Every region-selection change re-downloaded every selected country's .osm.pbf from scratch, even ones already fetched by a prior build — painful for multi-GB countries. Extracts now persist in data/geofabrik_cache/, keyed by country, and are only re-fetched when Geofabrik's Last-Modified for that country actually moved on (checked with a cheap HEAD) or the file isn't cached yet.
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
# Ruby / Bundler
|
|
/.bundle/
|
|
/vendor/bundle/
|
|
*.gem
|
|
/log/
|
|
/tmp/
|
|
|
|
# tea CLI's own local cache (e.g. `tea actions runs logs`)
|
|
/.tmp/
|
|
|
|
# Offline map tile data (large binary; obtained/generated locally,
|
|
# see docs/development.adoc)
|
|
/data/*.pmtiles
|
|
|
|
# Per-country .osm.pbf cache for offline.pmtiles rebuilds (also large,
|
|
# also local-only — see PmtilesBuilder.cached_extract)
|
|
/data/geofabrik_cache/
|
|
|
|
# Offline Wikipedia ZIM for kiwix-serve (also large, also local-only —
|
|
# same story, see docs/development.adoc)
|
|
/data/kiwix/*
|
|
!/data/kiwix/.gitkeep
|
|
|
|
# User-uploaded GPX files
|
|
/data/gpx/*
|
|
!/data/gpx/.gitkeep
|
|
|
|
# Garmin LiveTrack session IDs received via webhook
|
|
/data/livetrack.json
|
|
|
|
# Private import plugins (see lib/maptool/plugins.rb's PLUGINS_DIRS,
|
|
# docs/deployment.adoc) — a plugin whose ToS forbids living in this public
|
|
# repo belongs here instead, outside git entirely.
|
|
/data/plugins/*
|
|
!/data/plugins/.gitkeep
|
|
|
|
# Editor / OS
|
|
.DS_Store
|
|
*.swp
|
|
|
|
# Local tooling settings
|
|
.claude/settings.local.json
|
|
|
|
# Deployment secrets (SESSION_SECRET, Gitea OAuth2 client id/secret) — lives
|
|
# only on the server, see docs/deployment.adoc
|
|
.env
|
|
|
|
# Written by the CI deploy job with the commit it deployed — never
|
|
# committed itself, see app.rb's REVISION
|
|
/REVISION
|