From dev-return-17788-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Thu Aug 25 13:22:58 2011 Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 742C37299 for ; Thu, 25 Aug 2011 13:22:58 +0000 (UTC) Received: (qmail 4932 invoked by uid 500); 25 Aug 2011 13:22:57 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 4846 invoked by uid 500); 25 Aug 2011 13:22:57 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 4838 invoked by uid 99); 25 Aug 2011 13:22:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 13:22:56 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 13:22:54 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 54F6ACF5B8 for ; Thu, 25 Aug 2011 13:22:33 +0000 (UTC) Date: Thu, 25 Aug 2011 13:22:33 +0000 (UTC) From: "Noah Slater (JIRA)" To: dev@couchdb.apache.org Message-ID: <464303290.13514.1314278553344.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <4155411.145251294178325740.JavaMail.jira@thor> Subject: [jira] [Commented] (COUCHDB-1012) Utility to help plugin developers manage paths MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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