-
Notifications
You must be signed in to change notification settings - Fork 212
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
Rename manage_case to query_config #1155
Comments
Perhaps this should be merged with xmlquery into |
We had a meeting on 1/30 with some of the scientists to explore requirements for the manage_case tool, I agree that it may be misnamed. It is not a case tool but rather one you would use before creating a case. |
Renaming xmlquery and xmlchange would require extensive changes to external components, I'm not sure that's a good idea right now. |
Can you list which 'external components' are affected? |
@gold2718 please stop hijacking issues. :) manage_case is available in cime/scripts. xmlchange/xmlquery are only available to users after making a case. I think we definitely want a config file query tool available to users before a case is built. Since the difference is one works with config.xml files while the other works with env.xml files maybe xmlchange/xmlquery should be envchange/envquery. |
Sorry, I guess this shows that all the tools are just a jumble in my head (more a property of my head than anything related to CIME). |
There is no longer a --mach option anyplace. |
I changed my mind. This program should be called "query_config". That's what its really querying. |
Update CAM5%AV1C-L in the WCYCL and CRYO compsets to use the 2000_cam5_av1c-04p2 CAM nml use case. [CC]
Renamed manage_case to query_case as per #1155. Additionally, changed all references to manage_case to query_case.
query_case is a confusing name since you don't already have a case when you call this - I thought @rljacob's suggestion of query_config was a good one. |
The last commit mistakenly used query_case instead of query_config. This commit fixes this issue. Fixes #1155
I agree.
…On Thu, Apr 20, 2017 at 11:34 AM, jedwards4b ***@***.***> wrote:
query_case is a confusing name since you don't already have a case when
you call this - I thought @rljacob <https://github.com/rljacob>'s
suggestion of query_config was a good one.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1155 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHlxE4fJm1UqZc6CS-cyjrIXtQacZLCDks5rx3sagaJpZM4MDMR4>
.
|
Added '--skip-preview-namelist' to the call for case.build in the testing suite, since building namelists during tests isn't done. Test suite: scripts_regression_tests.py Test baseline: Test namelist changes: Test status: bit for bit Fixes #1155, #1190 User interface changes?: Added --skip-preview-namelist to case.build and template.case.run Code review: @billsacks, @jgfouca, @rljacob
In this commit-- added the ability to give machine name as a query. Additionally, fixed some the argument descriptions. Also, fixed argument descriptions to be more descriptive on choices. Test suite: `scripts_regression_tests.py` and ``` ./query_config ./query_config --grids ./query_config --machines ./query_config --machines current ./query_config --machines redsky ./query_config --machines edison ./query_config --machines skybridge ./query_config --compsets ./query_config --compsets all ./query_config --compsets drv ./query_config --component ``` Test baseline: Test namelist changes: Test status: bit for bit Fixes #1155, #1190 User interface changes?: manage_case -> query_config --compset -> --compsets --machine -> --machines added 'all' option for --compsets added 'current' and <machine> to --machines Code review: @billsacks, @jgfouca
Renamed manage_case to query_case as per #1155. Additionally, changed all references to manage_case to query_case.
The last commit mistakenly used query_case instead of query_config. This commit fixes this issue. Fixes #1155
In this commit-- added the ability to give machine name as a query. Additionally, fixed some the argument descriptions. Also, fixed argument descriptions to be more descriptive on choices. Test suite: `scripts_regression_tests.py` and ``` ./query_config ./query_config --grids ./query_config --machines ./query_config --machines current ./query_config --machines redsky ./query_config --machines edison ./query_config --machines skybridge ./query_config --compsets ./query_config --compsets all ./query_config --compsets drv ./query_config --component ``` Test baseline: Test namelist changes: Test status: bit for bit Fixes #1155, #1190 User interface changes?: manage_case -> query_config --compset -> --compsets --machine -> --machines added 'all' option for --compsets added 'current' and <machine> to --machines Code review: @billsacks, @jgfouca
* added the ability to print all compsets with argument * added the ability to print all components with and without argument * added the ability to print a specified single machine * many config_component.xml files didn't have a help string, which caused --components all not to work. * fixed some typos and gramatical errors Test suite:`scripts_regression_tests.py` and ``` ./query_config ./query_config --grids ./query_config --machines ./query_config --machines current ./query_config --machines redsky ./query_config --machines edison ./query_config --machines skybridge ./query_config --compsets ./query_config --compsets all ./query_config --compsets drv ./query_config --component ``` Test baseline: Test namelist changes: Test status: bit for bit Fixes #1155, #1190 User interface changes?: * manage_case -> query_config * --compset -> --compsets * --machine -> --machines * added 'all' option for --compsets * added 'current' to --machines * added <machine> to --machines * added 'all' to --component * default for --component and --compsets is 'all' Code review: @billsacks, @jgfouca, @jedwards4b, @rljacob
Renamed manage_case to query_config. Additionally, changed all references to manage_case to query_config. Added ability to query current machine and a single machine. Added 'all' option to --compsets. Made the help message much more useful. Test suite: scripts_regression_tests.py and ./query_config ./query_config --grids ./query_config --machines ./query_config --machines current ./query_config --machines redsky ./query_config --machines edison ./query_config --machines skybridge ./query_config --compsets ./query_config --compsets all ./query_config --compsets drv ./query_config --component Test baseline: Test namelist changes: Test status: bit for bit Fixes #1155 Fixes #1190 User interface changes?: manage_case -> query_config --compset -> --compsets --machine -> --machines added 'all' option for --compsets added 'current' and to --machines Code review: @billsacks, @jgfouca
"manage" is for scripts that can edit xml files. "query" just reads them.
"manage_case" in its current version only reads xml files so we should change its name to "query_case".
The text was updated successfully, but these errors were encountered: