Nico Schottelius
|
c7d0d581b1
|
we pass base_path, not object_path (clearification)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2011-11-09 18:41:46 +01:00 |
|
Steven Armstrong
|
792ddf0a5b
|
add utility method to join object name from type and object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-11-02 09:13:23 +01:00 |
|
Steven Armstrong
|
afba5e9280
|
add utilitly method to split an object name into its type name and object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-11-02 07:52:08 +01:00 |
|
Steven Armstrong
|
70ee0f1681
|
implement __lt__ to support sorting a list of objects
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-11-01 22:46:46 +01:00 |
|
Steven Armstrong
|
bf1b995908
|
implement __lt__ and __eq__ to support sorting a list of types
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-11-01 22:20:46 +01:00 |
|
Steven Armstrong
|
9588c5189c
|
Merge branch 'master' into run-explorers-in-cdist.core.explorer
|
2011-10-20 11:08:23 +02:00 |
|
Steven Armstrong
|
6223402b9e
|
bugfix: only attempt to transfer object parameters it their are any
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-20 11:07:48 +02:00 |
|
Steven Armstrong
|
60c4e21981
|
implement Explorer run_global_explorers and run_type_explorers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-20 11:05:50 +02:00 |
|
Steven Armstrong
|
d6cf85e6f6
|
implement /__object_fq/__object_name/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-19 15:17:45 +02:00 |
|
Steven Armstrong
|
dc3ed07153
|
/__debug/__cdist_debug/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-19 15:03:47 +02:00 |
|
Steven Armstrong
|
ff2192f6de
|
remove legacy attributes: ran, prepared
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-19 14:54:15 +02:00 |
|
Steven Armstrong
|
022b17d700
|
implement Object state
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-19 14:53:31 +02:00 |
|
Nico Schottelius
|
4d4287c580
|
Merge remote-tracking branch 'steven/master'
|
2011-10-18 15:14:44 +02:00 |
|
Steven Armstrong
|
d427e3f585
|
__self should not contain .cdist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 15:07:58 +02:00 |
|
Steven Armstrong
|
030d5919e6
|
raise exception if object_id contains .cdist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 15:07:58 +02:00 |
|
Steven Armstrong
|
e58b52592b
|
add missing environment variable __self
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 15:07:58 +02:00 |
|
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>
|
2011-10-18 13:32:36 +02:00 |
|
Steven Armstrong
|
4975b4643a
|
--typo
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 13:11:53 +02:00 |
|
Steven Armstrong
|
95a858c350
|
implement: fail if type does not exist on the filesystem
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 12:46:06 +02:00 |
|
Steven Armstrong
|
a0a4a7382d
|
import NoSuchTypeError into cdist.core namespace
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 12:44:07 +02:00 |
|
Nico Schottelius
|
32b2c49d32
|
found 2 bugs in transfer_code_remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-16 12:39:06 +02:00 |
|
Nico Schottelius
|
053903bb69
|
use instance logger in explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 12:00:46 +02:00 |
|
Steven Armstrong
|
b8b9719cc6
|
Merge remote-tracking branch 'telmich/master'
Conflicts:
lib/cdist/core/explorer.py
lib/cdist/emulator.py
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-15 10:51:08 +02:00 |
|
Nico Schottelius
|
00a1f1eeb9
|
++ more host prefixing log code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 01:41:11 +02:00 |
|
Nico Schottelius
|
a415cc4b91
|
add correct logger in manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 01:38:22 +02:00 |
|
Steven Armstrong
|
889e6c23cb
|
Explorer tracks which type explorers have been transferred instad of Type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-15 00:44:54 +02:00 |
|
Nico Schottelius
|
0d441eb378
|
report info when running initial manifest (it may take some time)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 00:12:08 +02:00 |
|
Nico Schottelius
|
72e930ac1c
|
Merge remote-tracking branch 'steven/master'
|
2011-10-14 23:52:00 +02:00 |
|
Nico Schottelius
|
1e31721ad9
|
BUGFIX: remote path for explorer in __object variable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 23:50:31 +02:00 |
|
Steven Armstrong
|
325a13088c
|
implement that type explorers are only transfered once
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 23:47:05 +02:00 |
|
Steven Armstrong
|
814b46f0c7
|
/transfered_explorers/explorers_transferred/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 23:44:27 +02:00 |
|
Nico Schottelius
|
ba59339f67
|
fixup code and manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 23:21:22 +02:00 |
|
Nico Schottelius
|
f80520090b
|
remove obsolete global_explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 23:14:49 +02:00 |
|
Nico Schottelius
|
02934055e7
|
make debug test work for explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 23:14:05 +02:00 |
|
Nico Schottelius
|
bc85237eaa
|
make code setup debug env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 23:04:19 +02:00 |
|
Steven Armstrong
|
f723bede10
|
no longer return output from run_*_manifest
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 16:14:39 +02:00 |
|
Steven Armstrong
|
c30e112e4a
|
explorer: make tests pass again
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 16:07:50 +02:00 |
|
Steven Armstrong
|
c9bb105518
|
run_code* no longer returns output
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 15:59:58 +02:00 |
|
Steven Armstrong
|
fb705adc5d
|
simplify object_id error handling
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 14:04:56 +02:00 |
|
Steven Armstrong
|
93db0b58d6
|
append type to error message
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 12:05:30 +02:00 |
|
Steven Armstrong
|
f76a5abf6f
|
/./,/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 11:50:40 +02:00 |
|
Steven Armstrong
|
1c84e423d1
|
include type name in error message
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 11:49:37 +02:00 |
|
Steven Armstrong
|
d346364544
|
better error message
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 11:39:03 +02:00 |
|
Steven Armstrong
|
3e3919d15f
|
implement fail if object_id starts with /
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 11:25:39 +02:00 |
|
Steven Armstrong
|
b122b53d73
|
implement Object object_from_name
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 09:05:51 +02:00 |
|
Steven Armstrong
|
a8733c5b9b
|
make base_path public
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 08:57:06 +02:00 |
|
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>
|
2011-10-13 17:05:34 +02:00 |
|
Steven Armstrong
|
d02b8d9d30
|
fix imports
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 17:04:54 +02:00 |
|
Steven Armstrong
|
1f44617133
|
use remote paths when executing on remote side
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 17:03:05 +02:00 |
|
Steven Armstrong
|
773d325afa
|
only run gencode scripts if they exist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 16:56:03 +02:00 |
|