incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-209) Refine httpd_db_handlers API to map the externals from paths directly to scripts
Date Fri, 06 Feb 2009 04:01:59 GMT

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

Paul Joseph Davis commented on COUCHDB-209:
-------------------------------------------

I've been thinking about this ticket for a bit. I understand the desire to minimize the number
of INI edits etc, but something keeps bothering me about removing the [external] section entirely.

Also, is this really 0.9 blocking? I would vote that this isn't an API incompatibility.

> Refine httpd_db_handlers API to map the externals from paths directly to scripts
> --------------------------------------------------------------------------------
>
>                 Key: COUCHDB-209
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-209
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 0.9
>         Environment: all
>            Reporter: Jeff Hinrichs
>            Assignee: Chris Anderson
>            Priority: Blocker
>             Fix For: 0.9
>
>
> We could change the API to map the externals from paths directly to
> scripts, like
> [httpd_db_handlers]
> _mypath = {couch_httpd_external, handle_external_req, "/path/to/my/script"}
> which would be fine by me.
> The current code is like it is because the original implementation was
> designed to have multiple scripts mounted at the /db/_external path.
> Do you mind opening a ticket about this? - I'm happy to write the code
> but I'm supposed to be working on the book right now, so it'll have to
> wait.
> link to mail list thread:
> http://mail-archives.apache.org/mod_mbox/couchdb-user/200901.mbox/%3C5aaed53f0901120631v112916eewcc50e96c44728a3d@mail.gmail.com%3E
> It would appear to be a good solution to allow the flexibility desired while narrowing
the number of local.ini edits to accomplish.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message