-
Notifications
You must be signed in to change notification settings - Fork 200
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
Improve describe_version for git-fleximod #270
Improve describe_version for git-fleximod #270
Conversation
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.
Thanks for this.
describe_version
Outdated
#!/usr/bin/env python | ||
"""Describes the CESM version and any local modifications""" | ||
|
||
from __future__ import print_function |
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 don't think that you need this line.
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.
Good point - this was a carry-over from the past version of this. I have removed it.
@billsacks We have changed the workflow for cesm - please redirect your PR to the cesm3-alphabranch. Thanks |
I will update it to leverage git-fleximod, but want to use the more extensive python script as a starting point.
b60a54e
to
e15bd26
Compare
Thanks for the reminder. I have rebased this and changed the base for this PR. |
Description of changes
Until recently, the describe_version script worked with manage_externals. In ca22dbf, @jedwards4b changed it to work with git-fleximod, but in doing so removed some of its features. This PR brings back its original features but changes it to work with git-fleximod.
Specific features this brings are:
cime/scripts
, you could run../../describe_version
and it would work the same as if you rancd ../../; ./describe_version
)Specific notes
Contributors other than yourself, if any:
Fixes #245
User interface changes?: No
Testing performed (automated tests and/or manual tests): Manual testing of describe_version script