Browse Source

Support pil21, update dependency versions, add diagrams

tags/v0.18.0^0 v0.18.0
Alex Williams 11 months ago
parent
commit
634887e18c
Signed by: aw GPG Key ID: 19EE4AAA361A7E2C
  1. 4
      .github/workflows/main.yml
  2. 12
      CHANGELOG.md
  3. 2
      Makefile
  4. 2
      README.md
  5. BIN
      diagrams/auth.jpg
  6. BIN
      diagrams/kv-server.jpg
  7. BIN
      diagrams/savedb.jpg
  8. BIN
      diagrams/simplified.jpg
  9. 4
      libkv.l
  10. 4
      module.l

4
.github/workflows/main.yml

@ -12,11 +12,11 @@ jobs:
strategy:
matrix:
arch: ['src', 'src64']
version: ['17.12', '18.6', '18.12', '19.6', '19.12', 'latest']
version: ['17.12', '18.6', '18.12', '19.6', '19.12', 'pil21', 'latest']
steps:
- uses: actions/checkout@v1
- uses: aw/picolisp-action@v1
- uses: aw/picolisp-action@v2
with:
version: ${{matrix.version}}
architecture: ${{matrix.arch}}

12
CHANGELOG.md

@ -1,5 +1,17 @@
# Changelog
## 0.18.0 (2020-11-10)
### New features
* [documentation] Add the diagrams for _how_ this library works in the `diagrams/` directory
### Misc changes
* Add support for `pil21`
* Update github actions to use `picolisp-action` version 2
* Update unit test library to use newer version of `picolisp-unit` which is 10x faster
## 0.17.1 (2020-08-22)
### Bug fixes

2
Makefile

@ -8,7 +8,7 @@ REPO_PREFIX ?= https://github.com/aw
# Unit testing
TEST_REPO = $(REPO_PREFIX)/picolisp-unit.git
TEST_DIR = $(PIL_MODULE_DIR)/picolisp-unit/HEAD
TEST_REF = v3.0.0
TEST_REF = v3.1.0
# Generic
.PHONY: check run-tests clean

2
README.md

@ -22,7 +22,7 @@ The included `server.l` and `client.l` can be used to send and receive _"Redis-l
# Requirements
* PicoLisp 32-bit/64-bit `v17.12` to `v20.6.29`
* PicoLisp 32-bit/64-bit `v17.12` to `v20.6.29`, or `pil21`
* Linux or UNIX-like OS (with support for named pipes)
# Getting Started

BIN
diagrams/auth.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
diagrams/kv-server.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

BIN
diagrams/savedb.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
diagrams/simplified.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

4
libkv.l

@ -574,7 +574,7 @@
(when *KV_persist (kv-save-aof Msg *KV_aof)) # save the request to a log file first
(let (Result (kv-process Pid Msg)
Pipe_child (pil "tmp/" *PPid "/pipe_child_" Pid) )
Pipe_child (tmp "../" *PPid "/pipe_child_" Pid) )
(wait 1)
(kv-output "[msg] to child: " (sym Result))
@ -681,7 +681,7 @@
[de kv-mkfifo (Type)
(let Filename
(if (= Type "child")
(setq *Pipe_child (pil "tmp/" *PPid "/pipe_child_" *Pid))
(setq *Pipe_child (tmp "../" *PPid "/pipe_child_" *Pid))
(setq *Pipe_sibling (tmp "pipe_sibling")) )
(unless (info Filename) (call "mkfifo" Filename) ]

4
module.l

@ -1,10 +1,10 @@
[de APP_INFO
("name" "picolisp-kv")
("version" "0.17.1")
("version" "0.18.0")
("summary" "Redis-inspired in-memory key/value store written in PicoLisp")
("source" "https://github.com/aw/picolisp-kv")
("author" "Alexander Williams")
("license" "MIT")
("copyright" "(c) 2020 Alexander Williams, On-Prem <license@on-premises.com>")
("requires"
("picolisp-unit" "v3.0.0" "https://github.com/aw/picolisp-unit.git") ]
("picolisp-unit" "v3.1.0" "https://github.com/aw/picolisp-unit.git") ]

Loading…
Cancel
Save