Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290160 - [ebuild] dev-db/desktopcouch
Summary: [ebuild] dev-db/desktopcouch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jesus Rivero (RETIRED)
URL: https://launchpad.net/desktopcouch
Whiteboard:
Keywords: EBUILD
Depends on: 290159
Blocks:
  Show dependency tree
 
Reported: 2009-10-22 19:42 UTC by Ravi Pinjala
Modified: 2010-03-16 13:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-db/desktopcouch-0.4.6.ebuild (desktopcouch-0.4.6.ebuild,649 bytes, text/plain)
2009-10-22 19:45 UTC, Ravi Pinjala
Details
dev-db/desktopcouch-0.6.1.ebuild (desktopcouch-0.6.1.ebuild,704 bytes, text/plain)
2010-02-15 06:38 UTC, Ravi Pinjala
Details
new upstream release, copy of desktopcouch-0.6.1.ebuild (desktopcouch-0.6.3.ebuild,704 bytes, text/plain)
2010-03-16 13:07 UTC, Michael Weber (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ravi Pinjala 2009-10-22 19:42:23 UTC
desktopcouch is a shared, desktop-oriented database build around couchdb, that allows for easy data migration and data sharing between applications. (Or at least, it will do that someday. At this point I think it's mainly useful for developers that want to try it out. >_>)

http://www.freedesktop.org/wiki/Specifications/desktopcouch
Comment 1 Ravi Pinjala 2009-10-22 19:43:43 UTC
add dependency on dev-python/oauth ebuild
Comment 2 Ravi Pinjala 2009-10-22 19:45:06 UTC
Created attachment 207926 [details]
dev-db/desktopcouch-0.4.6.ebuild

Ebuild for desktopcouch-0.4.6. Note that this depends on the dev-python/oauth ebuild, which isn't in the tree yet.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2009-10-23 12:56:15 UTC
Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Thanks,
On behalf of the Gentoo Sunrise Team,
Justin.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2009-10-23 13:52:36 UTC
Is there a page on what desktopcouch does? It's not clear to me what this would offer over and above dev-db/couchdb (and maybe something like dev-python/couchdb-python or dev-python/paisley).
Comment 5 Ravi Pinjala 2009-10-23 15:13:41 UTC
Basically, it manages a per-user instance of couchdb so that applications using it don't have to worry about setting up (or making the user set up) instances of couchdb. There are also standards being written around it, so that there are standard data formats for things like contacts - this allows for interoperability between applications. It also has some replication features built on top of what couchdb itself provides, allowing you to sync your data to a new computer and keep them in sync automatically.

So quick summary: interoperability, replication.

It seems to be pretty poorly documented right now (thanks, Ubuntu!), but I think there are some interesting possibilities for it.
Comment 6 Jesús P Rey (Chuso) 2010-02-13 21:43:01 UTC
It should depend on dev-python/twisted:

$ /usr/lib/desktopcouch/desktopcouch-service
Traceback (most recent call last):
  File "/usr/lib/desktopcouch/desktopcouch-service", line 41, in <module>
    from twisted.internet import glib2reactor
ImportError: No module named twisted.internet

#4: It's a dependecy for incoming versions of net-misc/gwibber
Comment 7 Michael Weber (RETIRED) gentoo-dev 2010-02-15 03:08:16 UTC
(In reply to comment #6)
> It should depend on dev-python/twisted:
> 
> $ /usr/lib/desktopcouch/desktopcouch-service
> Traceback (most recent call last):
>   File "/usr/lib/desktopcouch/desktopcouch-service", line 41, in <module>
>     from twisted.internet import glib2reactor
> ImportError: No module named twisted.internet

this has to be a dependency. I try to get gwibber-2.29.1 working, put it together in http://svn.xmw.de/gentoo-overlay/
Comment 8 Michael Weber (RETIRED) gentoo-dev 2010-02-15 03:29:34 UTC
This is the next dependency - net-dns/avahi. I used to avoid/hate avahi.

io ~ # /usr/lib/desktopcouch/desktopcouch-service                                                                                                                                
/usr/lib64/python2.6/site-packages/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import itertools, md5
Traceback (most recent call last):
  File "/usr/lib/desktopcouch/desktopcouch-service", line 48, in <module>
    from desktopcouch import replication
  File "/usr/lib64/python2.6/site-packages/desktopcouch/replication.py", line 25, in <module>
    from desktopcouch.pair.couchdb_pairing import dbus_io
  File "/usr/lib64/python2.6/site-packages/desktopcouch/pair/couchdb_pairing/dbus_io.py", line 24, in <module>
    import avahi
ImportError: No module named avahi

ok, next is something strange ... https://bugs.launchpad.net/desktopcouch/+bug/462245, i've just added the patch https://bugs.launchpad.net/desktopcouch/+bug/462245/comments/1. I'm running out of time and this starts to anoy me. just want see twitter via gwibber ... at least I got a "non-terminating"  desktopcouch-service.

michael@io ~ % /usr/lib/desktopcouch/desktopcouch-service
/usr/lib64/python2.6/site-packages/twisted/internet/_sslverify.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import itertools, md5
2010-02-15 04:26:13,106 - We seem to be running already, or can't publish our zeroconf advert.  org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files

no ... the avahi daemon does not and will never run on my system.

Comment 9 Ravi Pinjala 2010-02-15 06:38:37 UTC
Created attachment 219735 [details]
dev-db/desktopcouch-0.6.1.ebuild

Added an ebuild for desktopcouch-0.6.1. Has fixed dependencies, as pointed out above (thanks, Jesús and Michael!).
Comment 10 Jesus Rivero (RETIRED) gentoo-dev 2010-03-13 18:35:00 UTC
*desktopcouch-0.6.1 (13 Mar 2010)

  13 Mar 2010; Jesus Rivero <neurogeek@gentoo.org>
  +desktopcouch-0.6.1.ebuild, +files/desktopcouch-setup_hardlinks.patch,
  +metadata.xml:
  Initial commit. Closes bug #290160.

  Ravi, thanks a lot for your work. Keep 'em coming :D

  Best regards,
Comment 11 Michael Weber (RETIRED) gentoo-dev 2010-03-16 13:07:46 UTC
Created attachment 223875 [details]
new upstream release, copy of desktopcouch-0.6.1.ebuild

There's a new release on lauchpad, 
I've added it to http://svn.xmw.de/gentoo-overlay/ ...