-
Notifications
You must be signed in to change notification settings - Fork 312
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
With move to git need to replace subversion keywords with tag identifying informaton #215
Comments
The hash id's are the absolutely unique identifier in git, since both tags and branches can move. So I guess I'd propose that clm's build namelist infrastructure query git and record the hash and tag/branch if available. It can also query the clean/dirty status. I don't know how source mods would be included in this info, since they are explicitly removed from version control and only available in a case. This would be a separate bit of information that would have to come from cime and the build? Some other issues that come to mind:
|
@billsacks Thoughts? |
Yes, I like this idea.
This sounds messy. Maybe worth trying to figure out at some point, but I'd say skip it for the initial version.
Good point, although this could get messy. If you're on a remote-tracking branch this is straightforward. But what if you're on a tag (or otherwise in detached head state)? It seems like that will be common. You could do something like
I'd vote for having it read in via namelist because I don't like auto-generating code unless it's really needed.
I'd say that we want to query this git information from
If you're in a clean state (with properly run |
This is in place now so closing. |
update doc by adding NUOPC cap phases
Remove$RevisionID$ fill version, which I think comes in from cime, with top level name of checkout. Note, this makes it only useful if you have checked out a frozen tagname. Current identifying information includes:
The text was updated successfully, but these errors were encountered: