Commit graph

66 commits

Author SHA1 Message Date
Nico Schottelius
957ab446fa introduce __cdist_local_base_dir and use it in HACKERS_README
This way out/ and conf/ are debugable.

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 19:05:46 +01:00
Nico Schottelius
e6c4533464 BREAK: rename __cdist_config to __cdist_conf_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 19:01:29 +01:00
Nico Schottelius
0b94a11d27 implement the rename to cdist-type-build-emulation in cdist-manifest-run and cleanups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:40:58 +01:00
Nico Schottelius
fde8b2b1b9 out does not need _dir in the fs
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:30:06 +01:00
Nico Schottelius
45237ec5ae conf != out
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:13:08 +01:00
Nico Schottelius
2e0d1b78fb rename: cdist-remote-* = remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 18:10:26 +01:00
Nico Schottelius
995bf8d963 a giant commit into the future
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:45:38 +01:00
Nico Schottelius
84ede1ae29 cleanup cdist config, remove cache, add out_dir and conf_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:19:41 +01:00
Nico Schottelius
d7299b8ab1 begin to integrate out_dir in cdist_config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:10:36 +01:00
Nico Schottelius
17838de1ef remove exports from cdist-config, let subscribts take care about that, add out_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 16:01:18 +01:00
Nico Schottelius
ce69491c34 sed -i 's/__cdist_name_type_params/__cdist_name_params/g'
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 10:12:26 +01:00
Nico Schottelius
a12df5ce7c create __cdist_object_id_from_object and use it + __cdist_type_from_object in cdist-manifest-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 09:50:30 +01:00
Nico Schottelius
76057615b3 and rename to __cdist_type_explorer_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:21:32 +01:00
Nico Schottelius
db40e6c1a1 add __cdist_type_explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:21:11 +01:00
Nico Schottelius
2c5356ba9c introduce __cdist_type_from_object
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-23 00:17:55 +01:00
Nico Schottelius
b6a143143d cleanup + introduce __cdist_remote_user
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 20:40:54 +01:00
Nico Schottelius
63f702ceae remove slash before marker
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 13:04:41 +01:00
Nico Schottelius
5dcb719844 introduce and use __cdist_exec_fail_on_error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 11:39:23 +01:00
Nico Schottelius
da8abcb770 -c
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 11:33:34 +01:00
Nico Schottelius
35387cbc61 add __cdist_exec_fail_on_error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-22 11:31:37 +01:00
Nico Schottelius
15fa6f76e6 -debug from cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-19 12:58:32 +01:00
Nico Schottelius
aec77a05ae cdist-config broken
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 17:46:18 +01:00
Nico Schottelius
b1c5012f3c Make __cdist_exit_err write on stderr :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 16:07:07 +01:00
Nico Schottelius
255124b8c9 Create, finish and integrate bin/cdist-exec-transfer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 15:11:41 +01:00
Nico Schottelius
662eee7ea3 rename manifest -> manifests and use subshell in__cdist_object_list()
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-17 09:17:13 +01:00
Nico Schottelius
a134d6c9e1 add function: __cdist_type_param_file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 23:04:02 +01:00
Nico Schottelius
c8242ef7da cleanup bin/cdist_tree_wrapper and introduce __cdist_object_source
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 22:11:53 +01:00
Nico Schottelius
80c745383a finish cdist-object-codegen-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 20:24:58 +01:00
Nico Schottelius
6914071fe0 finish __cdist_object_list
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 20:16:19 +01:00
Nico Schottelius
3c3dad1842 rename __cdist_name_object_finished as well
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 20:14:40 +01:00
Nico Schottelius
64d71229f8 BREAK __cdist_object_source (due to rename to __cdist_name_object_source)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 20:12:29 +01:00
Nico Schottelius
ce3b83bfc1 update cdist-config with more helper functions
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-16 19:44:04 +01:00
Nico Schottelius
fafb427928 implement cdist-code-gen (in theory)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-14 11:28:14 +01:00
Nico Schottelius
1bae761fa0 prepare next steps: stage four and five
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-08 00:26:26 +01:00
Nico Schottelius
d9a07bfa3e remove automatic __ prefixing of types
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-07 18:16:02 +01:00
Nico Schottelius
3892f9e713 add support for __cdist_type_mydir to find dir of current type
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-07 17:50:25 +01:00
Nico Schottelius
f4c53e800c begin to cleanup recursive call run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-06 15:52:28 +01:00
Nico Schottelius
d555ba5710 cleanup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:42:49 +01:00
Nico Schottelius
9b44fc6c9c add names for everything in config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:41:47 +01:00
Nico Schottelius
8446328bc6 Implement automatic temp removal
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-05 19:32:29 +01:00
Nico Schottelius
1850042126 also enable transfer of explorer data back to the server
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-04 22:49:20 +01:00
Nico Schottelius
16f51ca14d Finish ugly explorer integration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-04 22:39:26 +01:00
Nico Schottelius
4450b2f573 continue to integrate new explorer idea
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-04 14:38:17 +01:00
Nico Schottelius
9c402d4a3e Describe latest features
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 21:49:01 +01:00
Nico Schottelius
b9fa9d8b11 switch from chars to sane_regexp
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 21:43:11 +01:00
Nico Schottelius
7c8dba566f add source record information to created objects
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 19:53:13 +01:00
Nico Schottelius
2d54c04f8a cleanup cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 18:56:25 +01:00
Nico Schottelius
b95eb84a98 Cleanups, begin generic manifest execution
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 18:41:01 +01:00
Nico Schottelius
3ead0e5912 cleanup cdist_tree_wrapper
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 15:02:26 +01:00
Nico Schottelius
f7f687995b cleanups + new __cdist_exit_err
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-02-02 14:55:28 +01:00