Skip to content

Cannot build soledad-client deb package that works with latest platform 0.6

The problem is that with current leap-platform:0.6, the "Pixelated Useragent":https://github.com/pixelated-project/pixelated-user-agent cannot sync soledad if it is installed as debian package (and with it, the depending soledad-client and -common packages)

h1. soledad-client

current platform-0.6 branch:

  • don't depend on python-cchardet anymore (commit c3870a431 from Jul 2nd)
  • drebs-github/feature/5895_store-all-incoming-documents-in-sync-db' NOT included current develop:
  • still depends on python-cchardet, and therefore cannot be installed
  • drebs-github/feature/5895_store-all-incoming-documents-in-sync-db' included

Wenn the latest available soledad-client/soldedad-common debian packages from "deb http://deb.leap.se/experimental wheezy main" are installed, syncing the soledad database from leap-platform:0.6 fails and gets recreated from scratch.

If the python module is installed by pip instead, everything works fine.

See https://github.com/pixelated-project/pixelated-user-agent/issues/172P for details (it contains the debian and python versions used).

It seems some of the functionality might have diverged, and some stuff got refatored, e.g.: The merge commit that exists only in develop and introduces the client/src/leap/soledad/client/secrets.py file:

git log 074848f78bdac78328eb4de7fe72d85830da561d..develop --ancestry-path --merges |tail -6
commit 6ba98af198db2884d1b43da90683bdb399a589c8
Merge: 365fa16 ab7850b
Author: Kali Kaneko 
Date:   Fri Aug 15 13:24:25 2014 -0500
    Merge remote-tracking branch 'drebs-github/feature/5895_store-all-incoming-documents-in-sync-db' into develop

h2. leap-platform 0.6

installs packages from "deb http://deb.leap.se/0.6 wheezy main" this includes:

dpkg -l|grep soledad-server
ii  soledad-server                     0.6.0+0~20141115175203.74+wheezy~1.gbp27c5b2        all          Synchronization of locally encrypted data among devices.

from https://leap.se/code/versions/show/144: "Depends: Soledad (server/common) 0.6.1" But i can't find any 0.6.1 package/tag/branch

(from redmine: created on 2014-12-08, closed on 2014-12-31, relates #6437 (closed))