Skip to content

Add camera database build + brand normalization (gyroflow#742)#31

Open
ProspectOre wants to merge 3 commits into
gyroflow:mainfrom
ProspectOre:bounty-742-camera-database
Open

Add camera database build + brand normalization (gyroflow#742)#31
ProspectOre wants to merge 3 commits into
gyroflow:mainfrom
ProspectOre:bounty-742-camera-database

Conversation

@ProspectOre

@ProspectOre ProspectOre commented May 17, 2026

Copy link
Copy Markdown

Companion data/release PR for gyroflow/gyroflow#1154 and gyroflow/gyroflow#742.

This PR is structured for review in three commits:

  1. Publish camera database release asset

    • Adds deterministic build_camera_database.py generation from the current lens profile JSON files.
    • Produces camera_database.json with brands, camera models, lenses, mounts, sensor class, crop factor, and source metadata.
    • Updates compression/release flow so camera_database.json can ship next to profiles.cbor.gz.
  2. Normalize profile camera metadata

    • Applies canonical brand normalization across existing profile JSON metadata.
    • Keeps the generated database aligned with the existing profile corpus instead of only adding a parallel catalog.
  3. Allow release workflow to publish artifacts

    • Ensures the release workflow has the permissions/artifact path needed to publish both assets.

Relationship to app PR

gyroflow/gyroflow#1154 reads this camera_database.json release asset and falls back to the bundled copy when no downloaded asset exists yet. The app PR can be reviewed commit-by-commit after this data shape is accepted.

Validation

Suggested checks:

./build_camera_database.py
./compress.rs

Merged after workflow YAML validation and passing build check; skip CI to avoid extra Actions minutes and notification churn.
@ProspectOre

Copy link
Copy Markdown
Author

Quick update: this is the data/release half of gyroflow/gyroflow#1154.

Suggested review path:

  1. generated camera_database.json shape
  2. brand normalization pass across existing profiles
  3. release workflow publishing camera_database.json beside profiles.cbor.gz

Once this data shape is accepted, the app PR can be reviewed against it commit-by-commit.

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