From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15985 invoked by alias); 3 Jun 2017 03:24:27 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 41203 Received: (qmail 23094 invoked from network); 3 Jun 2017 03:24:27 -0000 X-Qmail-Scanner-Diagnostics: from aok120.rev.netart.pl by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(85.128.245.120):SA:0(0.0/5.0):. Processed in 3.770785 secs); 03 Jun 2017 03:24:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: psprint@zdharma.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at zdharma.org does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new using ClamAV (15) Date: Sat, 3 Jun 2017 05:24:14 +0200 From: Sebastian Gniazdowski To: zsh-workers@zsh.org Message-ID: Subject: Add redis-db module to upstream? X-Mailer: Airmail (231) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello The module https://github.com/zdharma/zredis is interesting because: - needs only hiredis package, which is a small modern-C-style library =C2=A0 =C2=A0 - for example it uses sds string library https://github.com= /antirez/sds which has a header stored before pointers passed around, mak= ing them both C-strings and custom structures (with length stored) - is well tested =E2=80=93 complete coverage in test suite, also separate= test suite for testing with Valgrind - exercises all Zsh data types, so other module creators will have a nice= example code - has a use case =E2=80=93 I imagine db administrator binding key =22visi= tors=22 to Zsh scalar parameter =24visitors, to do echo =24visitors many = times across the day If we will agree on adding this module I will sent a patch including upda= te of configure.ac. I would still distribute my module, because it can be= loaded into Zsh without recompilation of Zsh, and to any Zsh version. Distributing with Zsh would boost awareness of what Zsh can do. Someone c= ould be inspired by this module if in upstream, while I see it being igno= red if only as a plugin. -- Sebastian Gniazdowski psprint /at/ zdharma.org