Skip to content

Commit 9fbffed

Browse files
committed
Merge branch 'cesm3.0-alphabranch'
2 parents 5b8dc69 + 21362b9 commit 9fbffed

34 files changed

+1776
-678
lines changed

.gitmodules

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
path = ccs_config
3131
url = https://github.com/ESMCI/ccs_config_cesm.git
3232
fxDONOTUSEurl = https://github.com/ESMCI/ccs_config_cesm.git
33-
fxtag = ccs_config_cesm1.0.63
33+
fxtag = ccs_config_cesm1.0.65
3434
fxrequired = ToplevelRequired
3535

3636
[submodule "cime"]
3737
path = cime
3838
url = https://github.com/ESMCI/cime
3939
fxDONOTUSEurl = https://github.com/ESMCI/cime
40-
fxtag = cime6.1.135
40+
fxtag = cime6.1.144
4141
fxrequired = ToplevelRequired
4242

4343
[submodule "fms"]
@@ -51,14 +51,14 @@
5151
path = share
5252
url = https://github.com/ESCOMP/CESM_share
5353
fxDONOTUSEurl = https://github.com/ESCOMP/CESM_share
54-
fxtag = share1.1.9
54+
fxtag = share1.1.16
5555
fxrequired = ToplevelRequired
5656

5757
[submodule "cam"]
5858
path = components/cam
5959
url = https://www.github.com/ESCOMP/CAM
6060
fxDONOTUSEurl = https://www.github.com/ESCOMP/CAM
61-
fxtag = cam6_4_126
61+
fxtag = cam6_4_133
6262
fxrequired = ToplevelRequired
6363

6464
[submodule "clm"]
@@ -80,7 +80,7 @@
8080
url = https://github.com/ESCOMP/MOM_interface
8181
fxDONOTUSEurl = https://github.com/ESCOMP/MOM_interface
8282
fxrequired = ToplevelRequired
83-
fxtag = mi_251112
83+
fxtag = mi_251121
8484

8585
[submodule "cism"]
8686
path = components/cism
@@ -94,14 +94,14 @@
9494
url = https://github.com/ESCOMP/CDEPS
9595
fxDONOTUSEurl = https://github.com/ESCOMP/CDEPS
9696
fxrequired = ToplevelRequired
97-
fxtag = cdeps1.0.83
97+
fxtag = cdeps1.0.84
9898

9999
[submodule "cmeps"]
100100
path = components/cmeps
101101
url = https://github.com/ESCOMP/CMEPS.git
102102
fxDONOTUSEurl = https://github.com/ESCOMP/CMEPS.git
103103
fxrequired = ToplevelRequired
104-
fxtag = cmeps1.1.23
104+
fxtag = cmeps1.1.24
105105

106106
[submodule "rtm"]
107107
path = components/rtm
@@ -122,7 +122,7 @@
122122
url = https://github.com/ESCOMP/mizuRoute
123123
fxDONOTUSEurl = https://github.com/ESCOMP/mizuRoute
124124
fxrequired = ToplevelRequired
125-
fxtag = v3.0.0
125+
fxtag = v3.0.1
126126

127127
[submodule "mosart"]
128128
path = components/mosart
@@ -157,7 +157,7 @@
157157
url = https://github.com/NCAR/CUPiD.git
158158
fxDONOTUSEurl = https://github.com/NCAR/CUPiD.git
159159
fxrequired = ToplevelRequired
160-
fxtag = v0.3.1
160+
fxtag = v0.4.0
161161

162162
[submodule "FTorch"]
163163
path = libraries/FTorch

.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)