Releases: mlcommons/ck
Releases · mlcommons/ck
Improved compatibility with the open CodeReef platform
We improved the compatibility with the open CodeReef platform (https://codereef.ai/static/docs) and fixed minor issues:
- ck webhelp now shows published components at the CodeReef portal
- ck webapi now shows module API at the CodeReef portal
- Added "ck codereef " to show information about published components at the CodeReef portal
- fixed repo update
- added backward compatibility for the search via ElasticSearch
- [experimental] prototyped automatic downloading of stable CK components from the CodeReef portal (https://codereef.ai/portal)
- do not ask for "web support" by default when adding actions
- Allowed ' character in names of CK entries
- Added 2020
- Simplified Readme
fixed bug with Python 2.7 installation and added a few new productivity functions
- V1.11.4
- fixed problem when ck-python.cfg contains non-existent python
- fixed problem with allowed action_names (should not start with number but can have numbers in the middle)
- fixed problem with ElasticSearch when renaming entries
- Added key "use_git_instead_of_https" to kernel cfg to substitute https:// with git@ in repositories
- fixed problem with pip installation using Python 2.7 (thanks to @alered01 from Arm)
- added possibility to log all used CK entries to find out all dependencies
turn on: ck set kernel --var.log_ck_entries={file}
turn off: ck set kernel --var.log_ck_entries=""
improved installation procedure and new productivity functions
New in this release:
- minor clean up of the API doc
- now copying default repo to $HOME/.ck/{version} to be able to always find it
- added possibility to split dirs for the whole repo
(to be able to exchange repos with split directories) - added commands "private", "recache", "split_all_dirs" to ck add/update repo
- added try/catch around encode/decode routines to better support non-UTF locale
- can use wildcards when searching for UIDs
- added repo_module_uoa to be able to execute module from a specific repository
bug fix with installation via LinuxBrew
Enhancements in this version:
- fixed typo
- added possibility to force index data for specific repos via local kernel meta:
"index_repos":[list of repo UIDs and aliases] - bug fix for split directories if UID is used for an entry with alias
- fixed link to CK slack channel
- added zip_safe=False (to fix problems when installed via LinuxBrew)
Many enhancements for server/cloud deployment
Changes in this version:
- added possibility to add sub-directory for all entries of a given module based on first N characters of an entry name; this is needed to handle millions of entries; it can be configured via local kernel meta: "split_dirs":{"module UOA":N}
- fixed ck.bat on Windows (if CK_ROOT has spaces)
- improved "ck help" function
- added support for the latest ElasticSearch via Python client
- improved CK search via ElasticSearch
- added possibility to auto convert all entry names to lower case; it can be configured via local kernel meta: "force_lower":"yes"
- added check for allowed entry names; it can be configured as RE via local kernel meta:
"allowed_entry_names": "^[A-Za-z0-9_@. -]*$" - added check for allowed action names in modules; it can be configured as RE via local kernel meta:
"allowed_action_names": "^[A-Za-z_-]*$" - added possibility to index data for only specific modules via local kernel meta:
"index_modules":[list of module UIDs and aliases] - removed AUTHORS.txt as non-standard (leaving CONTRIBUTIONS.txt)
- added possibility to skip SSL certificate check for remote repositories
- added CK kernel functions save_state(), restore_state, reinit to let multiple CK instances co-exist
fixed major bug with kernel version checking
- fixed major bug with kernel version checking (otherwise some modules are not working properly).
started new functionality (fixing python number and automatically downloading missing components)
- added support for setuptools
- added report on Python executable used by CK
- recording python executable to ck-python.cfg during installation - it can now be used by default when calling CK CLI
- added experimental functionality to automatically download missing components from cKnowledge.org. It is turned off by default. To turn it on use "ck set kernel var.download_missing_components=yes"
major installation bug fix
Fixed major installation bug (non UTF-8 character).
Fixed pip installation from Anaconda; minor updates
- fixed CK execution with Anaconda python (Linux and MacOS) when installed via pip:
pip install ck
or
pip install ck --user
- improved OpenME to call CK in dynamic websites
- added passing of $_SESSION, $_POST, $_GET to CK via OpenME
- added "Access-Control-Allow-Origin=*" to module:web to be able to access CK from local web pages
- added possibility to change default repo using "CK_DEFAULT_REPO" env var
- added flag --module_version to use different Python module (module{.{module_version}}.py)
minor improvements and fixes
- allowed local widget to fetch data from cKnowledge.org (or other) website: #93
- automatically print API of redirected functions (ck --help)
- improved module API printing
- added pypi download stats
- fixed minor problem with "ck renew repo" - now takes already existing UID instead of generating a new one