You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Paul Joseph Davis (JIRA)" <ji...@apache.org> on 2008/11/08 03:42:44 UTC
[jira] Created: (COUCHDB-156) Design docs being sent to views
Design docs being sent to views
-------------------------------
Key: COUCHDB-156
URL: https://issues.apache.org/jira/browse/COUCHDB-156
Project: CouchDB
Issue Type: Bug
Components: Database Core
Affects Versions: 0.9
Environment: Trunk
Reporter: Paul Joseph Davis
Priority: Minor
Noticed that _design docs are appearing to be sent to views. Later I'll write a test case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Created: (COUCHDB-156) Design docs being sent to views
Posted by Paul Davis <pa...@gmail.com>.
Also a valid argument, but then we should remove the two broken lines
in couch_view.erl that say to discard them. Also we should add the one
or two lines to send a design doc to a view defined in said document.
On Sat, Nov 8, 2008 at 1:39 AM, Chris Anderson <jc...@apache.org> wrote:
> On Fri, Nov 7, 2008 at 6:42 PM, Paul Joseph Davis (JIRA)
> <ji...@apache.org> wrote:
>> Noticed that _design docs are appearing to be sent to views. Later I'll write a test case.
>
> I think we want them sent to views. Maybe I'd like a view of all
> _design docs that have a by_tags view (actually I should probably be
> doing this in CouchRest already...)
>
> --
> Chris Anderson
> http://jchris.mfdz.com
>
Re: [jira] Created: (COUCHDB-156) Design docs being sent to views
Posted by Chris Anderson <jc...@apache.org>.
On Fri, Nov 7, 2008 at 6:42 PM, Paul Joseph Davis (JIRA)
<ji...@apache.org> wrote:
> Noticed that _design docs are appearing to be sent to views. Later I'll write a test case.
I think we want them sent to views. Maybe I'd like a view of all
_design docs that have a by_tags view (actually I should probably be
doing this in CouchRest already...)
--
Chris Anderson
http://jchris.mfdz.com
[jira] Closed: (COUCHDB-156) Design docs being sent to views
Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Anderson closed COUCHDB-156.
----------------------------------
Resolution: Invalid
The _design docs should get sent to views. For example, what if I want a view of design docs with a view called "by_tags"?
> Design docs being sent to views
> -------------------------------
>
> Key: COUCHDB-156
> URL: https://issues.apache.org/jira/browse/COUCHDB-156
> Project: CouchDB
> Issue Type: Bug
> Components: Database Core
> Affects Versions: 0.9
> Environment: Trunk
> Reporter: Paul Joseph Davis
> Priority: Minor
>
> Noticed that _design docs are appearing to be sent to views. Later I'll write a test case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (COUCHDB-156) Design docs being sent to views
Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Anderson reopened COUCHDB-156:
------------------------------------
Nevermind. Damien has spoken:
<damienkatz> should be fixed, like this: <<?DESIGN_DOC_PREFIX, _/binary>>
<jchris> damienkatz: why skip design docs in views?
<damienkatz> because you rarely want them, and ususally you only have small number of design docs.
<damienkatz> but views can have a flag to control things like that.
<jchris> I'll be wanting to find all the design docs with an index.html attachment
<jchris> and I've written code that autogenerates scores of ddocs
<jchris> having a flag would do the trick
<jchris> but I wonder if it is not more complex than necessary
<damienkatz> jchris: yes, add support for view options.
<damienkatz> we already need it for the sort order thing
<jchris> "options" : {"sort":[true,false], "include_design_docs":true, ... }
<damienkatz> and it would be nice to send more or less doc meta data, or things like binaries too.
<damienkatz> right
<jchris> "all_revs"
<damienkatz> right
<jchris> ok, good, attaching this transcript to the ticket and reopening
> Design docs being sent to views
> -------------------------------
>
> Key: COUCHDB-156
> URL: https://issues.apache.org/jira/browse/COUCHDB-156
> Project: CouchDB
> Issue Type: Bug
> Components: Database Core
> Affects Versions: 0.9
> Environment: Trunk
> Reporter: Paul Joseph Davis
> Priority: Minor
>
> Noticed that _design docs are appearing to be sent to views. Later I'll write a test case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.