-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: main
Are you sure you want to change the base?
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?
|
@@ -0,0 +1 @@ | |||
__version__ = '2024.01' |
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.
Is this used? I think it makes sense to store the version here instead of setup.py, but want to avoid duplication.
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.
i think the idea is to check the fre-cli
version below with a pythonic approach, but i'm wondering if this idea is actually dead-on-arrival the more i think about it...
Describe your changes
Added logic to fre pp Checkout to account for branch changes
Issue ticket number and link (if applicable)
issue 174