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

Further tiny refactorings and docs of checkout API (no-op). #173

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

johnpaulalex
Copy link
Contributor

Remove unused load_all param in _External.checkout().
Rename _External.checkout_externals() to checkout_subexternals(), to remove the ambiguity about whether the main external pointed to by the _External is itelf checked out (it is not)
Clarify load_all documentation - it’s always recursive, but applies different criteria at each level.
Rename variables in checkout.py (e.g. ext_description) to match the equivalent code in sourcetree.py.

User interface changes?: No

Fixes: follow-on to issue 155, making checkout_externals easier to read/modify.

Testing:
test removed:
unit tests:
system tests:
manual testing: reran checkout_externals.

   Remove unused load_all param in _External.checkout().
   Rename _External.checkout_externals() to checkout_subexternals(), to remove the ambiguity about whether the main external pointed to by the _External is itelf checked out (it is not)
   Clarify load_all documentation - it’s always recursive, but applies different criteria at each level.
   Rename variables in checkout.py (e.g. ext_description)  to match the equivalent code in sourcetree.py.
@jedwards4b jedwards4b merged commit 27909e2 into ESMCI:master Jan 6, 2023
@johnpaulalex johnpaulalex deleted the readall branch February 4, 2023 15:05
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.

2 participants