Nico Schottelius
|
5e34bebc05
|
cleanup in cdist-object-gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
bba8c641e5
|
remove unecessary cd
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
fc01ceb914
|
in theory: do not generate code anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
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>
|
14 years ago |
Nico Schottelius
|
99bf12a48f
|
move gencode type path combination into cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
1ff135a9d5
|
begin to move parts to cdist-object-gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
315de6fe15
|
log improvements
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
1f4e8fe564
|
do not create code if there is no gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
1099c55c9a
|
args==3
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
c086e7fcc1
|
adjust argument usage in bin/cdist-object-gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
c5590cb648
|
extend cdist-object-gencode* to include remote/local extension
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
1af34c74b8
|
begin to differentiate local and remote object code generation
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
0f83417652
|
argc-=1 for cdist-object-gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
f2cfebd188
|
rename *codegen -> gencode (according to manpage and the way types are defined)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
cc05c6324c
|
provide __global for manifests and codegen
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
cd70c2ecee
|
cleanups + finish: we're able to run code remotely
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
5433befd4a
|
adjust bin/cdist-object-codegen to new style with env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
30919f126b
|
exit 0, but warn if gencode is not executable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Steven Armstrong
|
5a0f7d6a0e
|
need non-error exit code in cdist-object-codegen or it stops the whole execution chain
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
|
14 years ago |
Nico Schottelius
|
40068d68de
|
s/||/&&/
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
1f5fee5bad
|
always prepend header in gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
f7e18d94ec
|
submit object_id in gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
5dcb719844
|
introduce and use __cdist_exec_fail_on_error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
ff41ce0318
|
ensure failing if manifest or gencode break
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
cae8f31923
|
cleanups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
b1c5012f3c
|
Make __cdist_exit_err write on stderr :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
8ef43abf25
|
abort if codegen fails
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
04dd1672b1
|
rename cdist-code-gen -> cdist-object-codegen
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
e4fbb1a5d8
|
finish cdist-code-gen
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
fafb427928
|
implement cdist-code-gen (in theory)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
34f845ec86
|
2nd level cconfig generation works (with debug)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
344d59005b
|
add initial types describing document
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
4c84c819f5
|
[type] NEW: issue
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
e5297ddf31
|
move types to config dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
9130ee71f4
|
this is not a manifest, but gencode part
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
4d4a13b0ab
|
add functionality to type "file"
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
b81b19d126
|
begin to create first type: file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |