Skip to content

build: mirror rtsp-patterns.json alongside cameras.json - #398

Merged
ch-bas merged 1 commit into
release/2.27.1from
chore/mirror-rtsp-patterns
Oct 1, 2026
Merged

ch-bas merged 1 commit into
release/2.27.1from
chore/mirror-rtsp-patterns

Conversation

@ch-bas

@ch-bas ch-bas commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Build tooling only, no data change.

DATA_MIRROR_DIR copied cameras.json and data-meta.json, but not data/rtsp-patterns.json. The site's RTSP guide pages kept the old guides after 2.27.0: 23 of them were stale, and Digital Watchdog's guide still gave the Dahua path while its 115 camera pages said /profile1. The build now copies the guide file too.

Tested with DATA_MIRROR_DIR=<tmp> node scripts/build.js. The mirror directory gets all three files, and rtsp-patterns.json is byte-identical to data/. No tracked files change.

package.json stays at 2.27.0, so merging this won't cut a release.

DATA_MIRROR_DIR copied cameras.json and data-meta.json but not the RTSP
guide layer, so the downstream site kept rendering old guides after a guide
correction (in 2.27.0, 23 brand guides were stale there, and Digital
Watchdog's guide page contradicted its 115 camera pages). Copy
data/rtsp-patterns.json too when it exists.
@ch-bas
ch-bas changed the base branch from main to release/2.27.1 October 1, 2026 16:18
@ch-bas
ch-bas merged commit 79f4015 into release/2.27.1 Oct 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant