[ 
https://issues.apache.org/jira/browse/COUCHDB-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090994#comment-13090994
 ] 

Noah Slater commented on COUCHDB-1012:
--------------------------------------

Why not just --log-dir?

Why do we have --couch-bin now?

Why is it called couchdb-config_dev now?

I am confused about this script. It seems that we all have very different ideas 
about how it is going to be used. Paul has previously argued for a very limited 
set of options for module developers only, and I must say that I favour that 
approach. Realistically, who is going to call this script to find out where the 
`couchdb` script is?

How about this approach:

 * We completely strip down the options here to the very bare essentials needed 
to develop CouchDB modules.
 * We add a note to the --help output saying that we're open to suggestions for 
new options.
 * We implement new options once it becomes apparent what he use case is.


> Utility to help plugin developers manage paths
> ----------------------------------------------
>
>                 Key: COUCHDB-1012
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1012
>             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, 
> 0001-support-pkg-config-for-plugins-COUCHDB-1012.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 paths.
> 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: http://www.atlassian.com/software/jira

        

Reply via email to