Nico Schottelius
|
f392543d43
|
add id in error string
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 16:17:41 +01:00 |
|
Nico Schottelius
|
cae8f31923
|
cleanups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 16:13:35 +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
|
bb00bc93ef
|
Finish bin/cdist-exec-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 15:36:27 +01:00 |
|
Nico Schottelius
|
92dd32559a
|
finish cdist-deploy-to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 15:35:12 +01:00 |
|
Nico Schottelius
|
8ef43abf25
|
abort if codegen fails
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 15:33:54 +01:00 |
|
Nico Schottelius
|
2220054b4d
|
manifest must exit non-zero
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 15:32:11 +01:00 |
|
Nico Schottelius
|
aee427ee54
|
add template for cdist-exec-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 15:12:50 +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
|
da4cd7235c
|
add template for cdist-exec-transfer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 15:03:24 +01:00 |
|
Nico Schottelius
|
df68e515b7
|
cleanup and -debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 09:47:12 +01:00 |
|
Nico Schottelius
|
db1b7eac6c
|
prefix all variables with __cdist
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 09:44:36 +01:00 |
|
Nico Schottelius
|
1d796e6ed1
|
rename no_new_object to new_objects_created (more intuitive)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 09:34:59 +01:00 |
|
Nico Schottelius
|
cd6f969789
|
cleanup + include source information in migration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 09:28:35 +01:00 |
|
Nico Schottelius
|
466e654bc4
|
correctly rename to cdist-manifest-run-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 09:24:14 +01:00 |
|
Nico Schottelius
|
7bd2ba1358
|
fix many bugs in cdist-manifest-recursive-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 09:23:38 +01:00 |
|
Nico Schottelius
|
711f9d7647
|
include rename in bin/cdist-deploy-to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 09:17:30 +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
|
153be6af6c
|
init -> manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-17 00:08:39 +01:00 |
|
Nico Schottelius
|
d8ab79e1ab
|
integrate another stage into cdist-deploy-to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-16 23:23:27 +01:00 |
|
Nico Schottelius
|
a7505f10a4
|
add parameter checking to cdist_tree_wrapper
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-16 23:04:33 +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
|
4354c68405
|
cleanup bin/cdist-manifest-recursive-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-16 22:12:21 +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
|
8995c77301
|
cleanup bin/cdist-object-codegen-all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-16 21:56:47 +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
|
1609e52873
|
add template for code generation for all objects
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-16 20:04:04 +01:00 |
|
Nico Schottelius
|
04dd1672b1
|
rename cdist-code-gen -> cdist-object-codegen
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-16 20:03:09 +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
|
e4fbb1a5d8
|
finish cdist-code-gen
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-16 19:43:11 +01:00 |
|
Nico Schottelius
|
2e717cc50c
|
Merge remote-tracking branch 'sans/master'
|
2011-02-14 12:26:23 +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 |
|
Steven Armstrong
|
a7fc721488
|
fix typo: /object/newobject/
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
|
2011-02-14 11:21:49 +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
|
15bc9c9af1
|
remove obsolete cdist-compile
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-08 00:12:42 +01:00 |
|
Nico Schottelius
|
0c6fc7aa86
|
remove obsolete cdist-preprocess
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-08 00:12:07 +01:00 |
|
Nico Schottelius
|
2f926582e0
|
+mass cleanup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-08 00:08:05 +01:00 |
|
Nico Schottelius
|
425f2bb71a
|
make scripts more variable and less dependent on each other
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-07 23:59:21 +01:00 |
|
Nico Schottelius
|
3f0e3bdc12
|
remove some debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-07 18:40:43 +01:00 |
|
Nico Schottelius
|
34f845ec86
|
2nd level cconfig generation works (with debug)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-07 18:34:34 +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
|
43e6db264b
|
rename __cdist_id to __cdist_object_id
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-06 22:07:17 +01:00 |
|
Nico Schottelius
|
494ee906f2
|
theorethic working version of recursive run :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-06 21:14:21 +01:00 |
|
Nico Schottelius
|
3dacee432e
|
another cleanup and almost running cdist-manifest-recursive-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-06 16:04:28 +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
|
5237bcd5cd
|
first generic version working for objects
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-05 19:49:08 +01:00 |
|
Nico Schottelius
|
054f23a550
|
create objects in a seperate object dir, so no clashes with other stuff
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-05 19:44:12 +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
|
77038026a9
|
fix source record
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-05 19:20:59 +01:00 |
|
Nico Schottelius
|
9af46445ad
|
+set -eu
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-05 19:10:48 +01:00 |
|
Nico Schottelius
|
0ca61d6ed8
|
check for correct manifest, not the init one
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-05 19:08:47 +01:00 |
|
Nico Schottelius
|
7cb60aa5f5
|
add template for cdist-manifest-recursive-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-05 19:04:13 +01:00 |
|
Nico Schottelius
|
afedb3b90c
|
document more functionality
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-04 22:51:16 +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
|
f22dcb5d8f
|
add cleanup reminder
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-04 22:40:58 +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
|
768c97ee48
|
add script to coordinate run of explorers on the target
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-04 09:57:50 +01:00 |
|
Nico Schottelius
|
4b5d7dda25
|
mega cleaunp discussion commit :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-03 13:24:56 +01:00 |
|
Nico Schottelius
|
d171ad5e64
|
restructure explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 22:24:21 +01:00 |
|
Nico Schottelius
|
39595f321f
|
unify error messages
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 22:06:51 +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
|
6704ae7cc1
|
overwrite links / binaries if already existing
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 21:42:50 +01:00 |
|
Nico Schottelius
|
929d33c310
|
reload binaries on manifest run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 21:32:18 +01:00 |
|
Nico Schottelius
|
8660e59296
|
no exec anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 20:30:20 +01:00 |
|
Nico Schottelius
|
81c7ba085f
|
add hint for example configuration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 20:24:34 +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
|
489639f8e0
|
split: cdist-build-host-cconfig to cdist-manifest-init and cdist-manifest-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 19:15:53 +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
|
f5124bb821
|
commit before breaking cdist-build-host-cconfig
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 18:49:17 +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
|
de41cceff5
|
rename
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 18:39:34 +01:00 |
|
Nico Schottelius
|
6c69e0246f
|
restructure /cdist-cconfig-tree
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 16:03:39 +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 |
|
Nico Schottelius
|
97a14fe933
|
finish cdist-build-bin
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 14:38:30 +01:00 |
|
Nico Schottelius
|
732ac76383
|
cleanup and add vars to cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 14:23:54 +01:00 |
|
Nico Schottelius
|
14ea35e40f
|
begin to move cdist-cconfig-tree to use internal variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 14:23:34 +01:00 |
|
Nico Schottelius
|
24d28b4a06
|
begin to write real world manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 14:02:29 +01:00 |
|
Nico Schottelius
|
691766b27e
|
replace some hardcoded values with dynamic generated ones
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 14:01:21 +01:00 |
|
Nico Schottelius
|
63a0e8184d
|
begin to make test cases productive
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-02 11:10:19 +01:00 |
|
Nico Schottelius
|
c6a27aa82a
|
more ideas
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-01-15 01:23:18 +01:00 |
|
Nico Schottelius
|
ca82a0d4a0
|
disable library loading
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2010-12-01 20:10:42 +01:00 |
|
Nico Schottelius
|
c223a4ac5c
|
move around documentation
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2010-10-28 21:13:57 +02:00 |
|
Nico Schottelius
|
007435a6da
|
template for cdist-compile
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2010-09-30 20:54:56 +02:00 |
|
Nico Schottelius
|
bf0e326bcb
|
move variables to bottom block
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2010-09-30 20:53:32 +02:00 |
|
Nico Schottelius
|
37edb78ac5
|
finish small cdist-deploy-to
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2010-09-30 20:48:14 +02:00 |
|
Nico Schottelius
|
217c6861e4
|
use parameters
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2010-09-30 20:46:29 +02:00 |
|
Nico Schottelius
|
36522e2e39
|
add arguments to sub-scripts
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2010-09-30 20:14:42 +02:00 |
|
Nico Schottelius
|
fb76e81f17
|
update configuration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2010-09-30 19:09:21 +02:00 |
|
Nico Schottelius
|
c24cf52ce4
|
seperate loading from execution
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2010-09-30 19:08:51 +02:00 |
|
Nico Schottelius
|
9813c38657
|
add preprocessor
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2010-09-29 20:28:31 +02:00 |
|
Nico Schottelius
|
0157f5a8bc
|
remove obsolete cdist-explore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2010-09-29 19:01:09 +02:00 |
|