[FEATURE] Add --release and --schema-version CLI flags#74
Merged
Francisco Jiménez (jjcfrancisco) merged 6 commits intoJun 15, 2026
Merged
Conversation
…gen-stac Signed-off-by: Francisco Jiménez <jjcfrank@gmail.com>
🗺️ OMF STAC preview is live!
Note ♻️ This preview updates automatically with each push to this PR. |
…s in tf-data-platform
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.", |
Contributor
There was a problem hiding this comment.
nit: should we do any light regex validation for either of these?
Member
Author
There was a problem hiding this comment.
Good idea!
John McCall (lowlydba)
approved these changes
Jun 15, 2026
Signed-off-by: Francisco Jiménez <jjcfrank@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #73
Description
Adds
--releaseand--schema-versionflags togen-stacsorelease_publish_dagcan invoke it for a single release with the schema version read frommetadata.jsonat runtime. Removes the hardcodedschema_version_mappingdict. Removes the daily schedule frompublish-stac.yaml— STAC generation now happens at release time via the DAG, not on a cron.Data Impact
Testing