Differences between revisions 100 and 101
Revision 100 as of 2015-10-21 09:10:47
Size: 4199
Editor: Praveen A
Comment: task tracker added
Revision 101 as of 2015-10-31 12:59:18
Size: 4418
Editor: ?Vaibhav Kurhe
Comment: Added brief info about the issue
Deletions are marked like this. Additions are marked like this.
Line 93: Line 93:
    There was an issue installing "diaspora-common". It was due to postgresql.
    It can be solved by first purging the postgresql using --> {apt-get purge postgresql} and then try installing the "diaspora-common".

Translation(s): none


Diaspora

/!\ This is very early version of the diaspora package and not recommended for production yet.

diaspora package is available in debian experimental.

# apt-get -t experimental install diaspora

This will create necessary database initialization and configuration using postgresql.

Diaspora Installer Package

This will install gems via rubygems.org. This is a short term solution until we complete the diaspora package.

Jessie

Enable diaspora jessie repo

Import archive signing key

The archive is signed with Praveen's OpenPGP key:

2A79 74AE 2FC1 52D7 7867  DA4A CE1F 9C67 4512 C22A

Import the corresponding key to your system:

# gpg --recv-keys --keyserver pool.sks-keyservers.net CE1F9C674512C22A
# gpg --export --armor CE1F9C674512C22A | apt-key add -

If you have difficulty getting the key via keyserver, you can get it via wget

# wget https://people.debian.org/~praveen/gnukhata/praveen.key.asc
# apt-key add praveen.key.asc

Update your repository list

Once you import the gpg key, add the corresponding repository to sources.list and update the packages list:

# apt-get install apt-transport-https ca-certificates
# echo deb https://people.debian.org/~praveen/diaspora-jessie jessie main contrib >>/etc/apt/sources.list
# apt-get update

Install

then install diaspora-installer

# apt-get install diaspora-installer

We hope to be able to provide diaspora-installer via jessie-backports when the new version clears NEW and migrates to testing.

Sid/Unstable

If you have contrib section in your sources list, you can just run

# apt-get install diaspora-installer

The source code of diaspora-installer package could be found here.

Re installing the package

If you want to reinstall the package, you have to purge, drop the database and remove the dbconfig-common configuration for diaspora:

# apt-get purge diaspora-common
# rm /etc/dbconfig-common/diaspora*
# rm -rf /etc/diaspora*
# rm /etc/nginx/sites-available/pod.pxq.in 
# rm /etc/nginx/sites-enabled/pod.pxq.in
# sudo -u postgres dropdb diaspora_production
# rm /var/cache/apt/archives/diaspora*

There is more work to do.

Issues

  1. diaspora-common fails in piuparts

    • There was an issue installing "diaspora-common". It was due to postgresql.

      It can be solved by first purging the postgresql using --> {apt-get purge postgresql} and then try installing the "diaspora-common".

TODO

  1. Handle post install configurations (enable statistics, enable email, setup services like twitter, tumblr and facebook).
  2. Run tests during build
  3. Add autopkgtest (just run bundle install --local and bundle exec rake assets:precompile)
  4. Team's task tracker

Policy for dependency updates

Help keep the gem versions in sync. If deb version of a library is older than required by diaspora (run 'bundle install --local' on a develop branch checkout of diaspora upstream), update the deb version. If debian already has a new version of a library, update the corresponding gem version in diaspora.

  1. tiny version change, patch gemfile
  2. minor version change, test compatibility
  3. major version change, test compatibility and embed gem if needed

Coordinate with upstream for major version updates.

You can find the packaging work at http://anonscm.debian.org/cgit/pkg-ruby-extras/diaspora.git

See below for the team effort to package the dependencies of Diaspora and Diaspora itself for Debian.

Diaspora packaging

Enabling Chat