Differences between revisions 111 and 112
Revision 111 as of 2020-09-20 10:18:50
Size: 3877
Editor: Praveen A
Comment: need autoprefixer-rails from rubygems.org
Revision 112 as of 2020-09-20 10:20:44
Size: 3942
Editor: Praveen A
Comment: recommend to update to buster-backports
Deletions are marked like this. Additions are marked like this.
Line 63: Line 63:
Buster has diaspora version 0.7.6.0 Buster has diaspora version 0.7.6.0. It is recommended to update to the version in Buster Backports.

Translation(s): none


Diaspora

This is very early version of the diaspora package and not recommended for production yet. See Diaspora#Diaspora_Installer_Package for installing diaspora in production.

This will create necessary database initialization and configuration using postgresql.

Buster Fasttrack/personal repo

Add the following repo

deb http://deb.debian.org/debian buster main
deb http://security.debian.org/ buster/updates main
deb http://deb.debian.org/debian buster-backports main
deb https://people.debian.org/~praveen/diaspora-buster buster-backports main contrib
deb https://people.debian.org/~praveen/diaspora-buster buster-fasttrack main contrib

Add repo signing key as trusted key

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

Currently, libjs-autoprefixer package in the archive has a broken build, see 970550 for details. As a workaround, install autoprefixer-rails gem from rubygems.org

sudo gem install -v 8.6.5 autoprefixer-rails

apt -t buster-backports install diaspora diaspora-common/buster-fasttrack ruby-redis/buster

Unstable

diaspora package is available in debian unstable, but it is broken (diaspora needs rails 5 and unstable has rails 6).

# apt-get install diaspora

Diaspora Installer Package

This will install gems via rubygems.org (hence it is in contrib). This is production ready and powers pods like poddery.com and diasp.in

Buster Backports (Recommended)

Buster Backports has diaspora 0.7.14.

# apt-get -t buster-backports install diaspora-installer

Buster

Buster has diaspora version 0.7.6.0. It is recommended to update to the version in Buster Backports.

# apt-get install diaspora-installer

Use `deb http://deb.debian.org/debian/ buster-proposed-updates main ` in your sources list till the version in stable is updated with some bug fixes. See 969912

Sid/Unstable

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

# apt-get install diaspora-installer[-mysql]

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

TODO

  1. Add autopkgtest (see gitlab for how to do it)
  2. 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 and testing

Enabling Chat