Replies: 3 comments
-
I must admit that for my part I do not have very strong preferences, so hard to unless I really go through the details. I have a couple of comments though.
|
Beta Was this translation helpful? Give feedback.
-
I am starting to wonder if we want to stick with submodules at the top level of NorESM. With manage_externals, you could have two different Externals.cfg files which could be used to checkout different versions of the model. This is not possible with either git fleximod or with plain git submodules. Does anyone see a use for this potential feature? |
Beta Was this translation helpful? Give feedback.
-
@gold2718 - I think it's a good point that we might want different Externals.cfg files. I find the git submodules/fleximod to be more difficult to work with when switching between model versions (usually I end up cloning everything again from gitHub sources). Maybe it would be easier if we use submodules for dependencies within components. |
Beta Was this translation helpful? Give feedback.
-
The NorESM 2.5 alpha08 tags introduced
git fleximod
as a replacement formanage_externals
. Both tools were developed at NCAR and both tools aim to manage the correct checkout of NorESM externals and sub-externals based on a documented set of external repositories and tags. Experience withgit fleximod
has led to this discussion on the properties of a desired solution for the NorESM community and developers. This introduction has two sections:Should the NorESM external checkout tool use git submodules
git fleximod
checks out externals as submodules. Because the tool uses the .gitmodules file to document the desired tags, it also requires that the submodules exist in the commit.manage_externals
does not use submodules. Each external is checked out as a separate clone.What features should the NorESM external checkout tool have?
Required features
--force
option<name>.cfg
) manage this by using one file for top-level checkouts and one for sub-externalsDesired features
HEAD
.Questions
Beta Was this translation helpful? Give feedback.
All reactions