-
Notifications
You must be signed in to change notification settings - Fork 11
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
Checkout edits #249
Checkout edits #249
Conversation
syntax fixed on line 36
switched to checking out tag 2024.01
…i into checkout_edits
There are 4 logical pathways that we want for fre pp checkout. It's cheating a little to do this, but git helpfully conflates branches and tags. So everywhere we use branch or tag, we should try to use "branch/tag" or "branch or tag".
Determine the default tag, with Checkout that with
fre pp clone --branch=shield https://github.com/NOAA-GFDL/fre-workflows Check out the requested branch/tag with
Determine the default tag, with Determine the branch and tag of ~/cylc-src/NAME. If either match, then OK. If none match, then give an error with the mismatch. You can get the branch of ~/cylc-src/NAME with
Verify that either the branch ( in ~/cylc-src/NAME matches the user request. If not, give the mismatch error. |
I pip-installed your branch to give it a try on the 4 logical pathways, and it failed with a IndexError. Do you see this on your end?
|
you'll wanna peek at the click argument default values as well |
352c568
to
bdfa7f5
Compare
@ilaflott could you please eyeball these changes and flag anything egregious? They are the necessary changes to make the Bronx-23 pp.starter be able to start it with @kiihne-noaa's fre pp wrapper changes, but the |
test broken... no merge... exploring.... |
…request (smh at you, github acitons...)
…oning and put it in init where it belongs
…ption, since it seems to pick it up from the __init__.py correctly anyways
… flags for target
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
@kiihne-noaa thanks for the initial push, @ceblanton thanks for the finishing-push and the versioning code via importlib
, that's exactly what we needed in fre/__init__.py
Describe your changes
Added logic to fre pp Checkout to account for branch changes
Issue ticket number and link (if applicable)
issue 174