Commit graph

192 commits

Author SHA1 Message Date
Nico Schottelius
cfd0f776c9 disable removal of temp data for debugging
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-07-27 00:00:31 +02:00
Nico Schottelius
29e029a2eb replace __cdist_type_has_explorer with __cdist_dir_listing
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 14:37:36 +02:00
Nico Schottelius
c474317a6a migrate more stuff from cdist-config to core/
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 12:34:40 +02:00
Nico Schottelius
f3a88ef98d ../bin/cdist-config -> __cdist_echo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 12:31:00 +02:00
Nico Schottelius
7d6b1b5236 ../bin/cdist-config -> core/__cdist_init_deploy
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 10:36:44 +02:00
Nico Schottelius
d680c8a5f1 corelib will go into cdist 1.8.0, if at all
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-17 10:34:52 +02:00
Nico Schottelius
0e7d822d16 re-add set -e to cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 11:14:24 +02:00
Nico Schottelius
9e246b18ed -debug message for library loading
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:48:07 +02:00
Nico Schottelius
152cc930e1 also migrate cdist-object-gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:41:52 +02:00
Nico Schottelius
cf88f9cacb finished migration of cdist-dir to __cdist_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:28:08 +02:00
Nico Schottelius
6a500d5570 and run again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:21:15 +02:00
Nico Schottelius
abe6e695bc load __cdist_dir from core
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-14 00:17:31 +02:00
Nico Schottelius
d7ae5c88e6 and EXIT!
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 21:26:13 +02:00
Nico Schottelius
6f99de75a5 only trap signals in front end scripts
Otherwise children execute kill egain and the shell segfaults

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 21:23:53 +02:00
Nico Schottelius
56cf428d4c use kill 0 on SIGINT and SIGTERM, but not on trap EXIT
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-06-08 21:19:05 +02:00
Nico Schottelius
c1d17f8d14 no need for execute bit on cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-12 17:56:50 +02:00
Nico Schottelius
916d355891 remove kill 0 in cdist-config from master branch until it works :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-12 17:08:18 +02:00
Nico Schottelius
14708a9c59 -SIG
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 17:12:02 +02:00
Nico Schottelius
ee076ef7e9 only kill children, if we got signalled
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 17:11:15 +02:00
Nico Schottelius
a202826a62 also kill children in cdist core
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 17:07:52 +02:00
Nico Schottelius
8b4196e023 Prepare release of 1.7.0 (1) 2011-05-10 15:49:35 +02:00
Nico Schottelius
d8cd9e0118 allow debug to be unset when using
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-10 10:04:37 +02:00
Nico Schottelius
93ef73a645 move gencode type path combination into cdist-config (also for __cdist_type_gencode)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-28 14:46:35 +02:00
Nico Schottelius
99bf12a48f move gencode type path combination into cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-28 14:45:14 +02:00
Nico Schottelius
efe1d3db79 Prepare files for the next release 2011-04-19 22:43:18 +02:00
Nico Schottelius
4873b046ba allow user to change __cdist_tmp_base_dir to avoid using /tmp
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-08 10:52:03 +02:00
Nico Schottelius
c3341df08d Upgrade to 1.6.1
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-07 09:56:59 +02:00
Nico Schottelius
0a3a434269 remove ... dots ... make ... me ...feel ... weired
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 21:51:43 +02:00
Nico Schottelius
bc1c7f104e core prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 21:50:49 +02:00
Nico Schottelius
bb96163315 blame on the right file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 21:19:47 +02:00
Nico Schottelius
fb0dafba5c make faulty code a warning
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 21:18:15 +02:00
Nico Schottelius
2162d444b3 better logging in __cdist_exec_fail_on_error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:55:53 +02:00
Nico Schottelius
8924a9583d ++__cdist_echo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:52:14 +02:00
Nico Schottelius
f08a9eaaa9 +: after object_self
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:35:27 +02:00
Nico Schottelius
9d5d0b8cdd always setup __cdist_echo_prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:34:46 +02:00
Nico Schottelius
e3f27f1794 allow empty $__cdist_object_self
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:31:19 +02:00
Nico Schottelius
e4390da300 requiring set +e in __cdist_exec_fail_on_error to catch error ourselves
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:18:31 +02:00
Nico Schottelius
813b4e1f2b use __cdist_exec_fail_on_error in bin/cdist-code-run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:11:39 +02:00
Nico Schottelius
08d18ec1ec show broken code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:05:58 +02:00
Nico Schottelius
90f5d47164 add warning level
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:04:34 +02:00
Nico Schottelius
723046fdd2 introduce and use __cdist_echo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 20:00:36 +02:00
Nico Schottelius
4aa0d80310 prepare files for 1.6.0 release
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-06 19:36:57 +02:00
Steven Armstrong
71765210bb rename cdist-object-process to cdist-object-prepare
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-04-05 22:55:46 +02:00
Nico Schottelius
c5925ff331 prepare version change
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-05 17:43:10 +02:00
Nico Schottelius
c532a2ccd3 remove one Error of Error: Error: /home/users/nico/oeffentlich/rechner/projekte/cdist-used/conf/type/__nico_desktop/manifest exited non-zero.
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-02 02:22:08 +02:00
Nico Schottelius
dd176d7a64 construct cache dir path in cdist-config, not cdist-cache
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-31 15:40:08 +02:00
Steven Armstrong
61b7b68671 split explorer/manifest and gencode runcode into to 2 steps
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-30 22:46:49 +02:00
Steven Armstrong
e7f7a88357 prefix error messages with Error:
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-29 22:00:54 +02:00
Nico Schottelius
1d05756076 release 1.5.0
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-03-29 16:47:02 +02:00
Steven Armstrong
ebbacf4873 remove unused functions
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-03-29 16:41:38 +02:00