Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Add redis-db module to upstream?
- X-seq: zsh-workers 41205
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Add redis-db module to upstream?
- Date: Sat, 3 Jun 2017 10:09:08 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=5grjxUxoV2g5vys96lpsDgK0lIsyJzXQXPmwP6G+Ydk=; b=zHr8RYYFwVh6X7yMswMULdNnASUFjL+eh6yt32JorJGe7w5hhsAq3ruiAsOE3yNjEM 2lywzt0sGBZGtG9aSr4Jp24ya8ITE/b/YUQZSRAkTJteHD85DByHv2nOSmcZBrW6bOHZ 021F4reyROXGZKebYfY7esaRuq6UDJ7TXGUeSCWEiR1X1827WwRcrTfaS8HQ0sjvr7tg OOWjBHi9E3cIN2LpnojbXDIVvoATsDNfKRIQF4iLGAw5q8iXv7E4Gq6lPjbpp3eP3lsu us9CYe+UMDfX/nHkXUXUjUkIZFsLMq6qwfMrE15Yf3IEdtOuGCf5/i6QDOcXyETU4Etp 5/4A==
- In-reply-to: <etPan.59322bde.6763845e.1a9@MacMini.local>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <etPan.59322bde.6763845e.1a9@MacMini.local>
I have no objection to including this module's functionality in the base
distribution. However, I don't think we should just chuck it in there
exactly as-is.
Primarily, we should first decide where this should live in the module
hierarchy, i.e., what name should it have?
For example would it be appropriate to put it under zsh/db/redis and
finally do the work of abstracting ztie out of db_gdbm? (I know this
supports some operations that the base ztie interface does not.)
In that vein, this also introduces a question of whether zsh/db/ needs
to generically support a password mechanism. I'd suggest that it use
a parameter, possibly a hash with PM_HIDEVAL set whose keys are chosen
from arguments of ztie, but that's just a first reaction and probably
needs more thought. Unlike the naming decision, this doesn't need to
be determined before the module is otherwise integrated.
There are probably a few other design questions of this sort that will
arise in due course.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author