Skip to content

[FEATURE] Add --release and --schema-version CLI flags#74

Merged
Francisco Jiménez (jjcfrancisco) merged 6 commits into
mainfrom
jjcfrancisco/add-release-and-schema-version-flags
Jun 15, 2026
Merged

[FEATURE] Add --release and --schema-version CLI flags#74
Francisco Jiménez (jjcfrancisco) merged 6 commits into
mainfrom
jjcfrancisco/add-release-and-schema-version-flags

Conversation

@jjcfrancisco

@jjcfrancisco Francisco Jiménez (jjcfrancisco) commented Jun 15, 2026

Copy link
Copy Markdown
Member

Closes #73

Description

Adds --release and --schema-version flags to gen-stac so release_publish_dag can invoke it for a single release with the schema version read from metadata.json at runtime. Removes the hardcoded schema_version_mapping dict. Removes the daily schedule from publish-stac.yaml — STAC generation now happens at release time via the DAG, not on a cron.

Data Impact

  • No data impact

Testing

  • CI only

…gen-stac

Signed-off-by: Francisco Jiménez <jjcfrank@gmail.com>
@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown

🗺️ OMF STAC preview is live!

📦 Catalog https://staging.overturemaps.org/stac/pr/74/catalog.json
🕐 Updated Jun 15, 2026 20:27 UTC
📝 Commit 21c45e3

Note

♻️ This preview updates automatically with each push to this PR.

@jjcfrancisco Francisco Jiménez (jjcfrancisco) changed the title [FEATURE] Add --release and --schema-version CLI flags and publish container image [FEATURE] Add --release and --schema-version CLI flags Jun 15, 2026
Comment thread src/overture_stac/cli.py
Comment on lines +40 to +51
parser.add_argument(
"--release",
type=str,
default=None,
help="Release version to generate STAC for (e.g. 2026-05-20.0). When omitted, all releases are processed.",
)

parser.add_argument(
"--schema-version",
type=str,
default=None,
help="Schema version for the release (e.g. 1.17.0). Required when --release is provided.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should we do any light regex validation for either of these?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

Signed-off-by: Francisco Jiménez <jjcfrank@gmail.com>
@jjcfrancisco Francisco Jiménez (jjcfrancisco) merged commit a42d6ae into main Jun 15, 2026
18 checks passed
@jjcfrancisco Francisco Jiménez (jjcfrancisco) deleted the jjcfrancisco/add-release-and-schema-version-flags branch June 15, 2026 20:41
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.

[FEATURE] Add --release and --schema-version CLI flags and publish container image

2 participants