ESMCI / git-fleximod

MIT License
2 stars 2 forks source link

Add notes on how to update the git fleximod subtree in a repository #42

Closed ekluzek closed 1 week ago

ekluzek commented 1 month ago

Since, I'm used to updating manage_externals, I was able to update the subtree for git-fleximod. But, I think we should have some documentation somewhere on how to do that. Possibly there already is I just didn't find it.

jedwards4b commented 1 month ago

It's here, although git-fleximod is not specifically mentioned. https://github.com/ESMCI/cime/wiki/CIME-Git-Workflow

ekluzek commented 1 month ago

OK, thanks for that. That gives how to handle git subtrees beneath CIME, but git-fleximod isn't under CIME. So I think there should be instructions on how to handle it for a model separate from CIME.

jedwards4b commented 1 month ago

manage_externals was included as a gitsubtree - where are those instructions?

ekluzek commented 1 month ago

https://github.com/ESMCI/manage_externals/wiki#including-manage_externals-in-other-repositories

dabail10 commented 3 weeks ago

I have a similar question. I am getting the following message. It seems like the e is an error message, but it simply does a recursive submodule update here. Since icepack is a submodule of CICE, should I add fxtag to the .gitmodules under CICE?

Recursively checking out submodules of cice

e                  src has no fxtag defined in .gitmodules
Recursively checking out submodules of src

e              icepack has no fxtag defined in .gitmodules
                cice up to date.
jedwards4b commented 3 weeks ago

@dabail10 actually your question has nothing to do with this issue. If you don't have fxtag defined for a submodule, git-fleximod will still work but it warns you that there is no fxtag defined - you don't need to define it but you can if you want.

dabail10 commented 3 weeks ago

I realize it wasn't related, but didn't feel it was worth a separate issue.

jedwards4b commented 1 week ago

wiki added