Skip to content

Releases: mlcommons/ck

Improved compatibility with the open CodeReef platform

27 Jan 14:08
Compare
Choose a tag to compare

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

11 Oct 18:01
Compare
Choose a tag to compare
  • 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

06 Oct 17:21
Compare
Choose a tag to compare

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

01 Oct 14:01
Compare
Choose a tag to compare

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

13 Sep 10:10
Compare
Choose a tag to compare

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

04 Jul 14:38
Compare
Choose a tag to compare
  • 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)

04 Jul 13:56
Compare
Choose a tag to compare
  • 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

23 Jun 13:39
Compare
Choose a tag to compare

Fixed major installation bug (non UTF-8 character).

Fixed pip installation from Anaconda; minor updates

29 May 14:42
Compare
Choose a tag to compare
  • 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

11 Feb 12:37
Compare
Choose a tag to compare
  • 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