This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
This file contains 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
Update dependencies for pangeo_forge refactor.
Implement adaptive scaling for managing Dask cluster workers.
Remove stray worker count setting.
Update dependencies to use release of pangeo-forge-recipes.
(Converted this to draft; will re-mark as Ready for review once I've incorporated all comments from first review cycle.) |
Thanks to all for your feedback on this. Closing because the design direction has been superseded by #6. The effort here (both in code and reviews) is not lost: I'll certainly be referring back to it extensively in the coming weeks. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
A first draft of CLI functionality related to pangeo-forge/roadmap#37. Local install can be made by running
poetry install
from the repo root, following the recommendation of https://typer.tiangolo.com/tutorial/package/.The top-level entry point is
pangeo-forge --help
where
bakery
andcatalog
aretyper
sub-applications andlint
is a top-level function. (Design inspired by pangeo-forge/pangeo-forge-recipes#69; specifics subject to change.)Currently the
bakery
sub-application is the only functional componentpangeo-forge bakery --help
Calling
ls
from this sub-application without arguments returns the list of bakeries from pangeo-forge/bakery-databaseCalling
ls
with one of the above-listed--bakery-id
s returns details about that bakerypangeo-forge bakery ls --bakery-id 'great_bakery'
Further appending
--view build-logs
to this command fetches thebuild-logs.json
file from the bakery's storage target and renders it as a tablepangeo-forge bakery ls --bakery-id 'great_bakery' --view build-logs
Finally, the logs can be filtered based on a specific feedstock name (or substring thereof)
pangeo-forge bakery ls --bakery-id 'great_bakery' --view build-logs --feedstock-name gigatl