-
Notifications
You must be signed in to change notification settings - Fork 54
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
command line interface for pangeo-forge: here or in pangeo-smithy #43
Comments
Worth nothing that @TomAugspurger had a CLI already in the earlier version, which I removed in my big refactor: |
From my perspective, the CLI for running/validating recipes should belong in this repo, as this is where the majority of Recipe, Pipeline, etc. implementation will be hosted. If I'm understanding the function of pangeo-smithy correctly, a CLI for that project should handle:
I also feel like the processes of running recipes locally and submitting them to a bakery are distinct enough that they could be separate CLI tools, but I recognize why users would probably want to do both of those tasks within the context of this one project. In summary:
|
I’m also +1 for just developing as much as possible in a single repo, even if we register separate console scripts for the different users.
… On Jan 25, 2021, at 2:17 PM, Charles Blackmon-Luca ***@***.***> wrote:
From my perspective, the CLI for running/validating recipes should belong in this repo, as this is where the majority of Recipe, Pipeline, etc. implementation will be hosted. If I'm understanding the function of pangeo-smithy correctly, a CLI for that project should handle:
Generating a git repo from a YAML config file
Notifying a user what environment variables need to be configured (authentication, other CLI settings, etc.)
Reporting warnings or errors to help a user debug problems before/during making a PR to staged-recipes
I also feel like the processes of running recipes locally and submitting them to a bakery are distinct enough that they could be separate CLI tools, but I recognize why users would probably want to do both of those tasks within the context of this one project. In summary:
pangeo-forge - running and validation of recipes locally
pangeo-smithy - generation of recipes and validation of YAML configs
pangeo-bakery - submission of recipes to bakeries
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#43 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAKAOIUUUVD2H3DZT3U5273S3XGUFANCNFSM4WPH7PYA>.
|
This now exists in https://github.com/pangeo-forge/pangeo-forge-runner, with ongoing discussion of modularization vs. monorepo ongoing in #514, so closing this. Thanks all! |
For submitting recipes to bakeries from scripts, github workflows, etc., it will be useful to have a command line interface (CLI) for pangeo-forge. The CLI would work something like this:
Some questions:
The text was updated successfully, but these errors were encountered: