couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Ippolito (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1867) Plugins
Date Thu, 01 Aug 2013 09:23:56 GMT


Bob Ippolito commented on COUCHDB-1867:

For reference, this is what I have been testing with:

To build it, just make sure (the right) couch-config is on the PATH, or set ERL_LIBS appropriately
before calling rebar compile. You can then symlink the couchperuser dir into $PREFIX/lib/couchdb/plugins
(or tmp/plugins when using make dev).

Using a zip file instead of tgz would be a bit more natural for plugin distribution. Erlang
can actually work with code that's in zip files (this is how rebar works, for example. try
unzip -l `which rebar`). See "Loading Code from Archive Files" at
for some implementation details of how ".ez" archives work. Loading configuration from these
would be a little more complicated but not impossible (couch_config could recognize .ez files
and pull priv/default.d/*.ini from them with zip:foldl/3). Note that this probably isn't a
good idea for all plugins, since I assume that it will make sense to ship them with a bunch
of data files in the future (e.g. html/js for admin tools).
> Plugins
> -------
>                 Key: COUCHDB-1867
>                 URL:
>             Project: CouchDB
>          Issue Type: New Feature
>            Reporter: Jan Lehnardt
>            Assignee: Jan Lehnardt
>            Priority: Minor
> It should be easy to install CouchDB plugins.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message