Re: help with the diaspora package
On Wednesday 06 May 2015 10:25 PM, Pirate Praveen wrote: > Since, I already uploaded diaspora-gems-compat, I'll keep it like that > for now. Since it is still in NEW I moved it to diaspora and asked ftp masters to reject it. signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Wednesday 06 May 2015 09:55 PM, Antonio Terceiro wrote: >> I will create a diaspora-gems-compat package to install the offending >> gems. That way I don't have to fiddle with diaspora source much and it >> makes things flexible. > > Adding packages to the Debian archive to then request them to be removed > s short while later imposes an overhead on other people, why don't you > just embed those on the diaspora package itself for now? Since, I already uploaded diaspora-gems-compat, I'll keep it like that for now. > In your place, I would just ship them under debian/ in the source > package and install to the right location. Next time any incompatibility is noticed, I will follow this method. > When you are able to drop them, just remove them from debian/ and remove > their installation bits ... > yes. signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Wed, May 06, 2015 at 11:39:38AM +0530, Pirate Praveen wrote: > On Monday 04 May 2015 10:59 PM, Antonio Terceiro wrote: > > what exacty did you put in vendor/gems? > > I put the Gemfile directly without extracting. > > > To be clear, you need (in Gemfile) > > > > gem "bootstrap-sass", path: 'vendor/gems/bootstrap-sass' > > That was not working, so I thought of just giving vendor/gems. Even > though bundler could find it sprockets could not. > > > then you need to have a copy of bootstrap-sass, at the version it > > expects, extracted into vendor/gems/bootstrap-sass/ > > After extracting the contents, it is working now. > > > the patch I was able to in the repository modifies the Gemfile but does > > not put anything else in place ... > > I will create a diaspora-gems-compat package to install the offending > gems. That way I don't have to fiddle with diaspora source much and it > makes things flexible. Adding packages to the Debian archive to then request them to be removed s short while later imposes an overhead on other people, why don't you just embed those on the diaspora package itself for now? In your place, I would just ship them under debian/ in the source package and install to the right location. When you are able to drop them, just remove them from debian/ and remove their installation bits ... -- Antonio Terceiro signature.asc Description: Digital signature
Re: help with the diaspora package
On Monday 04 May 2015 10:59 PM, Antonio Terceiro wrote: > what exacty did you put in vendor/gems? I put the Gemfile directly without extracting. > To be clear, you need (in Gemfile) > > gem "bootstrap-sass", path: 'vendor/gems/bootstrap-sass' That was not working, so I thought of just giving vendor/gems. Even though bundler could find it sprockets could not. > then you need to have a copy of bootstrap-sass, at the version it > expects, extracted into vendor/gems/bootstrap-sass/ After extracting the contents, it is working now. > the patch I was able to in the repository modifies the Gemfile but does > not put anything else in place ... I will create a diaspora-gems-compat package to install the offending gems. That way I don't have to fiddle with diaspora source much and it makes things flexible. signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Mon, May 04, 2015 at 11:37:22AM +0530, Pirate Praveen wrote: > On Saturday 02 May 2015 11:49 AM, Pirate Praveen wrote: > > bundle exec succeeds, but sprockets can't find the assets (bundle exec > > rake assets:precompile fails) > > > > couldn't find file 'bootstrap-tooltip' > > (in /usr/share/diaspora/app/assets/javascripts/main.js:43) > > Can I upload ruby-bootstrap2 until we can solve this issue? Since > 0.5.0.0 is released I want more people to be able to install it and > test. I want to get it into jessie-backports eventually. what exacty did you put in vendor/gems? To be clear, you need (in Gemfile) gem "bootstrap-sass", path: 'vendor/gems/bootstrap-sass' then you need to have a copy of bootstrap-sass, at the version it expects, extracted into vendor/gems/bootstrap-sass/ the patch I was able to in the repository modifies the Gemfile but does not put anything else in place ... -- Antonio Terceiro signature.asc Description: Digital signature
Re: help with the diaspora package
On Saturday 02 May 2015 11:49 AM, Pirate Praveen wrote: > bundle exec succeeds, but sprockets can't find the assets (bundle exec > rake assets:precompile fails) > > couldn't find file 'bootstrap-tooltip' > (in /usr/share/diaspora/app/assets/javascripts/main.js:43) > Can I upload ruby-bootstrap2 until we can solve this issue? Since 0.5.0.0 is released I want more people to be able to install it and test. I want to get it into jessie-backports eventually. signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Saturday 02 May 2015 11:49 AM, Pirate Praveen wrote: > Note: you can build diaspora from our git repo and copy the gem file > Packages in NEW are available from my people.debian.org repo, and a few packages are still needed from experimental, those are listed at https://wiki.debian.org/Diaspora/ signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Thursday 16 April 2015 12:21 AM, Antonio Terceiro wrote: > On Wed, Apr 15, 2015 at 11:53:46PM +0530, Pirate Praveen wrote: >> On Wednesday 15 April 2015 05:31 PM, Antonio Terceiro wrote: >>> Please don't, these versioned packages are a mess. you can try embedding >>> the old version in the diaspora package in the meantime. >> >> Can I add the gems to debian/compat and use gem install --local? Is >> there a better way of doing it. > > debian/compat? I meant compatibility, but overlooked the already defined debian/compat (in fedora there used to -compat packages that provided older glibc versions) > I would do this by changing the Gemfile to use your private copy: > > gem 'foo', path: 'vendor/gems/foo' # or whatever path you want > > then you install your private copy of bootstrap-sass to > $APPROOT/vendor/gems/foo > bundle exec succeeds, but sprockets can't find the assets (bundle exec rake assets:precompile fails) couldn't find file 'bootstrap-tooltip' (in /usr/share/diaspora/app/assets/javascripts/main.js:43) I just copied the gem file to /usr/share/diaspora/vendor/gems directory. I will create a diaspora-gems package that will install the incompatible gems this way. Note: you can build diaspora from our git repo and copy the gem file signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Wed, Apr 15, 2015 at 11:53:46PM +0530, Pirate Praveen wrote: > On Wednesday 15 April 2015 05:31 PM, Antonio Terceiro wrote: > > Please don't, these versioned packages are a mess. you can try embedding > > the old version in the diaspora package in the meantime. > > Can I add the gems to debian/compat and use gem install --local? Is > there a better way of doing it. debian/compat? I would do this by changing the Gemfile to use your private copy: gem 'foo', path: 'vendor/gems/foo' # or whatever path you want then you install your private copy of bootstrap-sass to $APPROOT/vendor/gems/foo -- Antonio Terceiro signature.asc Description: Digital signature
Re: help with the diaspora package
I also need help with nginx configuration. The configuration file was working fine with 0.4.x versions but with 0.5.x series the top bar is missing all entries. I think we need to adjust the asset paths properly. I'll be travelling next few days and will be able to look into it only after that. If any of you can check this, it would be awesome. After creating an account and loggin in, the top bar is empty (no menus, no search box). I think its nginx issue because diaspora-installer also has the same issue. signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Wednesday 15 April 2015 05:31 PM, Antonio Terceiro wrote: > Please don't, these versioned packages are a mess. you can try embedding > the old version in the diaspora package in the meantime. Can I add the gems to debian/compat and use gem install --local? Is there a better way of doing it. signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Wednesday 15 April 2015 05:30 PM, Antonio Terceiro wrote: >> Can anyone who is good with rails help fix this? > > Devise is a rails engine; the Debian package is missing everything and > therefore completely broken. > Thanks! That was indeed the problem. This packaging work has started at the very early stages of diaspora packaging and somehow overlooked this aspect. Now diaspora is completely apt-gettable and go to debian main once I fix all lintian warnings and the dependencies clear NEW. signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Mon, Apr 13, 2015 at 05:12:33PM +0530, Pirate Praveen wrote: > On Sunday 12 April 2015 09:48 PM, Pirate Praveen wrote: > > On Sunday 12 April 2015 07:31 PM, Pirate Praveen wrote: > >> Now there is a compatibility issue with ruby-bootstrap-sass. > > The last gem used 'as-is' is devise, every other gem dependency is > converted to deb. > > When I use ruby-devise package installed as deb, diaspora fails to start > with this error message. > > /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:478:in > `load_missing_constant': Circular dependency detected while autoloading > constant RegistrationsController (RuntimeError) > > If I'm using devise as a gem (gem install devise), then diaspora can > start normally. > > Can anyone who is good with rails help fix this? Devise is a rails engine; the Debian package is missing everything and therefore completely broken. -- Antonio Terceiro signature.asc Description: Digital signature
Re: help with the diaspora package
On Sun, Apr 12, 2015 at 09:48:06PM +0530, Pirate Praveen wrote: > 2. Can I upload ruby-bootstrap-sass2 separately until they port to > bootstrap 3? Please don't, these versioned packages are a mess. you can try embedding the old version in the diaspora package in the meantime. -- Antonio Terceiro signature.asc Description: Digital signature
Re: help with the diaspora package
On Monday 13 April 2015 05:12 PM, Pirate Praveen wrote: > On Sunday 12 April 2015 09:48 PM, Pirate Praveen wrote: >> On Sunday 12 April 2015 07:31 PM, Pirate Praveen wrote: >>> Now there is a compatibility issue with ruby-bootstrap-sass. > > The last gem used 'as-is' is devise, every other gem dependency is > converted to deb. > > When I use ruby-devise package installed as deb, diaspora fails to start > with this error message. > > /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:478:in > `load_missing_constant': Circular dependency detected while autoloading > constant RegistrationsController (RuntimeError) full trace of the error message http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782510 > If I'm using devise as a gem (gem install devise), then diaspora can > start normally. > > Can anyone who is good with rails help fix this? > > signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Sunday 12 April 2015 09:48 PM, Pirate Praveen wrote: > On Sunday 12 April 2015 07:31 PM, Pirate Praveen wrote: >> Now there is a compatibility issue with ruby-bootstrap-sass. The last gem used 'as-is' is devise, every other gem dependency is converted to deb. When I use ruby-devise package installed as deb, diaspora fails to start with this error message. /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:478:in `load_missing_constant': Circular dependency detected while autoloading constant RegistrationsController (RuntimeError) If I'm using devise as a gem (gem install devise), then diaspora can start normally. Can anyone who is good with rails help fix this? signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Sunday 12 April 2015 07:31 PM, Pirate Praveen wrote: > Now there is a compatibility issue with ruby-bootstrap-sass. > > Sass::SyntaxError: File to import not found or unreadable: > bootstrap-responsive. > Load paths: > > Diaspora expects version 2.3.2.2 but we have already moved to 3.3.4.1. I > added one patch to fix js paths. For stylesheets, I can't find a direct > correspondence with the error message. Can anyone help? For javascript > errors, I just had to change bootstrap-* to bootstrap/* > It seems porting to bootstrap 3 is not going to be easy, but being planned https://poddery.com/posts/1737627 That leaves us with two options, 1. Is there anyone here who can help port diaspora to bootstrap 3? 2. Can I upload ruby-bootstrap-sass2 separately until they port to bootstrap 3? Thanks Praveen signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Sunday 12 April 2015 01:44 AM, Pirate Praveen wrote: > On Saturday 11 April 2015 09:20 PM, Christian Hofstaedtler wrote: >> Googling the message suggests you need at least Rails 4.1.9. (sid >> has 4.1.8.) >> > > adding require 'foreigner' to config/application.rb fixes it. > > > Now there is a compatibility issue with ruby-bootstrap-sass. Sass::SyntaxError: File to import not found or unreadable: bootstrap-responsive. Load paths: Diaspora expects version 2.3.2.2 but we have already moved to 3.3.4.1. I added one patch to fix js paths. For stylesheets, I can't find a direct correspondence with the error message. Can anyone help? For javascript errors, I just had to change bootstrap-* to bootstrap/* signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
On Saturday 11 April 2015 09:20 PM, Christian Hofstaedtler wrote: > Googling the message suggests you need at least Rails 4.1.9. (sid > has 4.1.8.) > adding require 'foreigner' to config/application.rb fixes it. signature.asc Description: OpenPGP digital signature
Re: help with the diaspora package
* Pirate Praveen [150411 17:42]: > > > Christian Hofstaedtler എഴുതി: > > Hey, > > > > just some comments, haven't found time to test the package. > > > > * Pirate Praveen [150411 16:11]:>> On my local > > system I got > >> > >> undefined method `add_foreign_key' for > >> #> That probably means you need to > >> test against a MySQL or PostgreSQL > > DB, not SQLite3. > > It is PostgreSQL only. The same was working with an earlier git snapshot. > They have moved to rails 4.2 and we are still on 4.1 I think that could be an > issue. This method is part of foreigner library and I don't see it being > imported anywhere. May be the new activerecord require it. Googling the message suggests you need at least Rails 4.1.9. (sid has 4.1.8.) -- ,''`. Christian Hofstaedtler : :' : Debian Developer `. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03 `- pgpXcI_0iSxg3.pgp Description: PGP signature
Re: help with the diaspora package
Christian Hofstaedtler എഴുതി: > Hey, > > just some comments, haven't found time to test the package. > > * Pirate Praveen [150411 16:11]:>> On my local > system I got >> >> undefined method `add_foreign_key' for >> #> That probably means you need to >> test against a MySQL or PostgreSQL > DB, not SQLite3. It is PostgreSQL only. The same was working with an earlier git snapshot. They have moved to rails 4.2 and we are still on 4.1 I think that could be an issue. This method is part of foreigner library and I don't see it being imported anywhere. May be the new activerecord require it. >> and when I retired it on another machine I got >> >> sh: 1: bin/rake: not found >> rake aborted! >> LoadError: cannot load such file -- >> /usr/share/diaspora/config/initializers/secret_token.rb >> /var/lib/gems/2.1.0/gems/devise-3.4.1/lib/devise.rb:293:in `setup'> Missing >> configuration/postinst step?> I may have missed a step. In earlier versions this was done differently. -- > ,''`. Christian Hofstaedtler > : :' : Debian Developer > `. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03 > `- -- To UNSUBSCRIBE, email to debian-ruby-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1428766925744.8b07b8ee842f7@mozgaia
Re: help with the diaspora package
Hey, just some comments, haven't found time to test the package. * Pirate Praveen [150411 16:11]: > On my local system I got > > undefined method `add_foreign_key' for > # That probably means you need to test against a MySQL or PostgreSQL DB, not SQLite3. > and when I retired it on another machine I got > > sh: 1: bin/rake: not found > rake aborted! > LoadError: cannot load such file -- > /usr/share/diaspora/config/initializers/secret_token.rb > /var/lib/gems/2.1.0/gems/devise-3.4.1/lib/devise.rb:293:in `setup' Missing configuration/postinst step? -- ,''`. Christian Hofstaedtler : :' : Debian Developer `. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03 `- pgpDzQ5cpGliu.pgp Description: PGP signature