Summary: | www-apps/redmine-{3.0.7,3.1.3,3.2.0} version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Coacher <itumaykin+gentoo> |
Component: | Current packages | Assignee: | MATSUU Takuto (RETIRED) <matsuu> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexanderyt, Ejdesgaard, gentoo, hauschild.markus, pva, spiderx |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.redmine.org/versions/74 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 491756 | ||
Bug Blocks: | 581514 | ||
Attachments: |
redmine-2.3.4.ebuild
emerge --info '=www-apps/redmine-2.5.1::mrueg' /var/tmp/portage/www-apps/redmine-2.5.1/temp/build.log |
Description
Coacher
2013-11-20 12:18:50 UTC
Created attachment 363640 [details]
redmine-2.3.4.ebuild
Proposed ebuild for redmine-2.3.4.
Bumped needed ruby-openid version to 2.3.0, bump EAPI to 5.
Changes in comments: testsuite now requires selenium-webdriver as stated by Gemfile.
Comment on attachment 363640 [details] redmine-2.3.4.ebuild --- redmine-2.3.2.ebuild 2013-09-02 16:13:43.000000000 +0200 +++ - 2013-11-20 15:20:58.748571805 +0100 @@ -1,8 +1,8 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/redmine/redmine-2.3.2.ebuild,v 1.1 2013/09/02 14:13:43 pva Exp $ +# $Header: $ -EAPI="4" +EAPI=5 USE_RUBY="ruby18 ruby19" inherit eutils depend.apache ruby-ng @@ -34,7 +34,7 @@ dev-ruby/rake ldap? ( >=dev-ruby/ruby-net-ldap-0.3.1 ) openid? ( - >=dev-ruby/ruby-openid-2.1.4 + >=dev-ruby/ruby-openid-2.3.0 >=dev-ruby/rack-openid-0.2.1 ) imagemagick? ( >=dev-ruby/rmagick-2 ) @@ -66,6 +66,7 @@ # >=dev-ruby/mocha-0.13.3 # >=dev-ruby/capybara-2.0.0 # <dev-ruby/nokogiri-1.6.0 +# =dev-ruby/selenium-webdriver-2.35.1 # )" REDMINE_DIR="/var/lib/${PN}" @@ -88,7 +89,8 @@ # remove openid module in case openid is disabled use openid || rm -r lib/plugins/open_id_authentication || die - # remove ldap staff module to avoid #413779 + # remove ldap module in case ldap is disabled + # see Gentoo bug #413779 use ldap || rm app/models/auth_source_ldap.rb || die } Thanks for report. redmine-2.4.2.ebuild is in the tree. Ah, too fast. I'm not using openid and that is why I missed depency. Reopeming for now. Bumped only 2.3.4. You should postpone 2.3.4 bump as well as 2.3.4 already depens on dev-ruby/ruby-openid-2.3.0 which is missing ruby-openid-2.5.0 and rack-openid-1.4.2 is in tree. Please drop ruby18 from further redmine version bumps, as I've dropped it already from {rack,ruby}-openid. Latest releases 2.5.0 (2014-03-02) 2.4.4 (2014-03-02) Updated redmine ebuild: feel free to test. https://git.overlays.gentoo.org/gitweb/?p=user/mrueg.git;a=blob;f=www-apps/redmine/redmine-2.5.1.ebuild;hb=HEAD (In reply to Manuel Rüger from comment #8) > Updated redmine ebuild: > feel free to test. > https://git.overlays.gentoo.org/gitweb/?p=user/mrueg.git;a=blob;f=www-apps/ > redmine/redmine-2.5.1.ebuild;hb=HEAD I tried your ebuild but emerge --config fails: emerge --config "=www-apps/redmine-2.5.1" Configuring pkg... * * Upgrading database. * * Migrating database. rake aborted! cannot load such file -- awesome_nested_set/version /var/lib/redmine/config/initializers/10-patches.rb:206:in `<top (required)>' /var/lib/redmine/config/environment.rb:14:in `<top (required)>' Tasks: TOP => db:migrate => environment (See full trace by running task with --trace) * ERROR: www-apps/redmine-2.5.1::mrueg failed (config phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called pkg_config * environment, line 4109: Called die * The specific snippet of code: * RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die; * * If you need support, post the output of `emerge --info '=www-apps/redmine-2.5.1::mrueg'`, * the complete build log and the output of `emerge -pqv '=www-apps/redmine-2.5.1::mrueg'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =redmine-2.5.1 * The complete build log is located at '/var/tmp/portage/www-apps/redmine-2.5.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/redmine-2.5.1/temp/environment'. * Working directory: '/var/lib/redmine' * S: '/var/tmp/portage/www-apps/redmine-2.5.1/work/redmine-2.5.1' I upgraded directly from www-apps/redmine-2.3.4 Created attachment 375238 [details]
emerge --info '=www-apps/redmine-2.5.1::mrueg'
Created attachment 375240 [details]
/var/tmp/portage/www-apps/redmine-2.5.1/temp/build.log
OK, today dev-ruby/awesome_nested_set has been pulled in. Did you add it to the dependencies? But emerge --config still fails at a later point: emerge --config "=www-apps/redmine-2.5.1" Configuring pkg... * * Upgrading database. * * Migrating database. rake aborted! undefined method `leaf?' for module `CollectiveIdea::Acts::NestedSet::Model' /var/lib/redmine/config/initializers/10-patches.rb:215:in `<module:Model>' /var/lib/redmine/config/initializers/10-patches.rb:211:in `<module:NestedSet>' /var/lib/redmine/config/initializers/10-patches.rb:210:in `<module:Acts>' /var/lib/redmine/config/initializers/10-patches.rb:209:in `<module:CollectiveIdea>' /var/lib/redmine/config/initializers/10-patches.rb:208:in `<top (required)>' /var/lib/redmine/config/environment.rb:14:in `<top (required)>' Tasks: TOP => db:migrate => environment (See full trace by running task with --trace) * ERROR: www-apps/redmine-2.5.1::mrueg failed (config phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called pkg_config * environment, line 4135: Called die * The specific snippet of code: * RAILS_ENV="${RAILS_ENV}" ${RUBY} -S rake db:migrate || die; * * If you need support, post the output of `emerge --info '=www-apps/redmine-2.5.1::mrueg'`, * the complete build log and the output of `emerge -pqv '=www-apps/redmine-2.5.1::mrueg'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/home/lars/.gentoo/java-config-2/current-user-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =redmine-2.5.1 * The complete build log is located at '/var/tmp/portage/www-apps/redmine-2.5.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/redmine-2.5.1/temp/environment'. * Working directory: '/var/lib/redmine' * S: '/var/tmp/portage/www-apps/redmine-2.5.1/work/redmine-2.5.1' Yes I added dev-ruby/awesome_nested_set, but it failed for me, too. I currently use redmine-2.4.5 from my overlay with +openid (otherwise logins fail here). For me following fixes trace: --- /var/lib/redmine/config/initializers/10-patches.rb 2014-05-20 19:27:04.663856926 +0400 +++ /var/lib/redmine/config/initializers/._cfg0000_10-patches.rb 2014-05-21 08:45:53.813081627 +0400 @@ -203,7 +203,6 @@ end end +require 'awesome_nested_set' require 'awesome_nested_set/version' module CollectiveIdea Well, I've added 2.4.5 to the tree. As for 2.5.1 we need to investigate how to keep Gemfile and still be able install other versions of redmine. Currently versions in Gemfile are too strict - I think upstream puts only tested versions there. Probably we need to support run tests and make our own version of Gemfile. Then we'll have bug #483502 fixed also, I hope. 2.4.6 and 2.5.2 have been released. 2.4.6 is available in my overlay. *redmine-2.4.6 (05 Aug 2014) 05 Aug 2014; Manuel Rüger <mrueg@gentoo.org> +redmine-2.4.6.ebuild: NMU. Version bump. See bug #491758. Add ruby20 support. Fixes bug #484484. I've got a working version of 2.6.0 available in my overlay. Feel free to push it into the tree. Request for an "official" version bumb. The current portage only has 2.4.6. Redmine.org is reporting 2.6.3 and 3.0.1 as the current levels. Redmine 2.6.5 and Redmine 3.0.3 is available in my overlay [1]. I tested it with the sqlite-backend, if you want postgresql you'll need dev-ruby/pg-0.18.2. Feel free to give it a try. :) [1] https://github.com/mrueg/mrueg-overlay/blob/master/www-apps/redmine/redmine-3.0.3.ebuild (In reply to Manuel Rüger from comment #20) > Redmine 2.6.5 and Redmine 3.0.3 is available in my overlay [1]. > I tested it with the sqlite-backend, if you want postgresql you'll need > dev-ruby/pg-0.18.2. > Feel free to give it a try. :) > > [1] > https://github.com/mrueg/mrueg-overlay/blob/master/www-apps/redmine/redmine- > 3.0.3.ebuild Just wanted to say that the ebuild is working fine for me. when will this be added to offical portage, thanks? Versions 2.6.7, 3.0.5 and 3.1.1 have been released. I see that quite a few users are interested in recent redmine versions. Sadly Gentoo redmine maintainers are inactive on this matter. Manuel Rüger kindly supports redmine in his own overlay, but he is not interested in a full scale maintainership of this package in the main tree. There is another way to resolve this issue: proxy maintainership [0]. If anyone is wishing to have recent redmine versions in the main tree and is ready to spend some time maintaining it, please contact Gentoo proxy-maint team. See the link below for more info about how to do this. Considering a low number of open bugs against redmine, maintaining it would not be too much of a burden. Also Manuel is a member of Gentoo proxy-maint team and I am sure he will share his redmine maintaining experience with interested users. [0]: https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers commit 2ebdfb106d29fd7c1bade5a4668b0570e7200cf5 Author: Manuel Rüger <mrueg@gentoo.org> Date: Sun Jan 17 17:44:05 2016 +0100 www-apps/redmine: Version bump to 2.6.9 Gentoo-Bug: 491758 Package-Manager: portage-2.2.26 Rails 3.2 will be removed once Rails 5 is released, but the only version of redmine currently depends on it. commit 627ec9e6f42ec32034e49eb2f50602e86d392ca4 Author: Manuel Rüger <mrueg@gentoo.org> Date: Fri Apr 29 21:53:56 2016 +0200 Version bump to 3.2.1 Package-Manager: portage-2.2.28 Eventually bumped to 3.2.1 |