Skip to content

Commit f56784d

Browse files
committed
Preparing version 1.8.6
1 parent 2dc7819 commit f56784d

File tree

6 files changed

+33
-14
lines changed

6 files changed

+33
-14
lines changed

CHANGES.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* V1.8.5.3
1+
* V1.8.6
22
* added direct update of kernel vars via CMD similar to Git. For example:
33

44
$ ck setup kernel --var.default_license="See CK LICENSE.txt for licensing details"
@@ -7,6 +7,11 @@
77
$ ck setup kernel --var.default_developer_email="[email protected]"
88
$ ck setup kernel --var.default_developer_webpage="http://cTuning.org"
99

10+
* added -f flag to force removal of entries (i.e. ck rm x:y -f) to be compatible
11+
with bash rm -f ...
12+
13+
* added JSON sorting when viewing entries from CMD (via ck load x:y)
14+
1015
* V1.8.5
1116
* do not crash if renewing repo while staying inside it
1217
* fixed bug in "system_with_timeout" (was always returning error) - required by ck-clsmith

COPYRIGHT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
(C)opyright 2014-2016 Grigori Fursin, Anton Lokhmotov and contributors
1+
(C)opyright 2014-2017 Grigori Fursin, Anton Lokhmotov and contributors

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2014-2016 Grigori Fursin, cTuning foundation and volunteers <[email protected]>
1+
Copyright 2014-2017 Grigori Fursin, cTuning foundation and volunteers <[email protected]>
22
All rights reserved
33

44
Redistribution and use in source and binary forms, with or without modification,

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ NEWS
1010
* Fully updated documentation is now available: [Wiki](http://github.com/ctuning/ck/wiki), [Getting Started Guide](http://github.com/ctuning/ck/wiki/Getting-started-guide), [Portable workflows](http://github.com/ctuning/ck/wiki/Portable-workflows);
1111
* We have moved Open Science resources [here](http://github.com/ctuning/ck/wiki/Enabling-Open-Science);
1212
* We have added continuous integration for Linux and Windows;
13-
* General Motors and dividiti shared CK workflow to crowdsource benchmarking and optimization of CAFFE (DNN framework) [here](https://github.com/dividiti/ck-caffe);
13+
* General Motors and dividiti crowdsource benchmarking and optimization of CAFFE (DNN framework) using CK: [GitHub](https://github.com/dividiti/ck-caffe), [Android app](https://play.google.com/store/apps/details?id=openscience.crowdsource.video.experiments);
1414
* CK supports [Jupyter notebooks](http://jupyter.org) and [Docker](http://github.com/ctuning/ck-docker);
1515
* cTuning foundation and ARM has received [HiPEAC technology transfer award](https://www.hipeac.net/research/technology-transfer-awards/2014) for the CK concept.
16+
* [CGO'17 paper](https://github.com/SamAinsworth/reproduce-cgo2017-paper) has its experimental workflow implemented using CK!
1617

1718
Introduction
1819
============

ck/kernel.py

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# CK kernel - we made it monolithic with a minimal set
1111
# of common functions for performance reasons
1212

13-
__version__ = "1.8.5.3" # We use 3 digits for the main (released) version and 4th digit for development revision
13+
__version__ = "1.8.6" # We use 3 digits for the main (released) version and 4th digit for development revision
1414
# Do not use characters (to detect oudated version)!
1515

1616
# Extra modules global for the whole kernel
@@ -42,11 +42,11 @@
4242
"default_shared_repo_url":"https://github.com/ctuning",
4343
"github_repo_url":"https://github.com",
4444

45-
"default_license":"See CK LICENSE.txt for licensing details",
46-
"default_copyright":"See CK COPYRIGHT.txt for copyright details",
47-
"default_developer":"cTuning foundation",
48-
"default_developer_email":"[email protected]",
49-
"default_developer_webpage":"http://cTuning.org",
45+
# "default_license":"See CK LICENSE.txt for licensing details",
46+
# "default_copyright":"See CK COPYRIGHT.txt for copyright details",
47+
# "default_developer":"cTuning foundation",
48+
# "default_developer_email":"[email protected]",
49+
# "default_developer_webpage":"http://cTuning.org",
5050

5151
"detect_cur_cid":"#",
5252
"detect_cur_cid1":"^",
@@ -5150,7 +5150,7 @@ def load(i):
51505150
'dict':r.get('dict',{})
51515151
}
51525152

5153-
rr=dumps_json({'dict':dd})
5153+
rr=dumps_json({'dict':dd, 'sort_keys':'yes'})
51545154
if rr['return']==0:
51555155
out(rr['string'])
51565156

@@ -5350,7 +5350,14 @@ def add(i):
53505350
(tags) - list or comma separated list of tags to add to entry
53515351

53525352
(info) - entry info to record - normally, should not use it!
5353-
(extra_info) - enforce extra info such as author, license, etc
5353+
(extra_info) - enforce extra info such as
5354+
author
5355+
author_email
5356+
author_webpage
5357+
license
5358+
copyright
5359+
If not specified then taken from kernel (prefix 'default_')
5360+
53545361
(updates) - entry updates info to record - normally, should not use it!
53555362
(ignore_update) - if 'yes', do not add info about update
53565363

@@ -5906,6 +5913,8 @@ def rm(i):
59065913
data_uoa - data UOA ; can be wild cards
59075914

59085915
(force) - if 'yes', force deleting without questions
5916+
or
5917+
(f) - to be compatible with rm -f
59095918

59105919
(share) - if 'yes', try to remove via GIT
59115920

@@ -5967,6 +5976,10 @@ def rm(i):
59675976
'module_uoa':muoa, 'module_uid':muid,
59685977
'data_uoa':duoa, 'data_uid': duid})
59695978

5979+
force=i.get('force','')
5980+
if force=='':
5981+
force=i.get('f','')
5982+
59705983
first=True
59715984
for ll in lst:
59725985
p=ll['path']
@@ -5999,7 +6012,7 @@ def rm(i):
59996012

60006013
# If interactive
60016014
to_delete=True
6002-
if o=='con' and i.get('force','')!='yes':
6015+
if o=='con' and force!='yes':
60036016
r=inp({'text':'Are you sure to delete CK entry '+xcuoa+' (y/N): '})
60046017
c=r['string'].lower()
60056018
if c!='y' and c!='yes': to_delete=False

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name='ck',
13-
version='1.8.5.3',
13+
version='1.8.6',
1414
url='https://github.com/ctuning/ck/wiki',
1515
license='BSD 3-clause',
1616
author='Grigori Fursin and non-profit cTuning foundation',

0 commit comments

Comments
 (0)