Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491758 - www-apps/redmine-{3.0.7,3.1.3,3.2.0} version bump
Summary: www-apps/redmine-{3.0.7,3.1.3,3.2.0} version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: MATSUU Takuto (RETIRED)
URL: http://www.redmine.org/versions/74
Whiteboard:
Keywords: PATCH
Depends on: 491756
Blocks: 581514
  Show dependency tree
 
Reported: 2013-11-20 12:18 UTC by Coacher
Modified: 2016-04-29 20:00 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
redmine-2.3.4.ebuild (redmine-2.3.4.ebuild,6.35 KB, text/plain)
2013-11-20 12:25 UTC, Coacher
Details
emerge --info '=www-apps/redmine-2.5.1::mrueg' (emerge-info,11.98 KB, text/plain)
2014-04-18 19:17 UTC, Lars
Details
/var/tmp/portage/www-apps/redmine-2.5.1/temp/build.log (build.log,1.53 KB, text/plain)
2014-04-18 19:18 UTC, Lars
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2013-11-20 12:18:50 UTC
Hello.

A couple of days ago redmine devs released 2.3.4 version. It is mostly fixes only, but please note that the required ruby-openid version was bumped to ~>2.3.0 (see [0]).

Please bump.

P.S. redmine-2.4.0 was also released at the same time, but I haven't tested it yet.

[0]: http://www.redmine.org/issues/14919


Reproducible: Always
Comment 1 Coacher 2013-11-20 12:25: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 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-20 14:21:20 UTC
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
 }
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2014-01-10 12:11:43 UTC
Thanks for report. redmine-2.4.2.ebuild is in the tree.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2014-01-10 12:20:23 UTC
Ah, too fast. I'm not using openid and that is why I missed depency. Reopeming for now. Bumped only 2.3.4.
Comment 5 Coacher 2014-01-10 12:21:50 UTC
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
Comment 6 Manuel Rüger (RETIRED) gentoo-dev 2014-02-16 15:52:47 UTC
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.
Comment 7 Manuel Rüger (RETIRED) gentoo-dev 2014-03-06 20:47:48 UTC
Latest releases
2.5.0 (2014-03-02)
2.4.4 (2014-03-02)
Comment 8 Manuel Rüger (RETIRED) gentoo-dev 2014-03-31 02:41:05 UTC
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
Comment 9 Lars 2014-04-18 17:32:58 UTC
(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
Comment 10 Lars 2014-04-18 19:17:23 UTC
Created attachment 375238 [details]
emerge --info '=www-apps/redmine-2.5.1::mrueg'
Comment 11 Lars 2014-04-18 19:18:47 UTC
Created attachment 375240 [details]
/var/tmp/portage/www-apps/redmine-2.5.1/temp/build.log
Comment 12 Lars 2014-04-19 08:11:30 UTC
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'
Comment 13 Manuel Rüger (RETIRED) gentoo-dev 2014-05-19 13:19:08 UTC
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).
Comment 14 Peter Volkov (RETIRED) gentoo-dev 2014-05-27 00:23:28 UTC
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
Comment 15 Peter Volkov (RETIRED) gentoo-dev 2014-06-01 18:14:08 UTC
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.
Comment 16 Manuel Rüger (RETIRED) gentoo-dev 2014-07-15 10:14:50 UTC
2.4.6 and 2.5.2 have been released. 2.4.6 is available in my overlay.
Comment 17 Manuel Rüger (RETIRED) gentoo-dev 2014-08-05 23:05:46 UTC
*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.
Comment 18 Manuel Rüger (RETIRED) gentoo-dev 2014-10-24 17:56:36 UTC
I've got a working version of 2.6.0 available in my overlay. Feel free to push it into the tree.
Comment 19 Cheyenne Wills 2015-04-06 16:50:19 UTC
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.
Comment 20 Manuel Rüger (RETIRED) gentoo-dev 2015-06-02 01:27:26 UTC
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
Comment 21 Stefan Langenmaier 2015-06-12 20:52:07 UTC
(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.
Comment 22 Zhixu Liu 2015-08-07 04:18:07 UTC
when will this be added to offical portage, thanks?
Comment 23 Markus Hauschild 2015-10-12 06:57:07 UTC
Versions 2.6.7, 3.0.5 and 3.1.1 have been released.
Comment 24 Coacher 2015-10-13 09:37:35 UTC
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
Comment 25 Manuel Rüger (RETIRED) gentoo-dev 2016-01-17 16:45:11 UTC
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
Comment 26 Hans de Graaff gentoo-dev Security 2016-04-29 07:21:36 UTC
Rails 3.2 will be removed once Rails 5 is released, but the only version of redmine currently depends on it.
Comment 27 Manuel Rüger (RETIRED) gentoo-dev 2016-04-29 20:00:07 UTC
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