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 |
|
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
|
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
|
e605102281
|
implement run_code_local
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 15:02:10 +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
|
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 |
|
Steven Armstrong
|
1665b4b5e6
|
implement run_gencode_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 14:32:52 +02:00 |
|
Steven Armstrong
|
6d438d4ec5
|
implement run_gencode_local
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 14:29:20 +02:00 |
|
Steven Armstrong
|
939962b583
|
implement code_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 13:42:58 +02:00 |
|
Steven Armstrong
|
93ede2a3be
|
implement code_local
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 13:40:50 +02:00 |
|
Steven Armstrong
|
8fb51a396a
|
implement list_type_explorer_names
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 13:34:06 +02:00 |
|
Steven Armstrong
|
86fcce928c
|
implement list_global_explorer_names
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 13:31:42 +02:00 |
|
Steven Armstrong
|
20fae8b52b
|
fix typo
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 13:14:56 +02:00 |
|
Steven Armstrong
|
48ae37e832
|
implement transfer_object_parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 13:04:23 +02:00 |
|
Steven Armstrong
|
841b54c6d0
|
+devnotes, +FIXME
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 11:06:03 +02:00 |
|
Steven Armstrong
|
c15673aef7
|
+docstring
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 11:05:39 +02:00 |
|
Steven Armstrong
|
63eee391e0
|
implement Explorer analog to Manifest + tests
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 01:25:31 +02:00 |
|
Steven Armstrong
|
a8ec91c804
|
-e /type_base_path/type_path/ -e /object_base_path/object_path/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-13 00:35:14 +02:00 |
|
Nico Schottelius
|
6d87f4b917
|
integrate global explorer into core
Signed-off-by: Nico Schottelius <nico@loch.schottelius.org>
|
2011-10-12 23:59:20 +02:00 |
|
Nico Schottelius
|
50a07da967
|
global explorer belongs to core
Signed-off-by: Nico Schottelius <nico@loch.schottelius.org>
|
2011-10-12 23:55:02 +02:00 |
|
Steven Armstrong
|
5df8479c5a
|
implement Manifest and tests
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-12 17:20:47 +02:00 |
|
Steven Armstrong
|
2c6c9bcab5
|
Object handles its explorers itself
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 15:44:31 +02:00 |
|
Steven Armstrong
|
442ffb75fa
|
nuke legacy files
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 14:09:47 +02:00 |
|
Steven Armstrong
|
753936b7c3
|
make object.source a list
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 10:30:30 +02:00 |
|
Steven Armstrong
|
904396f6a5
|
new method to create object on the file system
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 10:29:06 +02:00 |
|
Steven Armstrong
|
5a082058e5
|
new method which checks if object exists on the file system
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 10:28:41 +02:00 |
|
Steven Armstrong
|
96c059983a
|
- legacy code, + docstrings
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-11 10:28:10 +02:00 |
|
Steven Armstrong
|
67543146f0
|
add source property
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 17:46:25 +02:00 |
|
Steven Armstrong
|
af8f006fc6
|
/type/cdist_type/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 16:50:56 +02:00 |
|
Steven Armstrong
|
bbcecc03ef
|
remove redundant code, use new fsproperty module instead
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 16:39:48 +02:00 |
|
Steven Armstrong
|
4a3bc72846
|
move file based properties out of core
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 14:54:35 +02:00 |
|
Steven Armstrong
|
44a722042a
|
new class for using filesystem as backend for boolean properties
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 14:37:33 +02:00 |
|
Steven Armstrong
|
86f976976e
|
bugfix: use absolute path when accessing file system
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 10:01:28 +02:00 |
|
Steven Armstrong
|
0ba6d55191
|
raise exception when given a relative path
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 09:57:56 +02:00 |
|
Steven Armstrong
|
96ca5b6988
|
bugfix: use absolute path to when accessing file sytem (unittest discoverd :-)
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 09:48:19 +02:00 |
|
Steven Armstrong
|
e27cd9e809
|
when comparing objects, define equality as 'attributes are the same'
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 09:23:27 +02:00 |
|
Steven Armstrong
|
d3e1276965
|
remove duplicate code
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 22:39:45 +02:00 |
|
Steven Armstrong
|
ae15779c81
|
-- DeprecationWarning: object.__new__() takes no parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 17:50:53 +02:00 |
|
Steven Armstrong
|
b778c9ff15
|
absolute path is based on relative path -> does not need another .cdist
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 16:59:52 +02:00 |
|
Steven Armstrong
|
5f4a85f6ad
|
also need .cdist in relative paths
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 16:49:18 +02:00 |
|
Steven Armstrong
|
53737aad3a
|
append .cdist to absolute paths
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 16:46:55 +02:00 |
|
Steven Armstrong
|
79d0a18bb2
|
use absolute path for accessing file system
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 16:12:01 +02:00 |
|