Skip to content

Inject git-derived added date into generated cameras.json (v1.34.0)#119

Merged
ch-bas merged 1 commit into
mainfrom
feat/added-dates
Jul 14, 2026
Merged

Inject git-derived added date into generated cameras.json (v1.34.0)#119
ch-bas merged 1 commit into
mainfrom
feat/added-dates

Conversation

@ch-bas

@ch-bas ch-bas commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Adds an added (YYYY-MM-DD) field to every camera in the generated aggregate — derived from git history at build time (git log --diff-filter=A, --follow fallback for renamed files; 2,230/2,230 coverage, build +0.5s).

  • Source files & schema untouched — injected after AJV validation; provenance metadata, not dataset content.
  • CI: checkout now fetch-depth: 0 so the stale-artifact rebuild computes identical dates (shallow clones skip injection entirely rather than produce wrong dates).
  • Purpose: powers the frontend's new RSS feed + /recent/ page (separate web-repo PR).

…1.34.0)

Each camera in the generated aggregate gains added: YYYY-MM-DD (first git add
of its file; --follow fallback for renames). Source files and schema untouched
— injected post-validation as provenance metadata. Enables downstream RSS /
recently-added features. CI checkout now fetch-depth:0 so the stale check
reproduces identical dates.
@ch-bas ch-bas self-assigned this Jul 14, 2026
@ch-bas
ch-bas merged commit 828273e into main Jul 14, 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