Steven Armstrong
|
b56925d24a
|
/__object_fq/__object_name/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
8f306a7484
|
/__debug/__cdist_debug/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
dc3ed07153
|
/__debug/__cdist_debug/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
eb5b80d132
|
remove legacy tests
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
1fb96c0fc2
|
update test for upcomming change: /__debug/__cdist_debug/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
ef5eb34274
|
update test for upcomming change: /__debug/__cdist_debug/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
f732220e77
|
remove legacy tests
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
|
4f398a834f
|
/ran/done/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
02de396905
|
tests for 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
|
205cd7b28a
|
fix the test
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
2246b7496b
|
fails if requirement has illegal object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
2a5465c03c
|
test that emulator fails if requirement has illegal object_id
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
|
af367a76f8
|
test for: .cdist may not be used in object_id
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 |
Steven Armstrong
|
1805c16fd4
|
--debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
a946b5cf59
|
verify manifest environment
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 |
Nico Schottelius
|
7160637014
|
remove trailing whitespace: :%s/ *$//g
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
13 years ago |
Steven Armstrong
|
91c1215566
|
wrap exceptions in cdist.Error
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
e9a0aa1863
|
fail if requirements type does not exist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Steven Armstrong
|
64edfc4640
|
add tests for emulator
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
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 |
Steven Armstrong
|
bd81045caf
|
test for nonexistent type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
50cb8807bf
|
fix tests to work (not code :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
03ea7787d2
|
+self
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
420b6aeae7
|
ensure object is not ran twice
Signed-off-by: Nico Schottelius <nico@kr.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
|
3883fe4247
|
raise cdist error instead of oserror
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
3c31b4f9a3
|
and finally also adjust the requirement itself
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
950424d478
|
move log output into correct function, also log object code run/gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
42e1c21f43
|
print progress output in info level for object prepare
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
5a72223ae3
|
strip away / in emulator in requirements
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
|
ee1c568c7b
|
almost finish correct requirement loading, but need sleep
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
0dd38f75c2
|
remove leading / from object_id of requirement
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
a7a3ee6f19
|
adjust prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
e002710c4c
|
rewrite emulator to class based approach for better logging
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 |
Nico Schottelius
|
67b1094712
|
flatten error message in remotescripterror as well
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |
Nico Schottelius
|
ad1e51cb2e
|
catch unicodedecodeerror
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 |
Steven Armstrong
|
d83de25774
|
Stripp leading slash from requirements object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
13 years ago |
Nico Schottelius
|
db6fdeebfe
|
log.info for global explorers (may also take some time)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
13 years ago |