Skip to content
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

UW-657 fs makedirs #572

Merged
merged 42 commits into from
Aug 21, 2024
Merged

Conversation

maddenp-noaa
Copy link
Contributor

@maddenp-noaa maddenp-noaa commented Aug 14, 2024

Synopsis

Rename file mode fs ("filesystem"), and add support for uw fs makedirs via CLI and API.

Note that all docs/sections/user_guide/cli/tools/file/* files appear to have been deleted, but they were simply moved to docs/sections/user_guide/cli/tools/fs/. Unfortunately, git considers a sufficiently high ratio of changed to unchanged lines to imply deletion and creation rather than renaming.

Type

  • Documentation
  • Enhancement (adds new functionality)

Impact

  • This is a non-breaking change (existing functionality continues to work as expected)

Checklist

  • I have added myself and any co-authors to the PR's Assignees list.
  • I have reviewed the documentation and have made any updates necessitated by this change.

@maddenp-noaa maddenp-noaa self-assigned this Aug 14, 2024
docs/sections/user_guide/cli/tools/file.rst Outdated Show resolved Hide resolved
src/uwtools/file.py Show resolved Hide resolved
src/uwtools/file.py Show resolved Hide resolved
src/uwtools/file.py Outdated Show resolved Hide resolved
src/uwtools/cli.py Outdated Show resolved Hide resolved
Copy link
Contributor

@christinaholtNOAA christinaholtNOAA left a comment

Choose a reason for hiding this comment

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

LGTM.

src/uwtools/file.py Outdated Show resolved Hide resolved
@maddenp-noaa maddenp-noaa changed the title UW-657 file mkdir UW-657 file makedirs Aug 15, 2024
@maddenp-noaa maddenp-noaa changed the title UW-657 file makedirs UW-657 fs makedirs Aug 20, 2024
Copy link
Contributor

@christinaholtNOAA christinaholtNOAA left a comment

Choose a reason for hiding this comment

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

Still LGTM!

docs/index.rst Show resolved Hide resolved
Co-authored-by: Christina Holt <[email protected]>
@maddenp-noaa maddenp-noaa merged commit 8e05ebc into ufs-community:main Aug 21, 2024
2 checks passed
@maddenp-noaa maddenp-noaa deleted the uw-657-file-mkdir branch August 21, 2024 16:04
Byrnetp added a commit that referenced this pull request Sep 3, 2024
* update_values() -> update_from() (#578)

* DRY out Driver._validate() (#579)

* Move execute() to its own API namespace, disambiguate (#580)

* Config classes to API (#582)

* Simplify unknown-extension error message (#584)

* UW-657 fs makedirs (#572)

* Docstring cleanup (#585)

* GH 586 bad stdin_ok prompt (#587)

* Fix issue with creating a metatask dep. (#589)

The rocoto schema is set up to allow metataskdep entries in the YAML, but the logic was not included in the tool to handle them. This addition fixes that.

* Add --show-schema support to drivers (#588)

* add file system notebook, unit tests, binder links

* Add missing newlines

* Add a table of contents

* Makefile and .gitignore changes from review

* Apply suggestions from code review

Co-authored-by: Paul Madden <[email protected]>

* Apply review suggestions to all sections of the notebook

* Specific rmtree() targeting and output cell test update

* Apply suggestions from code review

Co-authored-by: Paul Madden <[email protected]>

---------

Co-authored-by: Paul Madden <[email protected]>
Co-authored-by: Christina Holt <[email protected]>
Byrnetp added a commit that referenced this pull request Oct 17, 2024
* update_values() -> update_from() (#578)

* DRY out Driver._validate() (#579)

* Move execute() to its own API namespace, disambiguate (#580)

* Config classes to API (#582)

* Simplify unknown-extension error message (#584)

* UW-657 fs makedirs (#572)

* Docstring cleanup (#585)

* GH 586 bad stdin_ok prompt (#587)

* Fix issue with creating a metatask dep. (#589)

The rocoto schema is set up to allow metataskdep entries in the YAML, but the logic was not included in the tool to handle them. This addition fixes that.

* Add --show-schema support to drivers (#588)

* Config notebook p2 and example notebook removal

* removing merge diff text

* pin python version for RtD

* improvements from code review

* add config.compare() format mismatch example

* Remove typo

Co-authored-by: Emily Carpenter <[email protected]>

---------

Co-authored-by: Paul Madden <[email protected]>
Co-authored-by: Christina Holt <[email protected]>
Co-authored-by: Emily Carpenter <[email protected]>
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.

5 participants