Skip to content

Commit 7426f83

Browse files
committed
sync with main
2 parents 2dac29b + 0162635 commit 7426f83

File tree

346 files changed

+6157
-4101
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

346 files changed

+6157
-4101
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
22

3-
* @NaureenBharwaniNOAA @christinaholtNOAA @elcarpenterNOAA @fgabelmannjr @maddenp-noaa @weirae @Byrnetp
3+
* @NaureenBharwaniNOAA @christinaholtNOAA @elcarpenterNOAA @maddenp-cu
Lines changed: 17 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,36 @@
11
---
2-
name: Bug report
3-
about: Create a report to help us improve
2+
name: Bug Report
3+
about: Report a failure of documented behavior.
44
title:
5-
labels: bug
5+
labels: Bug
66
assignees:
77

88
---
99

1010
<!--
11-
- - - I N S T R U C T I O N S -- P L E A S E R E A D - - -
12-
Please remove boiler plate instructions when filling out this template.
13-
Please remove unwanted/unrelated/irrelevant information such as comments provided as a reference in this template.
14-
Use proper formatting to separate code snippets from text description e.g. use ```code block``` or `in-line code`.
15-
Please copy any output files into a Github gist (for e.g.) and link to the gist, rather than relying on paths on platforms that might change or disappear.
11+
Please:
12+
* Use the Feature Request template if you are suggesting a feature.
13+
* Review the project's Issues to see if this bug has already been reported. Feel free to comment on an existing Issue.
14+
* Format code snippets with backticks, either as ```code block``` or `inline code`.
15+
* Attach small support files, if needed, via Issue comments; link to large files in GitHub Gists, Google Drive, etc.
1616
-->
1717

18-
If this is a new feature request, please consider using the [Feature Request](./feature_request.md) template.
19-
Your desired feature may already have an issue created!
20-
If so, please consider using that Issue to expand on the feature capabilities or requirements.
18+
**Current Behavior**
2119

22-
Your bug may have already been reported!
23-
Please look through the existing issues on the [Issue tracker](https://github.com/ufs-community/uwtools/issues) to see if this issue has been created.
24-
If so, please consider using that Issue to add any additional information.
20+
<!-- Please describe the erroneous behavior. -->
2521

26-
**Expected behavior**
27-
<!-- Tell us what should happen. -->
22+
**Expected Behavior**
2823

29-
**Current behavior**
30-
<!-- Tell us what happens instead of the expected behavior. -->
31-
32-
**Machines affected**
33-
<!-- Tell us which environments (e.g. OS's, HPC's, CSP's, etc.) have this bug been detected. -->
24+
<!-- What should happen instead? -->
3425

3526
**To Reproduce**
36-
<!--- Provide a link to a live example, and/or an unambiguous set of steps to -->
37-
<!--- reproduce this bug. Include code to reproduce, if relevant -->
38-
<!--1. -->
39-
<!--2. -->
40-
<!--3. -->
4127

42-
**Context**
43-
<!--- Providing context helps us come up with a solution that is most useful in the real world. -->
28+
<!--- Provide an unambiguous set of steps to reproduce the bug. Include code and/or data if needed. -->
4429

45-
**Detailed Description**
46-
<!--- Provide a detailed description of the change or addition you are proposing. -->
30+
**Additional Context**
4731

48-
**Additional Information**
49-
<!-- Any other relevant information that we should know to correctly understand and reproduce the issue. Please describe in as much detail as possible. -->
32+
<!-- Other helpful info, screenshots, etc. -->
5033

51-
**Possible Implementation**
52-
<!--- Not obligatory, but suggest an idea for implementing addition or change. -->
34+
**Current Version**
5335

36+
<!-- Which uwtools version are you using, from 'uw --version', 'conda list | grep uwtools', etc. -->
Lines changed: 23 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,36 @@
11
---
2-
name: Feature request
3-
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
6-
assignees: ''
2+
name: Feature Request
3+
about: Suggest a feature.
4+
title:
5+
labels: Feature
6+
assignees:
77

88
---
99

1010
<!--
11-
- - - I N S T R U C T I O N S -- P L E A S E R E A D - - -
12-
Please remove boiler plate instructions when filling out this template.
13-
Please remove unwanted/unrelated/irrelevant information such as comments provided as a reference in this template.
14-
Use proper formatting to separate code snippets from text description e.g. use ```code block``` or `in-line code`.
15-
Please copy any output files into a Github gist (for e.g.) and link to the gist, rather than relying on paths on platforms that might change or disappear.
11+
Please:
12+
* Use the Bug Report template if you are reporting a bug.
13+
* Review the project's Issues to see if this feature has already been requested. Feel free to comment on an existing Issue.
14+
* Format code snippets with backticks, either as ```code block``` or `inline code`.
15+
* Attach small support files, if needed, via Issue comments; link to large files in GitHub Gists, Google Drive, etc.
1616
-->
1717

18-
If this is a bug, please consider using the [Bug Report](./bug_report.md) template.
19-
Your issue may already have been created!
18+
**Description**
2019

21-
Please look through the existing issues on the [Issue tracker](https://github.com/ufs-community/uwtools/issues) to see if this issue has been created.
22-
If so, please consider using that Issue to add any additional information.
20+
<!-- What would this feature accomplish? Give examples of suggested inputs and outputs. -->
2321

24-
**Description**
25-
<!-- Provide a clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
26-
<!-- What problem needs to be fixed? -->
27-
<!-- What new capability needs to be added? -->
22+
**Alternatives Considered**
2823

29-
**Requirements**
30-
<!-- If this is a new feature: -->
31-
<!-- What does the new code need to accomplish? -->
32-
<!-- Does it require an update to version of software (e.g. updates to system tools e.g. python3, etc) -->
33-
<!-- If this is a bugfix: What is the expected behavior? -->
24+
<!-- If you have considered and rejected other solutions, please describe them. -->
3425

35-
**Describe alternatives you've considered**
36-
<!--
37-
A clear and concise description of any alternative solutions or features you've considered.
38-
-->
26+
**Acceptance Criteria**
3927

40-
**Acceptance Criteria (Definition of Done)**
41-
<!--
42-
What does it mean for this to be finished?
43-
-->
28+
<!-- What does it mean for this request to be done? -->
4429

45-
**Additional context**
46-
<!--
47-
Add any other context or screenshots about the feature request here.
48-
-->
30+
**Additional Context**
31+
32+
<!-- Other helpful info, screenshots, etc. -->
33+
34+
**Current Version**
35+
36+
<!-- Which uwtools version are you using, from 'uw --version' or 'conda list | grep uwtools' -->

.github/ISSUE_TEMPLATE/hotfix_template.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/scripts/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ CI_CONDA_DIR=/tmp/conda
44
CI_CONDA_SH=$CI_CONDA_DIR/etc/profile.d/conda.sh
55

66
ci_conda_activate() {
7-
source $CI_CONDA_SH
7+
. $CI_CONDA_SH
88
conda activate
99
}

.github/scripts/format-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ unformatted() {
1111
return 0
1212
}
1313

14-
source $(dirname ${BASH_SOURCE[0]})/common.sh
14+
. $(dirname ${BASH_SOURCE[0]})/common.sh
1515
ci_conda_activate
1616
CONDEV_SHELL_CMD=unformatted condev-shell

.github/scripts/install-conda.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
set -eux
2-
source $(dirname ${BASH_SOURCE[0]})/common.sh
2+
. $(dirname ${BASH_SOURCE[0]})/common.sh
33
url=https://github.com/conda-forge/miniforge/releases/download/24.3.0-0/Miniforge3-Linux-x86_64.sh
44
installer=/tmp/$(basename $url)
55
wget --no-verbose -O $installer $url
66
bash $installer -bfp $CI_CONDA_DIR
77
set +ux
88
ci_conda_activate
9-
conda install --quiet --yes --channel maddenp --repodata-fn repodata.json anaconda-client condev
9+
conda install --quiet --yes --channel maddenp --repodata-fn repodata.json anaconda-client condev jq

.github/scripts/make-docs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set -ae
2-
source $(dirname ${BASH_SOURCE[0]})/common.sh
2+
. $(dirname ${BASH_SOURCE[0]})/common.sh
33
ci_conda_activate
44
cd docs
5-
source install-deps
5+
. install-deps
66
make docs

.github/scripts/make-package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
set -ae
2-
source $(dirname ${BASH_SOURCE[0]})/common.sh
2+
. $(dirname ${BASH_SOURCE[0]})/common.sh
33
ci_conda_activate
44
set -x
55
make package

.github/scripts/publish.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
set -ae
2-
source $(dirname ${BASH_SOURCE[0]})/common.sh
2+
. $(dirname ${BASH_SOURCE[0]})/common.sh
33
ci_conda_activate
44
set -ux
55
f=recipe/meta.json
6-
glob="$(jq -r .name $f)-$(jq -r .version $f)-*_$(jq -r .buildnum $f).tar.bz2"
6+
glob="$(jq -r .name $f)-$(jq -r .version $f)-*_$(jq -r .buildnum $f).conda"
77
for x in $(find $CI_CONDA_DIR/conda-bld -type f -name "$glob"); do
88
anaconda -t $ANACONDA_TOKEN upload $x
99
done
10+
# Refresh Anaconda badges on GitHub.
11+
ids=(
12+
6c9ed105fbe1d674e82460d5e7fa6c7eb8e2eb6eb3640c763a8189f407e2a9a2/68747470733a2f2f616e61636f6e64612e6f72672f7566732d636f6d6d756e6974792f7577746f6f6c732f6261646765732f76657273696f6e2e737667
13+
a6f1f3ab481647dc492ab577cb7e60522efded549caf0544ba863d0a72958179/68747470733a2f2f616e61636f6e64612e6f72672f7566732d636f6d6d756e6974792f7577746f6f6c732f6261646765732f6c61746573745f72656c656173655f646174652e737667
14+
)
15+
for id in ${ids[*]}; do
16+
curl -s -X PURGE https://camo.githubusercontent.com/$id | jq .
17+
done

0 commit comments

Comments
 (0)