[
https://issues.apache.org/jira/browse/COUCHDB-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726261#comment-13726261
]
Bob Ippolito commented on COUCHDB-1867:
---------------------------------------
For reference, this is what I have been testing with:
https://github.com/etrepum/couchperuser
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 http://www.erlang.org/doc/man/code.html#id102475 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: https://issues.apache.org/jira/browse/COUCHDB-1867
> 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: http://www.atlassian.com/software/jira