Skip to content

Commit f226637

Browse files
authored
Merge pull request #1446 from cacraigucar/cam_alpha07h
cam6_4_134: Update externals to match cesm3_0_alpha07h
2 parents 1ce1781 + f747d02 commit f226637

29 files changed

+1665
-674
lines changed

.gitmodules

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,42 +124,42 @@ fxDONOTUSEurl = https://github.com/ESCOMP/MOSART
124124
[submodule "mizuRoute"]
125125
path = components/mizuRoute
126126
url = https://github.com/ESCOMP/mizuRoute
127-
fxtag = v3.0.0
127+
fxtag = v3.0.1
128128
fxrequired = ToplevelRequired
129129
fxDONOTUSEurl = https://github.com/ESCOMP/mizuRoute
130130

131131
[submodule "ccs_config"]
132132
path = ccs_config
133133
url = https://github.com/ESMCI/ccs_config_cesm.git
134-
fxtag = ccs_config_cesm1.0.63
134+
fxtag = ccs_config_cesm1.0.65
135135
fxrequired = ToplevelRequired
136136
fxDONOTUSEurl = https://github.com/ESMCI/ccs_config_cesm.git
137137

138138
[submodule "cime"]
139139
path = cime
140140
url = https://github.com/ESMCI/cime
141-
fxtag = cime6.1.135
141+
fxtag = cime6.1.144
142142
fxrequired = ToplevelRequired
143143
fxDONOTUSEurl = https://github.com/ESMCI/cime
144144

145145
[submodule "cmeps"]
146146
path = components/cmeps
147147
url = https://github.com/ESCOMP/CMEPS.git
148-
fxtag = cmeps1.1.23
148+
fxtag = cmeps1.1.24
149149
fxrequired = ToplevelRequired
150150
fxDONOTUSEurl = https://github.com/ESCOMP/CMEPS.git
151151

152152
[submodule "cdeps"]
153153
path = components/cdeps
154154
url = https://github.com/ESCOMP/CDEPS.git
155-
fxtag = cdeps1.0.83
155+
fxtag = cdeps1.0.84
156156
fxrequired = ToplevelRequired
157157
fxDONOTUSEurl = https://github.com/ESCOMP/CDEPS.git
158158

159159
[submodule "share"]
160160
path = share
161161
url = https://github.com/ESCOMP/CESM_share
162-
fxtag = share1.1.9
162+
fxtag = share1.1.16
163163
fxrequired = ToplevelRequired
164164
fxDONOTUSEurl = https://github.com/ESCOMP/CESM_share
165165

@@ -194,6 +194,6 @@ fxDONOTUSEurl = https://github.com/ESCOMP/FMS_interface
194194
[submodule "tools/CUPiD"]
195195
path = tools/CUPiD
196196
url = https://github.com/NCAR/CUPiD.git
197-
fxtag = v0.3.1
197+
fxtag = v0.4.0
198198
fxrequired = ToplevelRequired
199199
fxDONOTUSEurl = https://github.com/NCAR/CUPiD.git

.lib/git-fleximod/.github/workflows/pytest.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ jobs:
7373
- run: |
7474
git config --global user.name "${GITHUB_ACTOR}"
7575
git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
76-
poetry run pytest
77-
- name: Setup tmate session
78-
if: ${{ failure() }}
79-
uses: mxschmitt/action-tmate@v3
80-
76+
poetry run pytest --doctest-modules
77+
# - name: Setup tmate session
78+
# if: ${{ failure() }}
79+
# uses: mxschmitt/action-tmate@v3

.lib/git-fleximod/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ exclude: ^utils/.*$
22

33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.0.1
5+
rev: v6.0.0
66
hooks:
77
- id: end-of-file-fixer
88
- id: trailing-whitespace

.lib/git-fleximod/CODE_OF_CONDUCT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Examples of behaviors that contribute to a positive environment include:
1717
* Communicate openly with respect for others, critiquing ideas rather than individuals and gracefully accepting criticism
1818
* Acknowledging the contributions of others
1919
* Avoid personal attacks directed toward other participants
20-
* Be mindful of your surroundings and of your fellow participants
20+
* Be mindful of your surroundings and of your fellow participants
2121
* Alert UCAR staff and suppliers/vendors if you notice a dangerous situation or someone in distress
2222
* Respect the rules and policies of the project and venue
2323

@@ -29,7 +29,7 @@ Examples of unacceptable behavior include, but are not limited to:
2929
* Personal attacks directed at other guests, members, participants, etc.
3030
* Publishing others' private information, such as a physical or electronic address, without explicit permission
3131
* Alarming, intimidating, threatening, or hostile comments or conduct
32-
* Inappropriate use of nudity and/or sexual images
32+
* Inappropriate use of nudity and/or sexual images
3333
* Threatening or stalking anyone, including a participant
3434
* Other conduct which could reasonably be considered inappropriate in a professional setting
3535

@@ -60,7 +60,7 @@ the [Attribution](#attribution) section.
6060
## Reporting
6161
Instances of unacceptable behavior can be brought to the attention of the project administrator(s) who may take any action as
6262
outlined in the [Consequences](#consequences) section below.
63-
However, making a report to a project administrator is not considered an 'official report' to UCAR.
63+
However, making a report to a project administrator is not considered an 'official report' to UCAR.
6464

6565
Instances of unacceptable behavior may also be reported directly to UCAR pursuant to [UCAR's Harassment Reporting and Complaint
6666
Procedure](https://www2.fin.ucar.edu/procedures/hr/harassment-reporting-and-complaint-procedure), or anonymously through [UCAR's

.lib/git-fleximod/git_fleximod/cli.py

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from pathlib import Path
22
import argparse, os, sys
3-
from git_fleximod import utils
43

5-
__version__ = "1.0.3"
4+
__version__ = "1.1.1"
5+
66

77
class CustomArgumentParser(argparse.ArgumentParser):
88
def print_help(self, file=None):
@@ -17,13 +17,28 @@ def print_help(self, file=None):
1717
for path in candidate_paths:
1818
if os.path.exists(path):
1919
with open(path) as f:
20-
print( f.read(), file=file)
20+
print(f.read(), file=file)
2121
return
22-
print( "README.md not found.", file=file)
22+
print("README.md not found.", file=file)
23+
2324

2425
def find_root_dir(filename=".gitmodules"):
25-
""" finds the highest directory in tree
26-
which contains a file called filename """
26+
"""
27+
Finds the highest directory in tree which contains a file called filename.
28+
29+
>>> import tempfile, os
30+
>>> cwd = os.getcwd()
31+
>>> with tempfile.TemporaryDirectory() as tmp:
32+
... subdir = Path(tmp) / 'subdir'
33+
... subdir.mkdir()
34+
... f = Path(tmp) / '.gitmodules'
35+
... _ = f.write_text('')
36+
... os.chdir(subdir)
37+
... result = find_root_dir('.gitmodules') == str(tmp)
38+
... os.chdir(cwd)
39+
... result
40+
True
41+
"""
2742
d = Path.cwd()
2843
root = Path(d.root)
2944
dirlist = []
@@ -40,6 +55,7 @@ def find_root_dir(filename=".gitmodules"):
4055
return str(dl)
4156
return None
4257

58+
4359
def get_parser():
4460
description = """
4561
%(prog)s manages checking out groups of gitsubmodules with additional support for Earth System Models
@@ -116,6 +132,13 @@ def get_parser():
116132
"verbosity level each time.",
117133
)
118134

135+
parser.add_argument(
136+
"--no-mods-details",
137+
action="store_true",
138+
default=False,
139+
help="Suppress details on local mods in status output.",
140+
)
141+
119142
parser.add_argument(
120143
"-V",
121144
"--version",

0 commit comments

Comments
 (0)