Summary: | www/redmine: Update to 4.0.1 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | cedric <cedric> | ||||||
Component: | Individual Port(s) | Assignee: | Matthias Fechner <mfechner> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Many People | CC: | alexander, crest, evfbsd, koobs, mfechner, mikael | ||||||
Priority: | --- | Keywords: | needs-patch | ||||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(ruby) |
||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
URL: | https://www.redmine.org/news/119 | ||||||||
Attachments: |
|
Description
cedric
2018-12-14 09:16:52 UTC
This presumably also affects all redmine plugins in ports (www/redmine-*), which as such, appears to be a rather and relatively extensive update, possibly the main reason why it hasn't been updated to 4.x yet. While we are not against 'requests to update' in general or specifically being created in Bugzilla, this may well be a good candidate for the Wiki's WantedPort page [1] @Cedric Would having Redmine 4 added there be a sufficient resolution to this request, rather than (potentially, but likely) have this issue languish without progress? We can certainly keep this issue open for a certain period before closing it. [1] https://wiki.freebsd.org/WantedPorts I'm in the process to install many redmine/freebsd instances both internally and at customer sites. And I would of course like to install an up-to-date version. I don't need plugins and I could compile 4.0.0 manually I guess, but then I need rails 5.2.2, but I see the port rubygem-rails5 (do I need it?) is at 5.1.6.1. @koobs: If you think having Redmine 4 at WantedPort is the best resolution, than that's fine with me, but if I could first have a comment from the redmine maintainers about the following questions, that would be great: 1) Is there a plan for a Redmine 4 upgrade in the near future? 2) If not, what would be the best way for someone like me (who knows Freebsd/C/C++/etc very well but has no experience with Ruby) to install Redmine 4 / Postgresql on FreeBSD? Thanks (In reply to cedric from comment #2) Understood and understandable. I think it would be good to add it to the wiki nonetheless, so I'll do that. Similar to Python, I think the answer to the last question might comprise something like: Use RVM or equivalent/similar virtual environment to install ruby application stacks above the 'ruby language' (ruby language freebsd package) layer. I would include 'rails' in the definition of application layer. Concretely, that would mean: - Install lang/rubyXX port/package that redmine4 requires - Install postgresql port/package you want. - Use rvm (or equiv) to create per customer/instance virtual environments that install redmine and everything else above that. Alternatively, since you don't require plugins, in particular the ones we have in ports that are probably blockers/required to update the redmine port, you could run a local version of the redmine port, updated to 4.x. I wouldn't guess that the port delta to 4.x would be huge. Which makes me think of another option: to create a www/redmine4 port, leaving www/redmine as it is (on 3.x) to be deprecated someday. There are plenty of other examples in ports where we have version-suffixed ports of the same software for each major/branch version. A complete different approach: Is maybe using gitlab-ce instead of redmine an option? If not, please forget my comment ;) I note that Redmine 4.0.0 was released 5 days ago [1] [1] https://www.redmine.org/news/119 Yes, it was released 5 days ago, but it was supposed to be released "very soon" since last summer, which is why I'm anxious to finally use it ;) Redmine already is 4.0.4 and it is a parallel brunch with 3.4 version. 4.0 brunch has support for rails5 and 3.4 - not. So it looks like that it is better to separate redmine 4 to something like www/redmine4 port with rails5 in dependencies Redmine already is 4.0.5 Created attachment 209054 [details]
patch
Here is a port for redmine4.
packaging ruby gems seems incredibly fragile, this patch may break other ports.
Created attachment 209055 [details]
patch
remove a stray file
A commit references this bug: Author: mfechner Date: Mon Nov 11 17:46:27 UTC 2019 New revision: 517271 URL: https://svnweb.freebsd.org/changeset/ports/517271 Log: New ports required for www/redmine4 PR: 234005 Submitted by: mikael.urankar@gmail.com Reviewed by: mfechner Changes: head/mail/Makefile head/mail/rubygem-roadie-rails52/ head/mail/rubygem-roadie-rails52/Makefile head/textproc/Makefile head/textproc/rubygem-actionpack-xml_parser52/ head/textproc/rubygem-actionpack-xml_parser52/Makefile A commit references this bug: Author: mfechner Date: Mon Nov 11 17:48:55 UTC 2019 New revision: 517272 URL: https://svnweb.freebsd.org/changeset/ports/517272 Log: Upgrade to 0.5.2 which is required for www/redmine4. PR: 234005 Submitted by: mikael.urankar@gmail.com Reviewed by: mfechner Changes: head/databases/rubygem-mysql2/Makefile head/databases/rubygem-mysql2/distinfo A commit references this bug: Author: mfechner Date: Mon Nov 11 17:51:00 UTC 2019 New revision: 517273 URL: https://svnweb.freebsd.org/changeset/ports/517273 Log: Update to 2.9.2 which is required for www/redmine4. PR: 234005 Submitted by: mikael.urankar@gmail.com Reviewed by: mfechner Changes: head/net/rubygem-ruby-openid/Makefile head/net/rubygem-ruby-openid/distinfo A commit references this bug: Author: mfechner Date: Mon Nov 11 17:57:55 UTC 2019 New revision: 517275 URL: https://svnweb.freebsd.org/changeset/ports/517275 Log: New port for redmine version 4.0.5. PR: 234005 Submitted by: mikael.urankar@gmail.com Reviewed by: mfechner Changes: head/www/Makefile head/www/redmine4/ head/www/redmine4/Makefile head/www/redmine4/distinfo head/www/redmine4/files/mysql.rb head/www/redmine4/files/patch-Gemfile head/www/redmine4/files/pg.rb head/www/redmine4/pkg-plist Committed, thanks! A commit references this bug: Author: mfechner Date: Mon Nov 11 18:09:39 UTC 2019 New revision: 517276 URL: https://svnweb.freebsd.org/changeset/ports/517276 Log: Mark redmine to conflict with redmine4. PR: 234005 Submitted by: mikael.urankar@gmail.com Reviewed by: mfechner Changes: head/www/redmine/Makefile |