-
Notifications
You must be signed in to change notification settings - Fork 313
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
Remove manage externals #2443
Remove manage externals #2443
Conversation
git-subtree-dir: .lib/git-fleximod git-subtree-split: 5a1e5f6
e8e4abe
to
988f93e
Compare
Thanks for this, @jedwards4b. Is your PR ready for review now, or is this still a work in progress? |
I've just created a new branch [email protected]:jedwards4b/ctsm.git rme/ctsm5.1.dev175 |
Thanks, I'm in meetings most of the rest of today. @samsrabin are you able to give this a test drive for Jim as some point? |
Sure, either today or tomorrow. |
Jim, this works great—thanks! The one thing I noticed is that it automatically downloads |
Yes we can make the doc-builder optional. |
I also tried adding this:
And ran into an error:
From looking at the Python for that error message, it looks like |
Yes there is an extra step required to add a new repository. Let me think about it a bit, maybe there doesn't need to be. |
@jedwards4b, the discussion in the CSEG meeting reminded me about this. Any thoughts? I think if it's too much effort to rework things to skip the extra step, then it'd be fine to just improve the error message (and also any instructions?) to explain what one needs to do. |
@samsrabin thank you for the reminder, i have opened a PR to git-fleximod that solves this problem. ESMCI/git-fleximod#36 |
@samsrabin I've updated this branch with the latest git-fleximod which solves the issue. |
Thanks Jim! I just re-tested and it works great. One last thought: I'm not sure what the difference is between |
Yes this is documented here: https://github.com/ESMCI/git-fleximod?tab=readme-ov-file#supported-gitmodules-variables Toplevel means that this submodule is only considered if this module is at the toplevel of the clone, so files in ctsm's .gitmodules file labeled toplevel would be considered when you have cloned ctsm but not when you have cloned cesm. |
@jedwards4b there are some changes that we need to bring in associated with this. Would you prefer:
The main thing I'm thinking of is documentation in README type files, as well as running testing. Which you wouldn't need to review. If we do anything that changes any important details of your work, we'd do a PR to this one, to get your feedback. |
My plan is to close this PR unmerged and open a new one based on the final tag you put in beta18. Does that meet your needs? I think that you can prepare updates to documentation now to be ready to merge to that PR when it's opened. |
@jedwards4b thanks for letting us know your plans. I think the only thing that needs to be done here is to to update .gitmodules based on our CTSM tag for cesm2_3_beta18 right? If so I suggest keeping this one open, and we'll do that update. We need to get comfortable with updating that file anyway. Having us do that update would actually be good for us to be more confident in working with git fleximod. How does that sound? |
Sure, that sounds fine. |
Blocked while we wait for |
This should also include #2536 for documentation. |
@jedwards4b |
This PR is superceeded by #2559 |
FYI. As an exercise in learning about git-fleximod I took this branch and updated it to ctsm5.2.007 to make sure I could manage the process of handling submodule updates in the git-fleximod framework. I was able to do that and show that I ended up with the same thing as ctsm5.2.007 in the end. So that was a good way of familiarizing myself with the new process. |
Description of changes
This PR changes the source branch and continues discussion from #2303
Specific notes
Contributors other than yourself, if any:
CTSM Issues Fixed (include github issue #):
Are answers expected to change (and if so in what way)? No
Any User Interface Changes (namelist or namelist defaults changes)? No
Testing performed, if any: