Commit graph

1655 commits

Author SHA1 Message Date
Nico Schottelius
159ac76134 really do so
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-08 00:40:17 +02:00
Nico Schottelius
0ec3c2d017 document bug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-08 00:39:04 +02:00
Nico Schottelius
0b5e7b5855 debug log for code inserted
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-08 00:17:28 +02:00
Nico Schottelius
279d519dda debug for core/__cdist_object_code_run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-08 00:10:53 +02:00
Nico Schottelius
adf2e05a08 more changes for 1.8.0
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-07 10:18:03 +02:00
Nico Schottelius
44586bc6f9 changes for 1.8.0
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-07 10:17:18 +02:00
Nico Schottelius
512ff69574 +"
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-07 10:13:00 +02:00
Nico Schottelius
06a6bf1a0d debug object run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-07 10:12:40 +02:00
Nico Schottelius
68a51da380 make debug more verbose
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-07 10:10:46 +02:00
Nico Schottelius
bd85d22a89 +debugging of __cdist_object_run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-07 10:09:19 +02:00
Nico Schottelius
c3bf34bf3d add support for __cdist_debug={0,1,2}
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-07 10:07:04 +02:00
Nico Schottelius
74418c77e0 remove obsolete calls to set +e/-e
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-07 10:01:59 +02:00
Nico Schottelius
fe68c5b556 do not exit implicitly via set -e anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-06 12:24:53 +02:00
Nico Schottelius
2b955b09bc move out all functions that do not only print a value from bin/cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 10:01:56 +02:00
Nico Schottelius
a5564850ce -whitespaces at the end of lines
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 09:57:44 +02:00
Nico Schottelius
368ea87b89 call to __cdist_object_list
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 09:55:22 +02:00
Nico Schottelius
f7f2194b8f move __cdist_object_list into seperate file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 09:54:20 +02:00
Nico Schottelius
bea7d5f828 also fix the function name :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 09:51:38 +02:00
Nico Schottelius
4440838650 enable debugging before catching unset variables
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 09:49:00 +02:00
Nico Schottelius
86e30c7a8a re-rename variable, which got broken during core integration
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 09:47:58 +02:00
Nico Schottelius
cdc6f0d0c0 fix wrong call to __cdist_type_build_emulation
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 09:43:26 +02:00
Nico Schottelius
f65b61ee8f add debug via __cdist_debug variable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-09-05 09:42:10 +02:00
Nico Schottelius
6886c2e6f1 ++todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-21 15:18:41 +02:00
Nico Schottelius
8dbe6f9c77 add prefix to variable name [once more]
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-10 16:20:24 +02:00
Nico Schottelius
8fe9e86254 add prefix to variable name
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-10 16:18:20 +02:00
Nico Schottelius
160d85dee1 only setup path when executing something, not generally
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-10 16:17:15 +02:00
Nico Schottelius
97e8c431af only build emulator binaries once
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-10 16:15:10 +02:00
Nico Schottelius
c9f4455677 less todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-10 16:11:08 +02:00
Nico Schottelius
b5b8bdc016 cleanup __cdist_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-10 16:03:12 +02:00
Nico Schottelius
f8595793c1 cleanup caching function
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-10 16:00:06 +02:00
Nico Schottelius
c70bfb2e20 cleanup for correct working in function environment
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-10 15:55:55 +02:00
Nico Schottelius
a4f45dfcf4 go back to production mode and enable rm -rf
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-10 08:52:06 +02:00
Nico Schottelius
cb3b16d63f -obsolete script
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-10 08:45:44 +02:00
Nico Schottelius
49bad52715 remove debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:54:28 +02:00
Nico Schottelius
4ab6c5bbc9 cleanup object naming in cache handling
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:53:25 +02:00
Nico Schottelius
765c3d152a allow cache to function again
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:51:51 +02:00
Nico Schottelius
f6fac37f1d successfully run remote code!
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:50:38 +02:00
Nico Schottelius
5c35cad477 cleanups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:39:21 +02:00
Nico Schottelius
8daa07acbf only check, do not run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:38:59 +02:00
Nico Schottelius
bd39d5c185 finish __cdist_run_if_executable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:23:05 +02:00
Nico Schottelius
f6d7a3e478 and give it a good name
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:18:49 +02:00
Nico Schottelius
07dc79410a add template for script that only runs if the file exists
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:18:35 +02:00
Nico Schottelius
2926532560 begin to merge __cdist_object_code_run and __cdist_code_run
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 17:14:38 +02:00
Nico Schottelius
6bf1680f2d Merge branch 'master' into createcorelib 2011-08-09 16:57:04 +02:00
Nico Schottelius
22025217d9 ++todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-09 09:01:51 +02:00
Nico Schottelius
7fab1c9dd9 use new wrapper __cdist_run_shell
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-02 12:17:48 +02:00
Nico Schottelius
39f1c8a242 add two new wrapper to run code and shellcode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-02 12:15:59 +02:00
Nico Schottelius
5bb177eef9 ++todo
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-08-02 12:05:02 +02:00
Nico Schottelius
76a796103c Merge branch 'master' into createcorelib 2011-07-28 10:58:59 +02:00
Nico Schottelius
dc820cf31e also filter stderr and add hostname as prefix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-07-28 10:54:39 +02:00