From 9d8bb7a4699c8e34696535acd23c0ae4516adf6e Mon Sep 17 00:00:00 2001 From: Shulhan Date: Tue, 6 Sep 2022 00:49:40 +0700 Subject: Release ciigo v0.9.2 (2022-09-06) === Bug fix * all: check for symlink and re-fetch file info using os.Stat === Chores * all: update all dependencies * all: group all documents under directory _doc * all: try to fix test that sometimes fail inside container * all: add tasks to setup test inside systemd container --- _doc/CHANGELOG.adoc | 44 ++++++++++++++++++++++++++++++++++++++++++++ ciigo.go | 2 +- 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/_doc/CHANGELOG.adoc b/_doc/CHANGELOG.adoc index 2f91ad0..614dc1f 100644 --- a/_doc/CHANGELOG.adoc +++ b/_doc/CHANGELOG.adoc @@ -7,6 +7,50 @@ Shulhan :sectlinks: +[#v0_9_2] +== ciigo v0.9.2 (2022-09-06) + +[#v0_9_2_bug_fix] +=== Bug fix + +all: check for symlink and re-fetch file info using os.Stat:: ++ +Since Readdir return list of FileInfo using Lstat, any node that is +symlink may return false file size and mod time. + +[#v0_9_2_chores] +=== Chores + +all: update all dependencies:: ++ +The latest asciidoctor-go module fix parsing list description inside +include directive. + +all: group all documents under directory _doc:: + +all: try to fix test that sometimes fail inside container:: ++ +-- +When the test running we create directory testdata/watcher, create +a new file testdata/watcher/index.adoc and expect that the modify time +for testdata/watcher is changes. + +Except that sometimes it is not. The modification time of directory +watcher before and after the file created most of times equal and this +cause the test wait indifinitely and fail. + +This changes add 1 second delay before creating file inside directory +to make sure that the modification time changes. +-- + +all: add tasks to setup test inside systemd container:: ++ +When running test inside container, sometimes its success, most of the +time its fail. +In order to replicate it we need to setup the same container environment +and inspect it. + + [#v0_9_1] == ciigo v0.9.1 (2022-08-07) diff --git a/ciigo.go b/ciigo.go index aff887b..448adfe 100644 --- a/ciigo.go +++ b/ciigo.go @@ -26,7 +26,7 @@ const ( ) var ( - Version = `0.9.1` + Version = `0.9.2` defExcludes = []string{ `.*\.adoc$`, -- cgit v1.3