diff options
| author | Shulhan <ms@kilabit.info> | 2022-02-05 20:50:46 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-02-05 20:53:38 +0700 |
| commit | d15700dd55558f23d4c7cce3a54cfaac6db82c7a (patch) | |
| tree | e4820798c5ab21f42329fa3297c36fa28f6dc22d | |
| parent | 75fcda2f3ae29946a393692707c9f56d8f1938ae (diff) | |
| download | awwan-d15700dd55558f23d4c7cce3a54cfaac6db82c7a.tar.xz | |
all: reformat CHANGELOG to make generated HTML readable
The generated HTML will be viewable on /doc/CHANGELOG.html.
| -rw-r--r-- | CHANGELOG.adoc | 64 |
1 files changed, 35 insertions, 29 deletions
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index dd90852..d4e99e3 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -1,16 +1,16 @@ = Changelog for awwan -== awwan 0.3.x (2021.07.xx) +== awwan 0.4.0 (2022.02.05) === Enhancements * all: expand the environment on statement when executing local script - - This changes replace the string ${x} or $x in the statements with the - current environment variables values. - - For example, statement "mkdir ${HOME}/tmp" will expand the ${HOME} to - the current user home directory. ++ +This changes replace the string ${x} or $x in the statements with the +current environment variables values. ++ +For example, statement "mkdir ${HOME}/tmp" will expand the ${HOME} to +the current user home directory. == awwan 0.3.0 (2021.06.09) @@ -26,19 +26,19 @@ * all: log error when executing script (local or play) * all: do not load SSH config if command mode is "local" - - If the mode is local there is no need to parse and load the SSH config, - since the command to be executed will run on local machine anyway. ++ +If the mode is local there is no need to parse and load the SSH config, +since the command to be executed will run on local machine anyway. * all: set base dir based on the first .ssh directory that we found - - Previously, the base directory is set on current working directory. - This limit the way to execute awwan only from the directory - that contains the .ssh directory. - - This changes set the environment BaseDir based on the first .ssh - directory that we found from script path up to the "/". So, user can - execute awwan script from any sub-directories. ++ +Previously, the base directory is set on current working directory. +This limit the way to execute awwan only from the directory +that contains the .ssh directory. ++ +This changes set the environment BaseDir based on the first .ssh +directory that we found from script path up to the "/". So, user can +execute awwan script from any sub-directories. == awwan 0.2.1 (2021.01.18) @@ -51,32 +51,37 @@ Update the share modules which bring fixes to "#put" commands. === New features * environment: export the SSH key, user, host, and port - ++ +-- By knowing this values, user can use it to invoke other SSH related command, for example to copy file using `scp` scp -i {{.SSHKey}} src {{.SSHUser}}@{{.SSHHost}}:{{.SSHPort}}/dst +-- * all: add magic command "#require:" - ++ +-- Magic word `#require:` will ensure that the next statement will always executed when its skipped with start number. For example, given following script with line number - 1: #require: - 2: echo a - 3: echo b - 4: #require: - 5: echo c -``` +---- +1: #require: +2: echo a +3: echo b +4: #require: +5: echo c +---- executing `awwan local script.aww 3`, will always execute line number 2 `echo a`, but not line number 5 (because its before line start 3). +-- === Bug fixes * command: change the owner of file when doing #get! - ++ In case the owner of file is not active user and it does not have read permission, the "#get!" command will fail when copying command from remote to local. @@ -88,7 +93,8 @@ from remote to local. * command: merge sequences of spaces on command into single space * command: check for single, double, or back quote on command - ++ +-- Previously, if command contains quote like, echo "a b" @@ -98,7 +104,7 @@ will expected and may cause some command failed to run. This changes fix the parsing of command string by detecting possible quote. - +-- == awwan 0.1.0 (2020.05.30) |
