Steven Armstrong
|
f3b942e591
|
test for Object paths
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 09:34:16 +02:00 |
|
Steven Armstrong
|
7c12027311
|
test and fixtures for Object class/static methods
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-10 09:30:28 +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
|
0f413f8e4d
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-10 08:58:31 +02:00 |
|
Nico Schottelius
|
790deb4645
|
in theory finish the install command
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-09 12:49:57 +02:00 |
|
Steven Armstrong
|
c9159b15f1
|
use package, no need for another file
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-09 07:41:53 +02:00 |
|
Nico Schottelius
|
56e1fc9eb8
|
type explorer should run with remote base as well :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-08 12:01:53 +02:00 |
|
Nico Schottelius
|
ea146c88e7
|
cleanup config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-08 11:59:26 +02:00 |
|
Nico Schottelius
|
e10ebeadf8
|
BUGFIX: export global explorer with path from remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-08 03:24:05 +02:00 |
|
Steven Armstrong
|
f46344effe
|
test and fixtures for Type.list_*
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 22:51:06 +02:00 |
|
Steven Armstrong
|
5d59102018
|
test only one instance of same type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 22:50:11 +02:00 |
|
Steven Armstrong
|
73bdb7f11f
|
test and fixtures for Type members (name, path, ...)
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 22:49:09 +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
|
8d3cad1815
|
test and fixtures for Type.{required,optional}_parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 22:32:55 +02:00 |
|
Steven Armstrong
|
0f9d71423a
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-07 18:48:18 +02:00 |
|
Steven Armstrong
|
b7c88b03d3
|
removed unused code/imports
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 18:29:24 +02:00 |
|
Steven Armstrong
|
8e0501aaa9
|
tests and fixtures for Type.explorers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 18:28:22 +02:00 |
|
Steven Armstrong
|
52f9388f07
|
tests and fixtures for Type.is_install
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 18:22:38 +02:00 |
|
Nico Schottelius
|
1cb86cb66b
|
Merge branch 'master' of git://github.com/asteven/cdist
|
2011-10-07 18:18:21 +02:00 |
|
Nico Schottelius
|
71ed728b4a
|
move parallel code to main binary, allow branching out on install and config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 18:14:17 +02:00 |
|
Nico Schottelius
|
11a8379c75
|
+comment
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 18:13:58 +02:00 |
|
Nico Schottelius
|
d21126189c
|
indent/cleanup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 18:04:13 +02:00 |
|
Steven Armstrong
|
f515e20572
|
start unittests for Type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 17:52:38 +02:00 |
|
Steven Armstrong
|
129e47d0c1
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-07 17:51:25 +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 |
|
Nico Schottelius
|
e985c0d697
|
remove sys.exit from banner
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 17:38:50 +02:00 |
|
Nico Schottelius
|
cabb5b9ab0
|
100% test coverage for the banner (feels good, doesn't it?)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 17:38:10 +02:00 |
|
Nico Schottelius
|
be78955cc6
|
move banner into cdist module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 17:18:39 +02:00 |
|
Nico Schottelius
|
63c9a91bca
|
+whitespace save out only
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 17:12:06 +02:00 |
|
Nico Schottelius
|
d32aa37fba
|
cleanup context
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 17:07:31 +02:00 |
|
Nico Schottelius
|
073717e07e
|
some more relative to absolute path changes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 17:07:10 +02:00 |
|
Nico Schottelius
|
b5c01f7354
|
update code to use new _path from object
and type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 17:04:52 +02:00 |
|
Nico Schottelius
|
c6e8f163f5
|
use variable require, not __require for defining
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 17:03:38 +02:00 |
|
Nico Schottelius
|
4a1cf3dbf3
|
-typo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 17:02:24 +02:00 |
|
Nico Schottelius
|
35900ae66c
|
make type explorer work
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 17:01:59 +02:00 |
|
Nico Schottelius
|
85873d2fd2
|
Merge branch 'master' of git://github.com/asteven/cdist
|
2011-10-07 16:57:41 +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 |
|
Nico Schottelius
|
d9bb8e3107
|
use cdist_type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:55:19 +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 |
|
Nico Schottelius
|
317390e962
|
Merge remote-tracking branch 'steven/master'
|
2011-10-07 16:47:04 +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 |
|
Nico Schottelius
|
10c083894c
|
Merge remote-tracking branch 'steven/master'
|
2011-10-07 16:45:00 +02:00 |
|
Nico Schottelius
|
e8c9b10227
|
also use path in emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:44:53 +02:00 |
|
Steven Armstrong
|
cde4d87ab7
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-07 16:43:07 +02:00 |
|
Nico Schottelius
|
03226dc5aa
|
more fixes for relative path address
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:36:05 +02:00 |
|
Nico Schottelius
|
fd2fa23564
|
fix typeexplorer transfer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:27:15 +02:00 |
|
Steven Armstrong
|
117c950965
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-07 16:24:53 +02:00 |
|
Nico Schottelius
|
2c9beb9506
|
use list not method
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:23:33 +02:00 |
|
Nico Schottelius
|
95c5ecf789
|
Merge remote-tracking branch 'steven/master'
|
2011-10-07 16:21:08 +02:00 |
|
Nico Schottelius
|
ea402fc0c5
|
use new call to object lists in absolute path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:18:38 +02:00 |
|
Nico Schottelius
|
a25ef7f0e8
|
fix emulator and cdist module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:16:45 +02:00 |
|
Nico Schottelius
|
03f5e1b456
|
fix emulator and cdist module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:15:48 +02:00 |
|
Nico Schottelius
|
149a605b16
|
use more path, move type -> cdist_type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:14:29 +02:00 |
|
Nico Schottelius
|
2aa0a316e6
|
use _path not _dir in emulator
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:13:00 +02:00 |
|
Nico Schottelius
|
14c9317f66
|
remove old type.path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:12:15 +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 |
|
Nico Schottelius
|
c93e0f90c9
|
create remote conf path on new context
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:09:10 +02:00 |
|
Thomas Reifenberger
|
9045b30136
|
fix multiple requirements
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:07:02 +02:00 |
|
Nico Schottelius
|
3fcbabc5e8
|
++fixes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:04:37 +02:00 |
|
Steven Armstrong
|
600e7fb5b5
|
--typo
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 16:03:37 +02:00 |
|
Steven Armstrong
|
a7a086e29b
|
only one instance of each named type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 16:01:02 +02:00 |
|
Nico Schottelius
|
e5e2fb866c
|
++fixes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 16:00:32 +02:00 |
|
Nico Schottelius
|
c1e7731992
|
cleanups/fixes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 15:49:25 +02:00 |
|
Steven Armstrong
|
b505eb1af8
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-07 15:42:19 +02:00 |
|
Steven Armstrong
|
be8428e592
|
relative paths
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 15:42:04 +02:00 |
|
Nico Schottelius
|
f8853467f3
|
do not create base directory in transfer_object_parameter, somebody else should have done this
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 15:39:51 +02:00 |
|
Nico Schottelius
|
79234148aa
|
transfer_object_parameter: new src/dst
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 15:39:29 +02:00 |
|
Nico Schottelius
|
32f1e2efb6
|
Merge remote-tracking branch 'steven/master'
|
2011-10-07 15:37:10 +02:00 |
|
Nico Schottelius
|
183bbf61d4
|
fix imports from path in config_install
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 15:34:47 +02:00 |
|
Nico Schottelius
|
4f76cfc84e
|
changes for relative
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 15:20:38 +02:00 |
|
Steven Armstrong
|
dd29e86b81
|
-syntax error
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 15:19:03 +02:00 |
|
Steven Armstrong
|
ffb33189c7
|
fix path/absolute_path handling
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 15:18:25 +02:00 |
|
Steven Armstrong
|
c56d17d674
|
relative paths
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 15:07:57 +02:00 |
|
Nico Schottelius
|
7169d6ac42
|
more s/_dir/_path/g
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 15:05:52 +02:00 |
|
Nico Schottelius
|
e1f0d60e8b
|
restructure to _path and do not make context dependent on env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 15:03:26 +02:00 |
|
Steven Armstrong
|
aafdd62698
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-07 13:53:08 +02:00 |
|
Steven Armstrong
|
1992c9a175
|
--legacy code
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 13:52:55 +02:00 |
|
Nico Schottelius
|
fa1a4263e0
|
setup __cdist_base_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 13:51:00 +02:00 |
|
Nico Schottelius
|
1b484e2d87
|
setup __cdist_base_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 13:50:37 +02:00 |
|
Steven Armstrong
|
f39418a7b5
|
implement remote_code_remote :-(
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 13:50:17 +02:00 |
|
Nico Schottelius
|
ed347ffb8a
|
fix init_deploy()
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 13:49:14 +02:00 |
|
Nico Schottelius
|
fc6ae54889
|
os.path not os
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 13:48:10 +02:00 |
|
Nico Schottelius
|
e03ebcd5c1
|
require conf_dir to find manifest_dir to find manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 13:46:30 +02:00 |
|
Nico Schottelius
|
2b0a337584
|
fix base_dir passing
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 13:45:19 +02:00 |
|
Nico Schottelius
|
1138d8b439
|
remote_remote_code_remote_remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 13:44:07 +02:00 |
|
Nico Schottelius
|
ca5361afc1
|
remote cdist.path, use base_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 13:36:51 +02:00 |
|
Nico Schottelius
|
f121934769
|
cleanup object_run() finally
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 13:34:22 +02:00 |
|
Steven Armstrong
|
4db02516e7
|
consistent naming
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 13:16:14 +02:00 |
|
Steven Armstrong
|
d9f86e26d9
|
consistent naming
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 13:15:52 +02:00 |
|
Steven Armstrong
|
6e011dc289
|
implement explorer_out_dir
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 13:15:11 +02:00 |
|
Nico Schottelius
|
484b947eca
|
Merge remote-tracking branch 'steven/master'
|
2011-10-07 13:14:58 +02:00 |
|
Nico Schottelius
|
af5a99dc9f
|
update object_run() for new interface
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 13:14:47 +02:00 |
|
Steven Armstrong
|
3ef9798098
|
implement code, code_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 13:06:56 +02:00 |
|
Nico Schottelius
|
e89ca8cfc2
|
Merge remote-tracking branch 'steven/master'
|
2011-10-07 13:04:30 +02:00 |
|
Steven Armstrong
|
4f33e5222d
|
Type: implement gencode, gencode_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 13:04:00 +02:00 |
|
Steven Armstrong
|
cdccd9c0af
|
Merge remote-tracking branch 'telmich/master'
|
2011-10-07 12:59:40 +02:00 |
|
Steven Armstrong
|
34f2999e14
|
Type: implement manifest_path
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 12:59:29 +02:00 |
|
Nico Schottelius
|
00550edfcb
|
finish run_manifest()
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 12:58:35 +02:00 |
|
Nico Schottelius
|
4a98b9af55
|
finish run_type_manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-10-07 12:56:36 +02:00 |
|
Steven Armstrong
|
1668620b5b
|
Merge remote-tracking branch 'telmich/master'
Conflicts:
doc/dev/todo/steven
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-10-07 12:52:07 +02:00 |
|