Translation(s): none


Diaspora

This page will be used for user documentation.

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.

Diaspora Package Testing

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

Setup Debian Unstable environment

You have to setup a Debian Unstable system (you could setup it as a virtual machine if you want). You'll have to install Debian Testing first from debian.org and then upgrade to unstable.

You can also use pbuilder to setup a Debian Unstable environment

# pbuilder create
# pbuilder login

Enable diaspora unreleased repo and install diaspora

Enable diaspora unreleased repo

then install diaspora

# apt-get remove jbuilder
# apt-get install ruby-eco-source diaspora

This will create necessary database initialization and configuration using postgresql.

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. compass has an unnecessary dependency on rb-fsevent

TODO

  1. Get packages in NEW to archive. Send reminders to ftp masters.
  2. Test diaspora installer package in jessie

  3. Create a tracker like gnome status or update current progressbar to show out dated or newer versions in debian.

  4. Handle diaspora version updates (migrations, config file etc)

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