Commit graph

433 commits

Author SHA1 Message Date
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