Steven Armstrong
|
dc3ed07153
|
/__debug/__cdist_debug/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
ff2192f6de
|
remove legacy attributes: ran, prepared
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
022b17d700
|
implement Object state
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
d427e3f585
|
__self should not contain .cdist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
030d5919e6
|
raise exception if object_id contains .cdist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
e58b52592b
|
add missing environment variable __self
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
7bb81e2f18
|
Whitespace does not not weigh anything - remove - sed -i 's/ *$//g' *py */*py
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Steven Armstrong
|
4975b4643a
|
--typo
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
95a858c350
|
implement: fail if type does not exist on the filesystem
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
a0a4a7382d
|
import NoSuchTypeError into cdist.core namespace
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
32b2c49d32
|
found 2 bugs in transfer_code_remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
053903bb69
|
use instance logger in explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
00a1f1eeb9
|
++ more host prefixing log code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
a415cc4b91
|
add correct logger in manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Steven Armstrong
|
889e6c23cb
|
Explorer tracks which type explorers have been transferred instad of Type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
0d441eb378
|
report info when running initial manifest (it may take some time)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
1e31721ad9
|
BUGFIX: remote path for explorer in __object variable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Steven Armstrong
|
325a13088c
|
implement that type explorers are only transfered once
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
814b46f0c7
|
/transfered_explorers/explorers_transferred/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
ba59339f67
|
fixup code and manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
f80520090b
|
remove obsolete global_explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
02934055e7
|
make debug test work for explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
bc85237eaa
|
make code setup debug env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Steven Armstrong
|
f723bede10
|
no longer return output from run_*_manifest
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
c30e112e4a
|
explorer: make tests pass again
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
c9bb105518
|
run_code* no longer returns output
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
fb705adc5d
|
simplify object_id error handling
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
93db0b58d6
|
append type to error message
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
f76a5abf6f
|
/./,/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
1c84e423d1
|
include type name in error message
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
d346364544
|
better error message
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
3e3919d15f
|
implement fail if object_id starts with /
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
b122b53d73
|
implement Object object_from_name
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
a8733c5b9b
|
make base_path public
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
08d98ac389
|
only list type explorers if there are any; only transfer type explorers if there are ant
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
d02b8d9d30
|
fix imports
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
1f44617133
|
use remote paths when executing on remote side
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
773d325afa
|
only run gencode scripts if they exist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
6dada17509
|
only run type manifest if it exists
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
74300ab38e
|
set __cdist_manifest for use in type emulator
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
be21cdce17
|
set __cdist_manifest for use in type emulator
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
6c7e280eac
|
remove obsolete method, merge code
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
1c3902f3db
|
implement run_code_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
e605102281
|
implement run_code_local
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
31ce938593
|
implement transfer_code_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
5edcc0537b
|
use api internally instead of constructing the same paths again
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
1665b4b5e6
|
implement run_gencode_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
6d438d4ec5
|
implement run_gencode_local
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
939962b583
|
implement code_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
93ede2a3be
|
implement code_local
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |