<feed xmlns='http://www.w3.org/2005/Atom'>
<title>awwan/testdata/local/local_encrypted.data, branch dev</title>
<subtitle>Configuration management software, scriptable shell with SSH support.</subtitle>
<id>http://git.kilabit.info/awwan/atom?h=dev</id>
<link rel='self' href='http://git.kilabit.info/awwan/atom?h=dev'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/'/>
<updated>2026-02-05T20:50:24Z</updated>
<entry>
<title>all: use space log prefix instead of dummy date</title>
<updated>2026-02-05T20:50:24Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-02-05T20:50:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=a3c27356bfe3e56809f579b617e02829a7ea0a68'/>
<id>urn:sha1:a3c27356bfe3e56809f579b617e02829a7ea0a68</id>
<content type='text'>
Using dummy date make the test output hard to read in verbose option,
because the program logs mixed with the test logs.
</content>
</entry>
<entry>
<title>all: fix data race in tests and [httpServer.ExecuteTail]</title>
<updated>2026-02-03T13:32:57Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-02-03T13:32:57Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=a4bf3113e62ecfb74ab2c89f1cdfc7375af1c59e'/>
<id>urn:sha1:a4bf3113e62ecfb74ab2c89f1cdfc7375af1c59e</id>
<content type='text'>
In the test for AwwanLocal, use buffer with lock, so each write and
read is safe.

In the httpServer, the test found data race during ExecuteTail when
accessing [ExecResponse.EndAt].
We fix it by locking the resource during call to end() and when
accessing the EndAt field.
</content>
</entry>
<entry>
<title>all: changes default date-time prefix on test</title>
<updated>2023-12-21T09:38:29Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-12-21T09:38:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=3e1bdaf0cdb3f9087fe36e15da704ace8f38466c'/>
<id>urn:sha1:3e1bdaf0cdb3f9087fe36e15da704ace8f38466c</id>
<content type='text'>
Using "-" as dummy date-time prefix make the test output quite hard
to read, especially since we use the same prefix "===" and "---" with Go
test output.
</content>
</entry>
<entry>
<title>all: move wrapping BEGIN and END outside of session</title>
<updated>2023-12-01T06:17:30Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-29T19:50:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=cf9fdc1387b7cf33f16fe95ef4bef55c9c008f80'/>
<id>urn:sha1:cf9fdc1387b7cf33f16fe95ef4bef55c9c008f80</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: remove script name in the log prefix</title>
<updated>2023-12-01T06:17:30Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-29T16:26:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=fa3683edd2d986a26de85479b8a1c2535d069c15'/>
<id>urn:sha1:fa3683edd2d986a26de85479b8a1c2535d069c15</id>
<content type='text'>
Since each execution now logged in the file with ".log" extension,
there is no need to prefix it with script name again, because its
redundant.
</content>
</entry>
<entry>
<title>all: refactoring Local and Play so that error get logged</title>
<updated>2023-10-30T14:41:03Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-10-30T14:41:03Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=a4df1481d6108731e231750721e4d2cfe0cee8bd'/>
<id>urn:sha1:a4df1481d6108731e231750721e4d2cfe0cee8bd</id>
<content type='text'>
Previously, if there is any error from Local or Play before any statement
get executed it will not logged to log, also the Request close() is
not called since we put it as defer in the middle.

This changes fix this by moving down error handler into single exit
goto label.
</content>
</entry>
<entry>
<title>all: add begin and end for each script execution</title>
<updated>2023-10-30T13:30:03Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-10-30T13:30:03Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=7226fa9262d5fb1a4fb81087308e7365b3700120'/>
<id>urn:sha1:7226fa9262d5fb1a4fb81087308e7365b3700120</id>
<content type='text'>
When the script executed, log the script and line number to be executed
with "=== BEGIN", and when its finished, log the end of it with "=== END".

This is to make the log more traceable.
</content>
</entry>
<entry>
<title>all: log all execution into file</title>
<updated>2023-10-30T12:31:06Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-10-30T12:31:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=4726a28cee89f542eb3b0569639069a05d1df6b0'/>
<id>urn:sha1:4726a28cee89f542eb3b0569639069a05d1df6b0</id>
<content type='text'>
For each script execution, a file suffixed with ".log" will be created
in the same directory with the same name as script file.
For example, if the script is path is "a/b/c.aww" then the log file
would named "a/b/c.aww.log".

This is to provides history and audit in the future.
</content>
</entry>
<entry>
<title>all: print any path relative to base directory</title>
<updated>2023-09-26T17:54:10Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-09-26T17:32:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=ec249eb3ca99070b31e7a535219de9f2474df5e4'/>
<id>urn:sha1:ec249eb3ca99070b31e7a535219de9f2474df5e4</id>
<content type='text'>
This is to minimize log length in stdout and stderr, which make it
more readable.
</content>
</entry>
<entry>
<title>all: add tests for local with empty and invalid passphrase</title>
<updated>2023-09-26T17:54:10Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-09-26T17:21:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=c595d849701d35e81c02e4a834abb4cd2d0a5933'/>
<id>urn:sha1:c595d849701d35e81c02e4a834abb4cd2d0a5933</id>
<content type='text'>
While at it, rename the script for testing encrypted value to allow
other tests without encryption later.
</content>
</entry>
</feed>
