<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pakakeh.go, branch v0.41.0</title>
<subtitle>Collections of packages and tools for working with Go programming language.</subtitle>
<id>http://git.kilabit.info/pakakeh.go/atom?h=v0.41.0</id>
<link rel='self' href='http://git.kilabit.info/pakakeh.go/atom?h=v0.41.0'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/'/>
<updated>2022-09-04T15:16:59Z</updated>
<entry>
<title>Release share v0.41.0 (2022-09-04)</title>
<updated>2022-09-04T15:16:59Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-09-04T15:15:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=dd485ce62d0554bddb6f8253ee4700ece6c4ea00'/>
<id>urn:sha1:dd485ce62d0554bddb6f8253ee4700ece6c4ea00</id>
<content type='text'>
=== Breaking changes

* lib/json: remove solidus (slash) from being escaped/un-escaped

=== Bug fixes

* lib/memfs: fix SIGSEGV when node is deleted when being watched

=== New features

lib/text: add custom MarshalJSON to type Chunk and Line

=== Chores

* lib/memfs: simplify checking for symlink
* lib/http: increase time sleep waiting for server on example endpoint
* text/diff: rewrite the test using test.Data
* _doc: cleaning up the documentation
* lib/totp: cleaning up the codes
</content>
</entry>
<entry>
<title>all: update dependencies</title>
<updated>2022-09-04T14:54:22Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-09-04T14:54:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=d6fe7d0a69938f6952c4a89a2005a3d034112fe9'/>
<id>urn:sha1:d6fe7d0a69938f6952c4a89a2005a3d034112fe9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/memfs: fix SIGSEGV when node is deleted when being watched</title>
<updated>2022-09-01T14:25:57Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-09-01T14:25:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=704be0550ef67a4827b2d9b1c8656f4a21d2779c'/>
<id>urn:sha1:704be0550ef67a4827b2d9b1c8656f4a21d2779c</id>
<content type='text'>
The panic is caused by the item in slice of Childs is being
removed during iteration.

To fix this, we remove the childs on the second iteration after
we remove any sub directories inside them.
</content>
</entry>
<entry>
<title>lib/memfs: remove unused parameter in isWatched and isIncluded</title>
<updated>2022-08-31T02:58:46Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-31T02:58:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=91fce8ab6ce4c6f9722ac2af15fca33600e45abf'/>
<id>urn:sha1:91fce8ab6ce4c6f9722ac2af15fca33600e45abf</id>
<content type='text'>
While at it change the isIncluded parameter from os.FileMode to
os.FileInfo.
</content>
</entry>
<entry>
<title>lib/memfs: simplify checking for symlink</title>
<updated>2022-08-30T19:08:29Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-30T19:08:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=dcd3c7c73ca392fed1bfb0de16014ee7ab6fb5a7'/>
<id>urn:sha1:dcd3c7c73ca392fed1bfb0de16014ee7ab6fb5a7</id>
<content type='text'>
Instead of calling filepath.EvalSymlink and Lstat, call os.Stat directly
to the symlink system path.

This also fix the modTime not currently set to the original file when
creating Node from symlink-ed file.
</content>
</entry>
<entry>
<title>lib/http: increase time sleep waiting for server on example endpoint</title>
<updated>2022-08-28T19:57:27Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-28T19:57:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=a2f45e834763305b416d78406066764899bf0f7c'/>
<id>urn:sha1:a2f45e834763305b416d78406066764899bf0f7c</id>
<content type='text'>
On container, sometimes the test fail with the following error

  2022-08-28 19:32:21 UTC DefaultErrorHandler: POST /error/custom:
    Custom error
  2022/08/28 19:32:22 Do: Get "http://127.0.0.1:7016/?":
    dial tcp 127.0.0.1:7016: connect: connection refused
  FAIL	github.com/shuLhan/share/lib/http	1.583s

This was caused by server is not ready yet to accept connection when
testing executed.
</content>
</entry>
<entry>
<title>text/diff: rewrite the test using test.Data</title>
<updated>2022-08-28T19:01:56Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-28T19:01:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=53c9e1165011b8c3474f1c124b8db8799878002c'/>
<id>urn:sha1:53c9e1165011b8c3474f1c124b8db8799878002c</id>
<content type='text'>
Using test.Data provide much more readable input and outputs and
simplify modifying the test data instead of manually define the
expected output in struct.
</content>
</entry>
<entry>
<title>lib/text: add custom MarshalJSON to type Chunk and Line</title>
<updated>2022-08-28T14:24:59Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-28T14:23:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=639f96a5819eda392a9d9c470e93494746a5711a'/>
<id>urn:sha1:639f96a5819eda392a9d9c470e93494746a5711a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/json: remove solidus (slash) being escaped/unescaped</title>
<updated>2022-08-28T14:24:59Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-28T14:22:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=7e1712bac3bb7c2d2d406c8b680c74b564384437'/>
<id>urn:sha1:7e1712bac3bb7c2d2d406c8b680c74b564384437</id>
<content type='text'>
The standard json package does not escape the solidus, even though the
RFC said so.
Someone also report this as an error in RFC [1] by removing solidus
from list of escaped characters but the author itself reject it.

[1] https://www.rfc-editor.org/errata/eid3159
</content>
</entry>
<entry>
<title>_doc: cleaning up the documentation</title>
<updated>2022-08-25T14:42:44Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-25T14:42:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=2fc316d82169d7ca1541904faca83d0a155b3ed4'/>
<id>urn:sha1:2fc316d82169d7ca1541904faca83d0a155b3ed4</id>
<content type='text'>
In the _doc, we remove generated HTML files.

In the index, we add link to README and section about Development that
include links to repository, issues, and patches.

In the README, we reformat it to use AsciiDoc markup, remove the
sanitizer library, add CLI for epoch, ini, and xtrk.
</content>
</entry>
</feed>
