couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau (JIRA)" <>
Subject [jira] [Updated] (COUCHDB-1012) Utility to help plugin developers manage paths
Date Thu, 25 Aug 2011 13:04:30 GMT


Benoit Chesneau updated COUCHDB-1012:

    Attachment: 0001-add-couch-config-file-used-to-ease-the-build-of-plug.patch

new version of the patch that should close this ticket. 

new usage:

add couch-config file used to ease the build of plugin

Usage :

    $ ./bin/couch-config_dev
    Usage: couch-config_dev [OPTION]

    The couch-config_dev command runs the Apache CouchDB configuration


      --erl-libs-dir    Erlang library directory
      --config-dir      configuration directory
      --db-dir          database dirrectory
      --view-dir        view index directory
      --static-dir      static asset directory
      --doc-dir         documentation directory
      --uri-file        daemon sockets file
      --log-file        log file
      --couch-version   version of Apache CouchDB
      --couch-bin       couchdb binary
      --version         version of couch-config_dev
      --help            Print usage

    Report bugs at <>.

I kept  log-file since, we have only a log file. Once jan will commit access log (already
in couchbase) we could add access-log as well. Also since view dir can be different I kept
this option as well. 

If it's OK will commit it later today.

> Utility to help plugin developers manage paths
> ----------------------------------------------
>                 Key: COUCHDB-1012
>                 URL:
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Build System
>            Reporter: Randall Leeds
>            Assignee: Benoit Chesneau
>             Fix For: 1.2
>         Attachments: 0001-add-couch-config-file-used-to-ease-the-build-of-plug.patch,
0001-add-couch-config-file-used-to-ease-the-build-of-plug.patch, 0001-add-couch-config-file-used-to-ease-the-build-of-plug.patch,
> Developers may want to write plugins (like GeoCouch) for CouchDB. Many hooks in the configuration
system allow loading arbitrary Erlang modules to handle various internal tasks, but currently
there is no straightforward and portable way for developers of these plugins to discover the
location of the CouchDB library files.
> Two options that have been proposed are to use pkg-config or install a separate script
that could be invoked (e.g. as couch-config --erl-libs) to discover important CouchDB installation
> As far as I know the loudest argument against pkg-config is lack of support for Windows.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message