diff --git a/README b/README index a62ac61c..3a4b2051 100644 --- a/README +++ b/README @@ -144,7 +144,8 @@ may vanish at any point. To select a specific branch use git checkout -b origin/ # Stay on a specific version - git checkout -b 1.4 origin/1.4 + version=1.5 + git checkout -b $version origin/$version ### Mirrors diff --git a/build.sh b/build.sh index 335bbe9c..1d02256f 100755 --- a/build.sh +++ b/build.sh @@ -23,6 +23,9 @@ # Pull a directory from a target, both sides have the same name (i.e. explorers) # +# exit on any error +set -e + # Manpage and HTML A2XM="a2x -f manpage --no-xmllint" A2XH="a2x -f xhtml --no-xmllint" @@ -96,6 +99,10 @@ case "$1" in ${MANDIR}/cdist-reference.text.sh ;; + release) + "$0" clean && "$0" man && "$0" web + ;; + web) cp README ${WEBDIR}/${WEBPAGE} rm -rf ${WEBDIR}/${WEBBASE}/man && mkdir ${WEBDIR}/${WEBBASE}/man diff --git a/doc/dev/todo/TAKEME b/doc/dev/todo/TAKEME index a591038c..7e6a44d9 100644 --- a/doc/dev/todo/TAKEME +++ b/doc/dev/todo/TAKEME @@ -21,3 +21,14 @@ DOCUMENTATION -------------- - asciidoc interprets __, which we use for variables names -> seek through docs and replace with \_\_! +- check all all internal variables are prefixed with __cdist + +Cache: + - add example how to use + - export variable $__cache + -> for current host + -> add function to cdist-config, import from cdist-cache + + +remove --preseed from package_apt and add debconf_set_selection or similar + -> much cleaner! diff --git a/doc/dev/todo/niconext b/doc/dev/todo/niconext index be66a33d..29229d64 100644 --- a/doc/dev/todo/niconext +++ b/doc/dev/todo/niconext @@ -1,11 +1 @@ -/ prefix all internal variables with __cdist! -> Nico - -Cache: - - add example how to use - - export variable $__cache - -> for current host - -> add function to cdist-config, import from cdist-cache - - -remove --preseed from package_apt and add debconf_set_selection or similar - -> much cleaner! +Release 1.5.0 correctly :-) diff --git a/doc/man/cdist-object-code-run.text b/doc/man/cdist-object-code-run.text index 4d19b5eb..c662d4c3 100644 --- a/doc/man/cdist-object-code-run.text +++ b/doc/man/cdist-object-code-run.text @@ -1,7 +1,6 @@ cdist-object-code-run(1) ======================== -Nico Schottelius -Steven Armstrong +Nico Schottelius , Steven Armstrong NAME diff --git a/doc/man/cdist-object-explorer-run.text b/doc/man/cdist-object-explorer-run.text index a94047c3..a1c87cd6 100644 --- a/doc/man/cdist-object-explorer-run.text +++ b/doc/man/cdist-object-explorer-run.text @@ -1,7 +1,6 @@ cdist-object-explorer-run(1) ============================ -Nico Schottelius -Steven Armstrong +Nico Schottelius , Steven Armstrong NAME diff --git a/doc/man/cdist-object-gencode-run.text b/doc/man/cdist-object-gencode-run.text index d69d1787..fc93ebfd 100644 --- a/doc/man/cdist-object-gencode-run.text +++ b/doc/man/cdist-object-gencode-run.text @@ -1,7 +1,6 @@ cdist-object-gencode-run(1) =========================== -Nico Schottelius -Steven Armstrong +Nico Schottelius , Steven Armstrong NAME diff --git a/doc/man/cdist-object-push.text b/doc/man/cdist-object-push.text index 69648a4d..168f5190 100644 --- a/doc/man/cdist-object-push.text +++ b/doc/man/cdist-object-push.text @@ -1,7 +1,6 @@ cdist-object-push(1) ==================== -Nico Schottelius -Steven Armstrong +Nico Schottelius , Steven Armstrong NAME diff --git a/doc/man/cdist-object-run-all.text b/doc/man/cdist-object-run-all.text index a3a8d56b..2b27347c 100644 --- a/doc/man/cdist-object-run-all.text +++ b/doc/man/cdist-object-run-all.text @@ -1,7 +1,6 @@ cdist-object-run-all(1) ======================= -Nico Schottelius -Steven Armstrong +Nico Schottelius , Steven Armstrong NAME diff --git a/doc/man/cdist-object-run.text b/doc/man/cdist-object-run.text index b527c0e6..b91e50ca 100644 --- a/doc/man/cdist-object-run.text +++ b/doc/man/cdist-object-run.text @@ -1,7 +1,6 @@ cdist-object-run(1) =================== -Nico Schottelius -Steven Armstrong +Nico Schottelius , Steven Armstrong NAME diff --git a/doc/man/cdist-reference.text.sh b/doc/man/cdist-reference.text.sh index f6840880..48954b8e 100755 --- a/doc/man/cdist-reference.text.sh +++ b/doc/man/cdist-reference.text.sh @@ -166,6 +166,9 @@ __object:: __object_id:: The type unique object id. Available for: type manifest, type explorer, type codegen +__self:: + The full qualified name of the current object. + Available for: type manifest, type explorer, type codegen __target_host:: The host we are deploying to. Available for: initial manifest, type manifest, type codegen diff --git a/doc/man/cdist-stages.text b/doc/man/cdist-stages.text index 6ac6efe2..cbd541fe 100644 --- a/doc/man/cdist-stages.text +++ b/doc/man/cdist-stages.text @@ -1,7 +1,6 @@ cdist-stages(7) =============== -Nico Schottelius -Steven Armstrong +Nico Schottelius , Steven Armstrong NAME