-
Notifications
You must be signed in to change notification settings - Fork 32
Add config compose mode/action #804
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
maddenp-cu
merged 49 commits into
ufs-community:main
from
maddenp-cu:gh-792-config-compose
Sep 17, 2025
Merged
Changes from 37 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
2e279c8
Add CLI option
maddenp-cu 1b9560f
Add comment
maddenp-cu c99c855
CLI updates
maddenp-cu c78945a
WIP
maddenp-cu e7ce646
WIP
maddenp-cu a9569c1
Plumbing
maddenp-cu ef8229e
Update docs
maddenp-cu a6e210c
Merge branch 'main' into gh-792-config-compose
maddenp-cu 80eb2eb
Update docs
maddenp-cu 18c5b80
Add test
maddenp-cu 594de1a
WIP
maddenp-cu e9a4f65
WIP
maddenp-cu 207b968
realize_config -> realize
maddenp-cu 2f20915
Work on dynamic docstring
maddenp-cu 21130e8
Work on dynamic docstring
maddenp-cu d88f271
WIP
maddenp-cu 1f296e2
WIP
maddenp-cu 8126013
WIP
maddenp-cu d17400c
Merge branch 'main' into gh-792-config-compose
maddenp-cu f6d6a6b
Post-merge fixup
maddenp-cu 467ef0c
WIP
maddenp-cu 3c6ee1e
WIP
maddenp-cu 0799f14
Work on tests
maddenp-cu be0234a
Work on tests
maddenp-cu 787f70e
Work on tests
maddenp-cu 33a830d
Work on tests
maddenp-cu ca51080
Work on tests
maddenp-cu f0a657c
Work on tests
maddenp-cu fae9c71
Work on tests
maddenp-cu ec246f0
Work on tests
maddenp-cu c26f53b
Work on docs
maddenp-cu b0bf44b
Fix docstrings
maddenp-cu b9e4b99
Work on docs
maddenp-cu fd8b84c
Work on docs
maddenp-cu 2db1695
Work on docs
maddenp-cu 9f93fbc
Update docs
maddenp-cu 1eca86b
Fix typo
maddenp-cu 91dd235
Update docs
maddenp-cu 68caa5f
Use more regular keys/vals in unit test
maddenp-cu 7ceefc9
Implement --realize
maddenp-cu 003c63e
Update custom.css
maddenp-cu 94dc19a
Merge branch 'main' into gh-792-config-compose
maddenp-cu 7b714bc
Update docstring
maddenp-cu db78823
Update 'render' description
maddenp-cu cdc7eb8
Update docs
maddenp-cu beaf3f9
Update docs/index.rst
maddenp-cu 06df163
Update src/uwtools/api/config.py
maddenp-cu 8613b26
Add value to override in compose-base.yaml
maddenp-cu c5ef0a9
Update test
maddenp-cu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
uw config compose compose-base.yaml compose-update-1.yaml compose-update-2.yaml | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
constants: | ||
pi: 3.142 | ||
e: 2.718 | ||
color: blue | ||
flower: rose |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
constants: | ||
pi: 3.142 | ||
color: blue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
uw config compose --help |
25 changes: 25 additions & 0 deletions
25
docs/sections/user_guide/cli/tools/config/compose-help.out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
usage: uw config compose [-h] [--version] [--input-format {ini,nml,sh,yaml}] | ||
[--output-format {ini,nml,sh,yaml}] | ||
[--output-file PATH] [--quiet] [--verbose] | ||
CONFIG [CONFIG ...] | ||
|
||
Compose configs | ||
|
||
positional arguments: | ||
CONFIG | ||
|
||
Optional arguments: | ||
-h, --help | ||
Show help and exit | ||
--version | ||
Show version info and exit | ||
--input-format {ini,nml,sh,yaml} | ||
Input format (default: yaml) | ||
--output-format {ini,nml,sh,yaml} | ||
Output format (default: yaml) | ||
--output-file PATH, -o PATH | ||
Path to output file (default: write to stdout) | ||
--quiet, -q | ||
Print no logging messages | ||
--verbose, -v | ||
Print all logging messages |
2 changes: 2 additions & 0 deletions
2
docs/sections/user_guide/cli/tools/config/compose-update-1.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
constants: | ||
e: 2.718 |
1 change: 1 addition & 0 deletions
1
docs/sections/user_guide/cli/tools/config/compose-update-2.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
flower: rose |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.