Skip to content

Commit

Permalink
V3.2.0: many important improvements (#1321)
Browse files Browse the repository at this point in the history
I added many important features to CMX pending for a very long:
- added `utils.test_input` to test if input has keys and report them as
error
   - added `prefix_cmx` key to cmr.yaml to customize `cmx pull repo`
- improved CMX logging (-log and -logfile):
#1317
- print control flags in help (cmx -h | cmx -help):
#1318
- fail if control flag is not recognized:
#1315
- added -repro flag to record various info to cmx-repro directory:
#1319
- print call stack when error > 32 to be able to trace error cause:
#1320
     can be combined with -log=debug and -logfile
  • Loading branch information
gfursin authored Oct 13, 2024
2 parents 1eb3976 + b5e87b7 commit 72734a1
Show file tree
Hide file tree
Showing 8 changed files with 261 additions and 31 deletions.
16 changes: 16 additions & 0 deletions cm/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## V3.2.0
- added `utils.test_input` to test if input has keys
and report them as error
- added `prefix_cmx` key to cmr.yaml to customize `cmx pull repo`
- improved CMX logging (-log and -logfile):
https://github.com/mlcommons/ck/issues/1317
- print control flags in help (cmx -h | cmx -help):
https://github.com/mlcommons/ck/issues/1318
- fail if control flag is not recognized:
https://github.com/mlcommons/ck/issues/1315
- added -repro flag to record various info to cmx-repro directory
https://github.com/mlcommons/ck/issues/1319
- print call stack when error > 32 to be able to trace error cause:
https://github.com/mlcommons/ck/issues/1320
can be combined with -log=debug and -logfile

## V3.1.0
- simplified and changed process_input function API

Expand Down
2 changes: 1 addition & 1 deletion cm/cmind/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Written by Grigori Fursin

__version__ = "3.1.0"
__version__ = "3.2.0"

from cmind.core import access
from cmind.core import x
Expand Down
4 changes: 2 additions & 2 deletions cm/cmind/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, config_file = None):

"error_prefix": "CM error:",
"info_cli": "cm {action} {automation} {artifact(s)} {flags} @input.yaml @input.json",
"info_clix": "cmx {action} {automation} {artifact(s)} {flags} @input.yaml @input.json",
"info_clix": "cmx {action} {automation} {artifact(s)} {CMX control flags (-)} {CMX automation flags (--)}",

"default_home_dir": "CM",

Expand All @@ -64,7 +64,7 @@ def __init__(self, config_file = None):
"cp":"copy"
},

"new_repo_requirements": "cmind >= 3.0.0\n",
"new_repo_requirements": "cmind >= 3.1.0\n",

"cmind_automation":"automation",

Expand Down
Loading

0 comments on commit 72734a1

Please sign in to comment.