-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: format (pretty-print) STAC files TDE-759 #172
base: master
Are you sure you want to change the base?
Conversation
apiVersion: argoproj.io/v1alpha1 | ||
kind: WorkflowTemplate | ||
metadata: | ||
name: tpl-at-format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's "at" in this? "Argo task"? Would including "stac" somewhere be clearer, such as "tpl-at-format-stac"?
Also, other templates have names like "create-collection". Is "tpl-at-" redundant?
- name: source | ||
description: Path to format files from | ||
- name: target | ||
description: (Optional) Target directory (testing) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is empty, does it format files in-place? As a newbie, that might be useful clarification. If we are relying on third party functionality, it might be OK to just link to the (appropriate version of the) reference somewhere.
default: "" | ||
- name: fix-content-type | ||
description: (Optional) Set the content-type to S3 object | ||
default: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are valid values here? Are these MIME types, as used by the HTTP Content-Type
header? What happens if this is empty?
Description
Add a
WorkflowTemplate
to format files that callslinz/argo-tasks
pretty-print
command. This template is used inimagery-standardising
workflow.Intention
Some of the STAC files (
Item
) are not pretty printed. Having aWorkflowTemplate
allows to format files inside a workflow for newly created files. It can also be ran as a one-off job for existing files.Checklist
If not applicable, provide explanation of why.