Loomio

Debian Packaging

PP
Pirate Praveen Public Seen by 255

We'll update the progress of packaging diaspora for debian here from time to time.

The main tracking page is Diaspora ITP on debian bug tracker http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597093

Current documentation: http://wiki.debian.org/Diaspora/Packaging

Progress Bar: http://vps.aneesh.nl/diaspora.html

PP

Pirate Praveen Thu 18 Oct 2012

There is some interest from students of College of Engineering Pune, India

https://groups.google.com/forum/?fromgroups=#!topic/cofsug/nN9uC4NUbCw

We'll be meeting this Friday to take it further.

JR

Jason Robinson Thu 18 Oct 2012

Awesome! Keep us up to date or even better, once you get going invite the people here :)

ST

Sean Tilley Thu 18 Oct 2012

Lucas Nussbaum from the Debian project has put a lot of work into improving the state of Ruby/Rails packages in Debian, perhaps we could ask him for some advice on common problems that he's had to deal with?

PP

Pirate Praveen Thu 18 Oct 2012

Sean, I have worked with Lucas in debian ruby team. I have been discussion the issues in the ruby team and we will continue to work with them. Things are much better for ruby in debian thanks to work done by Lucas, Antonio etc.

I already co-maintain about 13 ruby gems/libraries in debian http://qa.debian.org/developer.php?login=pravi.a@gmail.com

JH

Jonne Haß Thu 18 Oct 2012

Sorry but I have to repeat myself: You'll never succeed for getting all dependencies in the right versions into Debian. Even if you do for one release you'll basically have to start over with the next one. Not to mention the conflict hell if you want to install another ruby project alongside. Really consider just building a bundler cache in vendor/ during package compilation.

PP

Pirate Praveen Thu 18 Oct 2012

Jonne, I agree it is going to be very difficult (even impossible as you say) to get all dependencies to debian. But we will try all intermediate methods like custom repos (aka ppa) and even the bundler option you are suggesting. May be we will try this as the first option. Thanks.

PP

Pirate Praveen Thu 18 Oct 2012

Resumed my gem packaging marathon with a new gem today https://joindiaspora.com/posts/2029984

PP

Pirate Praveen Mon 22 Oct 2012

There will be live packaging sessions everyday at 10pm IST or 8.30am PST ot 4.30pm GMT at the irc channel mentioned below. Join in, learn packaging and contribute to diaspora packaging effort.

IRC Channel: #debian-diaspora on irc.oftc.net or via web at http://mibbit.com/?channel=%2523debian-diaspora&server=irc.oftc.net

See dashboard for current status http://piratepad.net/tu0H1eU2vH

We already covered two days with 5 people learning packaging. Two of them already completed one package.

ST

Sean Tilley Mon 22 Oct 2012

Great to hear, Praveen. :)

JR

Jason Robinson Mon 22 Oct 2012

Awesome Praveen! :)

PP

Pirate Praveen Wed 24 Oct 2012

We are tying make an app to track progress of this effort. See more info at http://piratepad.ca/TlEP1VOwGF

If anyone interest to help out jump in, we need coding help.

PP

Pirate Praveen Wed 21 Nov 2012

Cedric has created this dependency graph http://people.debian.org/~boutil/diaspora/deps.pdf You can visually track the progress now - we need to make all the circles green!

PP

Pirate Praveen Wed 21 Nov 2012

We had to spend some extra effort working on an obsolete gem :( Can someone respond to this https://github.com/diaspora/diaspora/issues/3735 ? I requested the removal of this package on the same day it entered!

ST

Sean Tilley Thu 22 Nov 2012

Capistrano-Ext has been dropped, should be good now. :)

ST

Sean Tilley Thu 4 Apr 2013

Awesome. I'd love to get the existing Debian packages copied over to our Ubuntu PPA as well. :)

JR

Jason Robinson Thu 4 Apr 2013

Well personally I'd be happier just doing it the RVM way. IMHO forcing users to install all the Ruby gems to the system is a bit restrictive and to make installation easy for anyone we can pull the gems under the users RVM installation easily without having to touch the system Ruby.

JR

Jason Robinson Thu 4 Apr 2013

(previous comment about Ubuntu PPA - Debian packaging team has chosen their path :))

JH

Jonne Haß Thu 4 Apr 2013

bundler makes it easy install the gems using the system ruby without actually installing them system wide too, no need for RVM ;)

JR

Jason Robinson Thu 4 Apr 2013

Yeah, that is an option too. But packaging all the gems for Ubuntu is imho a very slow process.

But of course the packaging of the gems effort is absolutely fabulous anyway - I'm sure the Debian community appreciates. Great work :)

PP

Pirate Praveen Mon 8 Apr 2013

@jasonrobinson once all gems are packaged from debian, you'll just need to pull the source and rebuild it to make it work on Ubuntu (you can just automate it too).

JR

Jason Robinson Mon 8 Apr 2013

@praveenarimbrathodiyil yes that is true, but the problem is that gems change often so in order to have a release running using native gems the packaging effort would have to be always up to date very soon after the gems are bumped in Diaspora*. So personally I see that kind of risky and thus would prefer local installations either via bundler or by using rvm. But let's see how the debian gem porting progresses :) No time for the ubuntu packaging personally atm, maybe closer to summer..

PP

Pirate Praveen Mon 8 Apr 2013

@jasonrobinson yes, we do expect bumps on the way thanks to the volatile nature of gems, but we are determined to fix them when we encounter them.

PP

Pirate Praveen Fri 31 May 2013

We have covered/packaged 75% of gems required for diaspora. The remaining ones are a bit tougher, many are using rails for tests (they create some dummy rails project for tests and tests can't find config/database.yml) and very strongly tied to bundler (we remove bundler and rubygems and depend on apt to provide the correct dependencies). If anyone with rails knowledge can help us untangle the code from bundler - Bundler.require should be converted to require 'foo' in helper.rb, that would be awesome. Sam Ruby has already offered to help, but we are stuck with many gems so the more rails folks out these who can help, the better.

PP

Pirate Praveen Sat 5 Apr 2014

We were not actively packaging for some time and we had fallen behind on percentage. Now we are back to 75% again - http://people.debian.org/~praveen/diasbar/

PP

Pirate Praveen Sun 23 Nov 2014

Now and early version of diaspora package is available. You can follow the steps at https://wiki.debian.org/Diaspora and help test the package. Specifically I need help with keeping the versions in sync between diaspora and debian. Some gems already have newer versions in debian and it would be great if some of you here can help test federation when updating some important gems like rack-protection and roxml. There is also major version bumps for gems like twitter and omniauth-facebook which needs some testing help.

PP

Pirate Praveen Fri 28 Aug 2015

Diaspora package is available in debian experimental and diaspora-installer (which uses rubygems for dependencies) is available in unstable

http://tracker.debian.org/diaspora
http://tracker.debian.org/diaspora-installer

Need help in fixing one bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796979