Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Noah Slater
Ryan, If you had to pick between bundling the afformentioned reference implementation (a tool that just uploads a dir structure to a design doc, and pretty much nothing else) and Benoit's erica, which would you pick, and why? And which one of those tools do you think it would be easier to wrap a

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Simon Metson
Hey, On Tuesday, 25 September 2012 at 09:09, Noah Slater wrote: If you had to pick between bundling the afformentioned reference implementation (a tool that just uploads a dir structure to a design doc, and pretty much nothing else) and Benoit's erica, which would you pick, and why? And

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Dirkjan Ochtman
On Tue, Sep 25, 2012 at 10:16 AM, Simon Metson si...@cloudant.com wrote: I was thinking about this reference implementation this morning. I think having a bunch, in multiple languages might not be a bad idea. So a simplified erica, couchapp.py, the node.js couchapp tool etc could all be

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread roger . moffatt
Just to come back to your user mindset argument. I would argue that the people we really need to convince ARE the developers. Because the developers are the people who pick the tooling. And if CouchDB/apps do not look attractive, they will be ignored. I'd just like to jump in and echo this.

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Benoit Chesneau
On Tue, Sep 25, 2012 at 10:34 AM, roger.moff...@gmail.com wrote: Just to come back to your user mindset argument. I would argue that the people we really need to convince ARE the developers. Because the developers are the people who pick the tooling. And if CouchDB/apps do not look

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Noah Slater
Agreed. Not sure we should ship more than one reference implementation. And just to be clear, I think the primary goal of this effort, if somebody undertakes it, is to provide a tool that can bootstrap Futon during the install process. A secondary goal should be that we can talk about the tool

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Simon Metson
Hi, Not sure we should ship more than one reference implementation. My thinking was that a reference implementation in python might be different to one in java, erlang or javascript. By a bunch I meant one per language. If you want to provide this as a base to build third party apps from

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Noah Slater
I think the multiple language thing is a slippery slope. By extension, we should ship client libraries too then. No way. On Tue, Sep 25, 2012 at 12:02 PM, Simon Metson si...@cloudant.com wrote: Hi, Not sure we should ship more than one reference implementation. My thinking was that a

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Octavian Damiean
I guess we could define a schema. This dir for map functions, this dir for reduce functions, this dir for HTML, or whatever. You mean a directory structure like the Python-based CouchApp has? The goal is to bootstrap Futon, and to provide a simple tool to demo in our docs. This might

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Dirkjan Ochtman
On Tue, Sep 25, 2012 at 1:08 PM, Noah Slater nsla...@tumbolia.org wrote: I think the multiple language thing is a slippery slope. By extension, we should ship client libraries too then. No way. The goal is to bootstrap Futon, and to provide a simple tool to demo in our docs. This whole

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Benoit Chesneau
On Tue, Sep 25, 2012 at 1:30 PM, Octavian Damiean mainer...@gmail.com wrote: I guess we could define a schema. This dir for map functions, this dir for reduce functions, this dir for HTML, or whatever. You mean a directory structure like the Python-based CouchApp has? erica and couchapp

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Benjamin Young
On 9/24/2012 6:53 AM, Noah Slater wrote: Making Futon a CouchApp would be a great first step. Other good first steps would be trashing couchapp.com and redirecting to c.a.o/couchapp like you say. Also, creating a...@couchdb.apache.org or similar, to indicate a more official, and broad, focus.

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Noah Slater
On Tue, Sep 25, 2012 at 1:17 PM, Benjamin Young byo...@bigbluehat.comwrote: The common denominator of the filesystem-to-design-doc mapping [1] among the Python couchapp, erica, and kanso's traditional-couchapp dependency [2] is an advantage and that shouldn't be given up lightly.

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Dale Harvey
Just wanted to chime in on a few points I think Couch should definitely ship with a tool to upload a design doc, I think we pretty much all agreed on that in Boston, its not even particular to couchapps but a fairly basic requirement for anyone that has to manage their map reduce code. I do have

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Benoit Chesneau
On Tue, Sep 25, 2012 at 3:29 PM, Dale Harvey d...@arandomurl.com wrote: Just wanted to chime in on a few points I think Couch should definitely ship with a tool to upload a design doc, I think we pretty much all agreed on that in Boston, its not even particular to couchapps but a fairly basic

couchdb pull request: Ensure that nuke_dir properly deletes the folder

2012-09-25 Thread adamlofts
GitHub user adamlofts opened a pull request: https://github.com/apache/couchdb/pull/33 Ensure that nuke_dir properly deletes the folder nuke_dir() was calling couch_file:delete() which expects to be passed a file. This pull request splits out a delete_rename() function and adds

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Ryan Ramage
On Tue, Sep 25, 2012 at 5:52 AM, Dirkjan Ochtman dirk...@ochtman.nl wrote: organized around CouchApps. I think that currently, the swirling vortex of CouchApp-like projects is more of a distraction to the CouchDB community than a force for constructive feedback. Yes, couchapps can be

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Dale Harvey
On 25 September 2012 14:39, Benoit Chesneau bchesn...@gmail.com wrote: On Tue, Sep 25, 2012 at 3:29 PM, Dale Harvey d...@arandomurl.com wrote: Just wanted to chime in on a few points I think Couch should definitely ship with a tool to upload a design doc, I think we pretty much all

[jira] [Created] (COUCHDB-1535) After sync, deleting a _design document brings it back to an old revision

2012-09-25 Thread Mathias Chouet (JIRA)
Mathias Chouet created COUCHDB-1535: --- Summary: After sync, deleting a _design document brings it back to an old revision Key: COUCHDB-1535 URL: https://issues.apache.org/jira/browse/COUCHDB-1535

[jira] [Commented] (COUCHDB-1535) After sync, deleting a _design document brings it back to an old revision

2012-09-25 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13462918#comment-13462918 ] Robert Newson commented on COUCHDB-1535: The document had conflicts, and your

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Wendall Cada
Thanks for the commentary Benoit, very useful. I've read all of the discussion up through today and I think there are some really great points made that are missed in the discussion. I want to respond to both the first and second emails here, as they are related in my mind. 1. OTP couchdb -

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Ryan Ramage
On Tue, Sep 25, 2012 at 2:09 AM, Noah Slater nsla...@tumbolia.org wrote: Ryan, If you had to pick between bundling the afformentioned reference implementation (a tool that just uploads a dir structure to a design doc, and pretty much nothing else) and Benoit's erica, which would you pick, and

Re: Part2: What's up dev? About couchapps.

2012-09-25 Thread Eli Stevens (Gmail)
On Tue, Sep 25, 2012 at 10:25 PM, Ryan Ramage ryan.ram...@gmail.com wrote: 1) We have to decide on the directory structure. Based on what benoit and dale have brought up. I have opinions, along with others. Lets not rattle sabres around this yet. But pick something relatively user friendly,