Skip to content

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