Repository navigation
Expand file tree
/
Copy path.gitignore
More file actions
111 lines (107 loc) · 5.15 KB
/
Copy path.gitignore
File metadata and controls
111 lines (107 loc) · 5.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
__pycache__/
*.pyc
*.obcm
# The bridge fixture contains both cell inputs and expected map outputs.
# Regenerate it with builder/wasm/examples/fixture.rs.
!builder/wasm/tests/fixture/cells/**/*.obcm
!builder/wasm/tests/fixture/expected/*.obcm
*.obcr
# ...except the shared wire-protocol test vectors (S0, issue #268). They must ship
# in-repo: firmware `cargo test -p obc-vectors` and the app's swift tests pin their
# codecs to these exact bytes.
!specs/vectors/*.obcr
*.osm.pbf
# ...except the 735-byte hand-authored fixture the obc-pack ingest test reads
# (host/obc-pack `ingest::tests::tiny_truth_table`). It must ship in-repo so the
# test actually runs in CI — otherwise it silently reported PASS without ever running
# (issue #95). Source of truth is the committed tiny/tiny.osm; rebuild via
# builder/tests/corpus/build_corpus.sh.
!builder/tests/corpus/data/tiny.osm.pbf
# ...and the other two corpus fixtures, in-repo for the same reason: the POI
# end-to-end test (#422) and the 233-byte deliberately-unsorted file that pins
# `--bbox`'s refusal to crop a file whose ways precede their nodes (#910).
!builder/tests/corpus/data/poi.osm.pbf
!builder/tests/corpus/data/unsorted.osm.pbf
# ...and the two overlapping halves of tiny.osm that pin the native multi-`.pbf`
# merge (#920): ingesting the pair must reproduce ingesting the whole.
!builder/tests/corpus/data/tiny_west.osm.pbf
!builder/tests/corpus/data/tiny_east.osm.pbf
# The simulator's default route + track stores (its "SD card") — runtime artifacts.
# obc-sim resolves these relative to the working directory, which is the repo root now
# that the workspace is rooted here (`obc sim` runs cargo from $OBC_ROOT). Root-anchored
# so they only match the two stores, not a `routes/` anywhere else in the tree.
/routes/
/tracks/
*.obct
# ...except the shared recorded-track vector (A2, #896): the browser conversion bridge's
# byte-identity test reads it, so it must ship in-repo like the other protocol vectors.
!specs/vectors/*.obct
# The simulator's persisted-settings file (the device-RRAM stand-in) — a runtime artifact.
/obc-settings.bin
firmware/obc-settings.bin
# `obc shot` output — before/after PNG sweeps are per-branch scratch, never committed. Its own
# default is ui-snapshots/ at the repo root. Root-anchored so it only matches that one sweep
# directory.
ui-snapshots/
# Per-branch working scratch (sweeps written elsewhere, logs, notes). Never committed.
.scratch/
.pytest_cache/
user_config.json
.artifacts/
.worktrees/
# Claude Code's per-agent worktrees — real git worktrees, so `git add -A` would
# otherwise record one as a submodule gitlink and break every clone.
.claude/worktrees/
.DS_Store
*.gpx
# ...except the deterministic source the protocol-vector route fixtures regenerate from.
!host/obc-vectors/src/route-source.gpx
# ...and the checked-in GPX export of the recorded-track vector (A2, #896) — the expected
# output the wasm bridge is compared against.
!specs/vectors/*.gpx
# ...and the iOS companion's bundled GPX import fixture (three OBCKit tests load it).
!companion-ios/Packages/OBCKit/Sources/OBCMock/Fixtures/sample-import.gpx
!companion-ios/Packages/OBCKit/Sources/OBCFormats/Resources/grimsel-pass.gpx
# ...and the captured route-import provider exports, the canonical copy of the same bytes.
!fixtures/sources/route-import/*.gpx
!fixtures/sources/kandel-ride/*.gpx
# Generated builder core and test-device bindings.
builder/web/src/lib/core/pkg/
builder/web/test-support/flat-device/pkg/
# `obc` dev-task tooling (in tools/): personal defaults + the web builder's
# virtualenv + the optional local maps drop. The tooling itself (everything in
# tools/ except obc.local) is committed.
tools/obc.local
# Planner tile settings for a local desktop build (see builder/desktop/README.md).
builder/web/.env.local
.venv/
/maps/
# Web builder frontend: dependencies + the Vite build output (CI builds it).
# The dev host builds into builder/server/static/dist/ (what the FastAPI server
# mounts); the static-web and desktop hosts into builder/web/dist/<host>/ — see
# #895. Both entries must keep matching vite.config.ts's outDirs: when they
# drifted apart, `npm run build` wrote to an unignored path and 640 KB of bundle
# got committed by accident (and the server mounted nothing).
builder/web/node_modules/
builder/web/tests/browser/node_modules/
builder/web/tests/device-smoke/node_modules/
sim/web-demo/tests/browser/node_modules/
builder/web/dist/
planner/tiles/dist/
planner/tiles/node_modules/
planner/tiles/.wrangler/
builder/server/static/dist/
# The static tier's data files (#900): the Geofabrik index is ~1.7 MB of
# generated JSON that goes stale weekly, and the catalog manifest belongs to the
# bakery — both are produced at deploy time, never committed.
builder/web/public/data/
# XcodeBuildMCP session defaults (local tool state)
.xcodebuildmcp/
# Cargo build output — the workspace root now sits at the repo root (its members span
# firmware/, host/ and apps/), so the build dir is here rather than under firmware/.
target/
fixtures/build/
# repowise local index and session cache — never committed.
/.repowise/
# Package-local reference to the existing Rust XCFramework.
companion-ios/Packages/OBCKit/.swiftpm/OBCHost.xcframework