You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/03/29 20:39:52 UTC
[jira] [Commented] (COUCHDB-2433) Allow downloading of views
[ https://issues.apache.org/jira/browse/COUCHDB-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385882#comment-14385882 ]
ASF GitHub Bot commented on COUCHDB-2433:
-----------------------------------------
GitHub user robertkowalski opened a pull request:
https://github.com/apache/couchdb/pull/310
add tests for downloading docs/views
COUCHDB-2433
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/robertkowalski/couchdb 2433-download-views
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb/pull/310.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #310
----
commit ac46e5599c4cec3b4d8fb0c0a2ce8f6e2cfbf5e0
Author: Robert Kowalski <ro...@kowalski.gd>
Date: 2015-03-29T18:34:52Z
add tests for downloading docs/views
COUCHDB-2433
----
> Allow downloading of views
> --------------------------
>
> Key: COUCHDB-2433
> URL: https://issues.apache.org/jira/browse/COUCHDB-2433
> Project: CouchDB
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: Fauxton
> Affects Versions: 2.0.0
> Reporter: Jan Lehnardt
> Assignee: Robert Kowalski
> Priority: Minor
>
> I have a non-technical user of CouchDB that would like a “JSON Export” of views in Fauxton. They can’t use the command line where they can just `curl $viewurl > export.json`.
> One way to implement this is add a new query parameter to view queries could be `/db/_design/_view/name?download=true` which adds a Content-Disposition header so browsers offer the link as a download (and whatever else is necessary to make browsers behave :)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)