Denny Trebbin | 24 May 2013 15:20
Picon
Gravatar

Using Elixir language for CouchDB hacking

Hi,

I try to step out of the dark and turn from silent into speaker mode ;-)

Recently http://elixir-lang.org/ has gotten some love and support by Dave
Thomas via his book http://pragprog.com/book/elixir/programming-elixir and
a screencast on YouTube http://youtu.be/a-off4Vznjs

I would like to contribute to CouchDB because CDB is nice and I've never
had troubles with my IrisCouch instance. But with plain old Erlang I can
not do too much to pay something back to CouchDB. I hope I can give back
something to CouchDB using Elixir instead.

Here is my plan.
1. get to know if Elixir is welcome here
2. get some support on understanding CouchDB's Erlang code architecture
3. identify where and how to inject Elixir
4. hack & test

Thank you
--Denny
Noah Slater (JIRA | 24 May 2013 10:36
Picon
Favicon

[jira] [Commented] (COUCHDB-1784) enable distcheck for VPATH builds


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

Noah Slater commented on COUCHDB-1784:
--------------------------------------

Confused about this. Our release procedure *requires* VPATH to work. So this was working for 1.2.2 and
1.3.0. I've not run into any problems with either license.skip or THANKS.

What's the current status? What commands were you using? What platform?

                
> enable distcheck for VPATH builds
> ---------------------------------
>
>                 Key: COUCHDB-1784
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1784
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Build System
>            Reporter: Dave Cottlehuber
>            Priority: Minor
>             Fix For: 1.3.1
>
>         Attachments: 0001-vpath-and-license.skip.patch
>
>
> VPATH doesn't work for distcheck due to license.skip being an absolute path.
(Continue reading)

Dave Cottlehuber | 24 May 2013 09:52
Gravatar

Re: [jira] [Commented] (COUCHDB-1784) enable distcheck for VPATH builds

On 17 May 2013 22:09, ASF subversion and git services (JIRA)
<jira@...> wrote:
>
>     [
https://issues.apache.org/jira/browse/COUCHDB-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660999#comment-13660999 ]
>
> ASF subversion and git services commented on COUCHDB-1784:
> ----------------------------------------------------------
>
> Commit a1a820026709c506f88d94dd661b9db748379a1b in branch refs/heads/1784-fix-vpath-builds
from [~dch]
> [ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=a1a8200 ]
>
> COUCHDB-1784 update license.skip to support VPATH builds

Any suggestions on what to do about handling the missing THANKS file
in a VPATH `make distcheck`? This also applies to git checkouts the
way homebrew does them, into an alternate source tree, BTW. I could
add a simple `touch THANKS` to fix this, is that kosher?

Would be nice to get this into 1.3.1.

A+
Dave

Andi Noviandi (JIRA | 24 May 2013 05:32
Picon
Favicon

[jira] [Resolved] (COUCHDB-1804) include_design options not working anymore in v1.3


     [
https://issues.apache.org/jira/browse/COUCHDB-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andi Noviandi resolved COUCHDB-1804.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

wrong value type of "include_design"

> include_design options not working anymore in v1.3
> --------------------------------------------------
>
>                 Key: COUCHDB-1804
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1804
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>            Reporter: Andi Noviandi
>             Fix For: 1.3
>
>
> "include_design" : true, that enable view to access design document is no longer working. 
> I have use this options in couchdb 1.2 and its running well, but after upgrade to 1.3 seems the view not
accessing design doc anymore?

--
This message is automatically generated by JIRA.
(Continue reading)

Andi Noviandi (JIRA | 24 May 2013 05:28
Picon
Favicon

[jira] [Commented] (COUCHDB-1804) include_design options not working anymore in v1.3


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

Andi Noviandi commented on COUCHDB-1804:
----------------------------------------

Thanks Alexander, I notice that my "inlude_design" value is in string type not boolean, I change it to
boolean type and now working.. It seems in version before 1.3 couchdb will parse String to boolean, but now
its more strict. 

> include_design options not working anymore in v1.3
> --------------------------------------------------
>
>                 Key: COUCHDB-1804
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1804
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>            Reporter: Andi Noviandi
>
> "include_design" : true, that enable view to access design document is no longer working. 
> I have use this options in couchdb 1.2 and its running well, but after upgrade to 1.3 seems the view not
accessing design doc anymore?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
(Continue reading)

Adam Kocoloski (JIRA | 23 May 2013 20:55
Picon
Favicon

[jira] [Created] (COUCHDB-1805) Grouping on reduce views tests for equality rather than ICU equivalence

Adam Kocoloski created COUCHDB-1805:
---------------------------------------

             Summary: Grouping on reduce views tests for equality rather than ICU equivalence
                 Key: COUCHDB-1805
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1805
             Project: CouchDB
          Issue Type: Bug
            Reporter: Adam Kocoloski

If I emit keys from two documents that are distinct but compare equal from ICU's point of view, a group=true
query over the view will show two distinct rows.  I think the expected behavior is that the rows are combined
when ICU collation says the keys compare equal.

I think part of the fix is to modify the group_rows_fun to call out to ICU instead of doing a simple == comparison:

https://github.com/apache/couchdb/blob/48dc96/src/couch_mrview/src/couch_mrview.erl#L354-L363

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Alexander Shorin (JIRA | 23 May 2013 09:40
Picon
Favicon

[jira] [Commented] (COUCHDB-1804) include_design options not working anymore in v1.3


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

Alexander Shorin commented on COUCHDB-1804:
-------------------------------------------

Works for me for 1.3.0 release and current master HEAD:

{code}
{
   "_id": "_design/test",
   "_rev": "2-0ac6a92f94b4cf21964031116ffd0a40",
   "language": "javascript",
   "views": {
       "test": {
           "map": "function(doc) {\n  emit(doc._id, doc._rev);\n}"
       }
   },
   "options": {
       "include_design": true
   }
}
{code}

This ddoc view emits results for ddocs like for any other docs.

> include_design options not working anymore in v1.3
> --------------------------------------------------
(Continue reading)

Andi Noviandi (JIRA | 23 May 2013 09:26
Picon
Favicon

[jira] [Created] (COUCHDB-1804) include_design options not working anymore in v1.3

Andi Noviandi created COUCHDB-1804:
--------------------------------------

             Summary: include_design options not working anymore in v1.3
                 Key: COUCHDB-1804
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1804
             Project: CouchDB
          Issue Type: Bug
          Components: JavaScript View Server
            Reporter: Andi Noviandi

"include_design" : true, that enable view to access design document is no longer working. 
I have use this options in couchdb 1.2 and its running well, but after upgrade to 1.3 seems the view not
accessing design doc anymore?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Alexander Shorin (JIRA | 23 May 2013 07:13
Picon
Favicon

[jira] [Closed] (COUCHDB-1803) Adding a title in the attachment


     [
https://issues.apache.org/jira/browse/COUCHDB-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Shorin closed COUCHDB-1803.
-------------------------------------

    Resolution: Duplicate

Closing as duplicate of an old, but still actual issue. COUCHDB-259 is a bit more detailed in his mission.

> Adding a title in the attachment
> --------------------------------
>
>                 Key: COUCHDB-1803
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1803
>             Project: CouchDB
>          Issue Type: Wish
>          Components: Database Core
>            Reporter: Andrey Kuprianov
>
> Hi,
> It would be great if a file title could be stored in the attachment as an optional attribute. In fact it would
be even better, if one could add a bunch of custom attributes to the attachment (e.g. description,
original file name, maybe a bunch of comments or even a version). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
(Continue reading)

Andrey Kuprianov (JIRA | 23 May 2013 07:04
Picon
Favicon

[jira] [Created] (COUCHDB-1803) Adding a title in the attachment

Andrey Kuprianov created COUCHDB-1803:
-----------------------------------------

             Summary: Adding a title in the attachment
                 Key: COUCHDB-1803
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1803
             Project: CouchDB
          Issue Type: Wish
          Components: Database Core
            Reporter: Andrey Kuprianov

Hi,

It would be great if a file title could be stored in the attachment as an optional attribute. In fact it would
be even better, if one could add a bunch of custom attributes to the attachment (e.g. description,
original file name, maybe a bunch of comments or even a version). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Noah Slater | 23 May 2013 02:38
Picon
Favicon
Gravatar

IrisCouch news

Nodejitsu acquired IrisCouch:

https://www.nodejitsu.com/company/press/2013/05/22/iriscouch/

Aah! I'm so happy to be sending a second email like this — only one week
since the Cloudant news. These are exciting times for CouchDB indeed!

Congrats Jason!

--

-- 
NS

Gmane