Steven Armstrong
|
f732220e77
|
remove legacy tests
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-19 14:54:38 +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 |
|
Steven Armstrong
|
4f398a834f
|
/ran/done/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-19 14:53:06 +02:00 |
|
Steven Armstrong
|
02de396905
|
tests for Object state
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-19 14:50:16 +02:00 |
|
Nico Schottelius
|
4d4287c580
|
Merge remote-tracking branch 'steven/master'
|
2011-10-18 15:14:44 +02:00 |
|
Steven Armstrong
|
04af96b5e3
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-18 15:09:50 +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
|
205cd7b28a
|
fix the test
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 15:07:58 +02:00 |
|
Steven Armstrong
|
2246b7496b
|
fails if requirement has illegal object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 15:07:58 +02:00 |
|
Steven Armstrong
|
2a5465c03c
|
test that emulator fails if requirement has illegal object_id
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
|
af367a76f8
|
test for: .cdist may not be used in object_id
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 |
|
Steven Armstrong
|
1805c16fd4
|
--debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 15:07:58 +02:00 |
|
Steven Armstrong
|
a946b5cf59
|
verify manifest environment
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 |
|
Nico Schottelius
|
7160637014
|
remove trailing whitespace: :%s/ *$//g
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
2011-10-18 13:29:44 +02:00 |
|
Steven Armstrong
|
91c1215566
|
wrap exceptions in cdist.Error
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 13:27:44 +02:00 |
|
Steven Armstrong
|
e9a0aa1863
|
fail if requirements type does not exist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 13:20:14 +02:00 |
|
Steven Armstrong
|
64edfc4640
|
add tests for emulator
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 13:19:37 +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 |
|
Steven Armstrong
|
bd81045caf
|
test for nonexistent type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-18 12:43:14 +02:00 |
|
Nico Schottelius
|
50cb8807bf
|
fix tests to work (not code :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-18 09:57:50 +02:00 |
|
Nico Schottelius
|
03ea7787d2
|
+self
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-16 18:38:22 +02:00 |
|
Nico Schottelius
|
420b6aeae7
|
ensure object is not ran twice
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-16 15:08:00 +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
|
3883fe4247
|
raise cdist error instead of oserror
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-16 00:12:32 +02:00 |
|
Nico Schottelius
|
3c31b4f9a3
|
and finally also adjust the requirement itself
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 23:40:11 +02:00 |
|
Nico Schottelius
|
950424d478
|
move log output into correct function, also log object code run/gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 23:29:27 +02:00 |
|
Nico Schottelius
|
42e1c21f43
|
print progress output in info level for object prepare
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 23:26:54 +02:00 |
|
Nico Schottelius
|
5a72223ae3
|
strip away / in emulator in requirements
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 23:23:57 +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
|
ee1c568c7b
|
almost finish correct requirement loading, but need sleep
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 02:54:54 +02:00 |
|
Nico Schottelius
|
0dd38f75c2
|
remove leading / from object_id of requirement
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 02:46:28 +02:00 |
|
Nico Schottelius
|
a7a3ee6f19
|
adjust prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 02:36:33 +02:00 |
|
Nico Schottelius
|
e002710c4c
|
rewrite emulator to class based approach for better logging
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 02:31:40 +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 |
|
Nico Schottelius
|
67b1094712
|
flatten error message in remotescripterror as well
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 01:25:57 +02:00 |
|
Nico Schottelius
|
ad1e51cb2e
|
catch unicodedecodeerror
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 01:11:54 +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 |
|
Steven Armstrong
|
d83de25774
|
Stripp leading slash from requirements object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-15 00:26:00 +02:00 |
|
Nico Schottelius
|
db6fdeebfe
|
log.info for global explorers (may also take some time)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 00:14:25 +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
|
3f76f03239
|
return full command only in local mode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-15 00:10:35 +02:00 |
|
Nico Schottelius
|
ef1ebbd0b7
|
remove senseless message superseeded by new logging prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 23:56:33 +02:00 |
|
Steven Armstrong
|
fb2a3cb06e
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-14 23:52:51 +02:00 |
|
Steven Armstrong
|
b5b7d8e727
|
add missing return_output=True argument when fetching script content
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 23:52:05 +02:00 |
|
Nico Schottelius
|
9223663136
|
CLEANUP: return flat name, not python list to user
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 23:51:01 +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 |
|
Steven Armstrong
|
c38959699f
|
test for: transfer_type_explorers_only_once
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 23:42:16 +02:00 |
|
Steven Armstrong
|
1e57ae469e
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-14 23:30:08 +02:00 |
|
Steven Armstrong
|
66324db4b3
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-14 23:23:53 +02:00 |
|
Nico Schottelius
|
57f4aae2a1
|
--obsolete files
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 23:23:44 +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
|
df8be73c10
|
test for debug in manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 23:18:58 +02:00 |
|
Steven Armstrong
|
e766f5048b
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-14 23:18:17 +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 |
|
Steven Armstrong
|
23bcb018c5
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-14 23:13:19 +02:00 |
|
Nico Schottelius
|
db04ec0473
|
test whether debug is setup in explorer env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 23:11:57 +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 |
|
Nico Schottelius
|
dd05a9b0d7
|
add test to verify code setups debug env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 23:02:47 +02:00 |
|
Nico Schottelius
|
422800ab98
|
get back some constants needed for testing
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 22:45:23 +02:00 |
|
Nico Schottelius
|
92ff7e630d
|
add banner to tests again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 21:50:16 +02:00 |
|
Steven Armstrong
|
8dde1e1bd7
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-14 16:58:37 +02:00 |
|
Nico Schottelius
|
6b653b29fc
|
Merge remote-tracking branch 'steven/master'
|
2011-10-14 16:43:03 +02:00 |
|
Steven Armstrong
|
c24b20de08
|
make nico happy
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 16:42:14 +02:00 |
|
Steven Armstrong
|
eac3cc31c4
|
export __debug in environment
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 16:33:56 +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
|
d1930e983c
|
update test: run_*_manifest should no longer return output
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 16:14:04 +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
|
bbef928a6d
|
--copy paste error
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 16:04:55 +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
|
63ad882512
|
update test: run_code* should no longer return output
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 15:58:42 +02:00 |
|
Steven Armstrong
|
1e622f9128
|
raise IllegalRequirementError if requirements object_id starts with a /
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 15:52:53 +02:00 |
|
Steven Armstrong
|
829b0b2d0b
|
implement: dont return command output by default
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 15:52:16 +02:00 |
|
Steven Armstrong
|
86cb65cd9c
|
update test: dont return command output by default
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 15:51:40 +02:00 |
|
Steven Armstrong
|
ab1d3d16f1
|
implement: dont return command output by default
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 15:51:00 +02:00 |
|
Steven Armstrong
|
e715dbb801
|
update test: dont return command output by default
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 15:50:10 +02:00 |
|
Nico Schottelius
|
6d7620582d
|
run all test suites, if called as main
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 14:16:15 +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 |
|
Nico Schottelius
|
97da16f4bc
|
load test suites
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 12:12:06 +02:00 |
|
Nico Schottelius
|
9aa064a0ae
|
remove obsolete test
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 12:10:21 +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 |
|
Nico Schottelius
|
588d789ee2
|
empty init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 12:03:44 +02:00 |
|
Nico Schottelius
|
2194368c0c
|
load all test classes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 12:03:03 +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
|
f285d9e64e
|
emulator: fail if object_id of requirement starts with slash
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 11:39:55 +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
|
9640c3a098
|
test for illegal object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 11:21:12 +02:00 |
|
Nico Schottelius
|
8ac1406020
|
stage away obsolete tests
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-14 10:49:28 +02:00 |
|
Steven Armstrong
|
9f231a9ce7
|
suffix cache path with target_host
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 09:47:59 +02:00 |
|
Steven Armstrong
|
1c1cff37e3
|
--debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 09:07:21 +02:00 |
|
Steven Armstrong
|
74f4ec2f5d
|
resolve required objects using new object_from_name method
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 09:06:32 +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
|
8e224b43c3
|
fix imports
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 09:05:22 +02:00 |
|
Steven Armstrong
|
f6adefddec
|
test for Object object_from_name
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 09:03:18 +02:00 |
|
Steven Armstrong
|
f4b1252063
|
add test for Type base_path
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 08:58:34 +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
|
ede35ffd73
|
completely rewrite file based property handling
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 01:15:08 +02:00 |
|
Steven Armstrong
|
be02dc5ff1
|
create object directory befor accessing it
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-14 00:35:23 +02:00 |
|
Steven Armstrong
|
453adefc91
|
++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 21:59:57 +02:00 |
|
Steven Armstrong
|
5bf0f24e62
|
++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 21:58:35 +02:00 |
|
Steven Armstrong
|
a3e1ca9a18
|
++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 21:56:40 +02:00 |
|
Steven Armstrong
|
17ce03f54d
|
++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 21:54:53 +02:00 |
|
Steven Armstrong
|
7fc63a3802
|
++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 21:53:37 +02:00 |
|
Steven Armstrong
|
0aa53bab4c
|
++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 21:51:16 +02:00 |
|
Steven Armstrong
|
cf6139504b
|
++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 21:38:37 +02:00 |
|
Steven Armstrong
|
a8e8d7b227
|
++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 21:30:17 +02:00 |
|
Steven Armstrong
|
94724427fa
|
++debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 21:27:19 +02:00 |
|
Steven Armstrong
|
1b7ebc5885
|
more tests for different ways to access object.explorers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 21:23:04 +02:00 |
|
Steven Armstrong
|
9c04da1d42
|
DirectoryDictProperty: create directory if it doesnt exist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 21:21:59 +02:00 |
|
Steven Armstrong
|
e70e0569ec
|
FileList handle exception when deleting old/unused file
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 18:01:46 +02:00 |
|
Steven Armstrong
|
589b5a68b9
|
FileList raise exception if write failse
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 17:59:23 +02:00 |
|
Steven Armstrong
|
6271e27eb5
|
transfer object parameter before running type explorers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 17:38:09 +02:00 |
|
Steven Armstrong
|
7abb338381
|
bugfix test case
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 17:11:03 +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
|
99ffda3cdf
|
always create global_explorer_out_path
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 17:04:33 +02:00 |
|
Steven Armstrong
|
d2bbd1d14c
|
fix imports
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 17:04:07 +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 |
|
Steven Armstrong
|
d37ca88752
|
+run_type_explorers, minor fixes
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 16:53:48 +02:00 |
|
Steven Armstrong
|
6dada17509
|
only run type manifest if it exists
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 16:53:07 +02:00 |
|
Steven Armstrong
|
74300ab38e
|
set __cdist_manifest for use in type emulator
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 16:52:06 +02:00 |
|
Steven Armstrong
|
be21cdce17
|
set __cdist_manifest for use in type emulator
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 16:41:54 +02:00 |
|
Steven Armstrong
|
08ffaf61f5
|
-legacy code
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 16:36:00 +02:00 |
|
Steven Armstrong
|
fced07634a
|
initial rewrite of config_install
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 16:27:41 +02:00 |
|
Steven Armstrong
|
4f7d75e604
|
remove/fix copy paste stuff
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 16:27:07 +02:00 |
|
Steven Armstrong
|
12784c8bd8
|
+FIXME
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 16:26:07 +02:00 |
|
Steven Armstrong
|
fec3cca3b0
|
delegate path handling to local and remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 16:25:44 +02:00 |
|
Steven Armstrong
|
80087d4f59
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-13 15:16:09 +02:00 |
|
Steven Armstrong
|
6c7e280eac
|
remove obsolete method, merge code
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 15:11:50 +02:00 |
|
Steven Armstrong
|
1c3902f3db
|
implement run_code_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 15:09:47 +02:00 |
|
Steven Armstrong
|
7bc68476a1
|
test for run_code_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 15:09:05 +02:00 |
|
Steven Armstrong
|
e605102281
|
implement run_code_local
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 15:02:10 +02:00 |
|
Steven Armstrong
|
12e5b3e8dc
|
test for run_code_local
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 15:00:07 +02:00 |
|
Steven Armstrong
|
31ce938593
|
implement transfer_code_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 14:57:49 +02:00 |
|
Steven Armstrong
|
5055afe0c0
|
test for test_transfer_code_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 14:57:09 +02:00 |
|
Steven Armstrong
|
01ab81a446
|
-- duplicate code
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 14:50:50 +02:00 |
|
Steven Armstrong
|
5edcc0537b
|
use api internally instead of constructing the same paths again
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 14:37:50 +02:00 |
|