Bug 234005 - www/redmine: Update to 4.0.1
Summary: www/redmine: Update to 4.0.1
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ruby mailing list
URL: https://www.redmine.org/news/119
Keywords: needs-patch
Depends on:
Reported: 2018-12-14 09:16 UTC by cedric
Modified: 2019-01-20 16:47 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (ruby)


Note You need to log in before you can comment on or make changes to this bug.
Description cedric 2018-12-14 09:16:52 UTC
Please update redmine to version 4.0.0.

I know nothing about ruby, rails and friends, therefore I cannot write the port, but I would be glad to test. Thanks.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2018-12-14 09:39:58 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
Comment 2 cedric 2018-12-14 10:48:01 UTC
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

@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?

Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2018-12-14 11:09:50 UTC
(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.
Comment 4 Matthias Fechner freebsd_committer 2018-12-14 11:33:24 UTC
A complete different approach:
Is maybe using gitlab-ce instead of redmine an option?

If not, please forget my comment ;)
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2018-12-14 11:56:51 UTC
I note that Redmine 4.0.0 was released 5 days ago [1]

[1] https://www.redmine.org/news/119
Comment 6 cedric 2018-12-14 11:59:59 UTC
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 ;)