Hello, thank you for maintaining the redmine port. Please, add Redmine 5 port. It has been released 28th of March. As version 5 depends on Rails 6.1 and still supported version 4 - on Rails 5.2 it looks like Redmine 5 needs separate port like www/redmine5
It is worth to mention Redmine 5 supports Ruby 3 where Redmine 4 only Ruby 2.7
Guys, can I join to Alexander's request. Redmine is important thing and for new instance it is good to start on actual version with far EoL. Please!
There is a version 5.0.2 released. Hope to find it un ports! :) Thanks for Maintainer!
I have created redmine5 port on my system, but there is a run time so I hold the import: https://www.redmine.org/boards/2/topics/67359
Wen Heping, thanks for Your work! That WikiFormatting issue looks related to that https://www.redmine.org/issues/35892 In 5.0.2 changelog described that solved issue: Redmine::WikiFormatting::CommonMark::FormatterTest#test_footnotes fails with CommonMarker 0.23.2 Maybe Dev's not fully resolved it.
(In reply to Wen Heping from comment #4) Wen, maybe you provide current state of port, and I post issue at redmine help forum? I ask for that, because there are topic How to request help on redmine forums (https://www.redmine.org/boards/2/topics/667) and for request help need to provide some info: - Ruby implementation and version - Rails version (rails --version) - Operating system (precise if you're using cygwin when running on Windows) - Database used, and its version - Ruby-aware server used: Webrick, Mongrel, Thin, etc. If you don't understand this point, you're using Webrick. Don't forget to precise where you're meeting your problem in the application (creating an issue, adding a project, etc.) Please also attach the output from running the following in your Redmine directory. RAILS_ENV=YOUR_ENVIRONMENT script/about where YOUR_ENVIRONMENT is what you configured in config/database.yml (typically 'production' or 'development). This will help us see about your environment.
(In reply to Yuri Dolgoruki from comment #6) I send the patch to your email.
(In reply to Wen Heping from comment #7) Wen, thanks for patch! I'm get a absolutely fresh install with your port on a FreeBSD 13.1 amd64, with nginx + passenger and get similar error. Detailed info on redmine's forum is here: https://www.redmine.org/boards/2/topics/67383
(In reply to Wen Heping from comment #7) Wen, there is a solution from Azamat Hackimov on redmine's help forum. https://www.redmine.org/boards/2/topics/67383?r=67404#message-67404 He noticed that error because of commonMarker part is not exists in /usr/local/www/redmine/Gemfile That part are strips down by files/patch-Gemfile: -# Optional CommonMark support, not for JRuby -group :common_mark do - gem "html-pipeline", "~> 2.13.2" - gem "commonmarker", (Gem.ruby_version < Gem::Version.new('2.6.0') ? '0.21.0' : '0.23.4') - gem "sanitize", "~> 6.0" - gem 'deckar01-task_list', '2.3.2' -end If I manual add in /usr/local/www/redmine/Gemfile such part: group :common_mark do gem "html-pipeline", "~> 2.13.2" gem "commonmarker", (Gem.ruby_version < Gem::Version.new('2.6.0') ? '0.21.0' : '~> 0.23.5') # Here gem "sanitize", "~> 6.0" gem 'deckar01-task_list', '~> 2.3.2' # Here too end and followed: su -m redmine -c "bundle install" it install commonMarker dependencies and error disappear.
Can you post the updated port here? I'd like to try it :) Thanks.
Currently using an outdated redmine4 package, not able to upgrade. Is redmine5 ever going to appear in ports/packages? Is there anything I can do to help/test?
Any news on this?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c0efc8c88e6baef7bef5c4e1e3a939980caae827 commit c0efc8c88e6baef7bef5c4e1e3a939980caae827 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2022-12-18 09:40:04 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-12-18 15:57:07 +0000 mail/rubygem-roadie-rails-rails61: Add new port Hooks Roadie into Rails applications to help with HTML email generation. PR: 264638 mail/rubygem-roadie-rails-rails61/Makefile (new) | 24 +++++++++++++++++++++++ mail/rubygem-roadie-rails-rails61/distinfo (new) | 3 +++ mail/rubygem-roadie-rails-rails61/pkg-descr (new) | 1 + 3 files changed, 28 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1e28a7d7b66c9dd386d27dd6af3d64615c8019ee commit 1e28a7d7b66c9dd386d27dd6af3d64615c8019ee Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2022-12-18 09:39:21 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-12-18 15:57:07 +0000 textproc/rubygem-actionpack-xml_parser-rails61: Add new port actionpack-xml_parser is an XML parameters parser for Action Pack (removed from core in Rails 4.0). PR: 264638 .../Makefile (new) | 22 ++++++++++++++++++++++ .../distinfo (new) | 3 +++ .../pkg-descr (new) | 4 ++++ 3 files changed, 29 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f6b395b30deb4f48a2d8ddad31e98cc763162c9 commit 2f6b395b30deb4f48a2d8ddad31e98cc763162c9 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2022-12-18 09:40:49 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2022-12-18 15:57:07 +0000 www/redmine50: Add new port Redmine is a flexible project management web application written using Ruby on Rails framework, it is cross-platform and cross-database. Feature Overview: * Multiple projects support * Flexible role based access control * Flexible issue tracking system * Gantt chart and calendar * News, documents & files management * Feeds & email notifications * Per project wiki * Per project forums * Time tracking * Custom fields for issues, time-entries, projects and users * SCM integration (SVN, CVS, Git, Mercurial, Bazaar and Darcs) * Issue creation via email * Multiple LDAP authentication support * User self-registration support * Multilanguage support * Multiple databases support PR: 264638 www/redmine50/Makefile (new) | 120 ++ www/redmine50/bsd.redmine.mk (new) | 78 ++ www/redmine50/distinfo (new) | 3 + www/redmine50/files/markdown.rb (new) | 1 + www/redmine50/files/mini_magick.rb (new) | 1 + www/redmine50/files/mysql.rb (new) | 1 + www/redmine50/files/patch-Gemfile (new) | 116 ++ www/redmine50/files/pg.rb (new) | 1 + www/redmine50/files/redmine.in (new) | 38 + www/redmine50/files/thin.rb (new) | 1 + www/redmine50/pkg-descr (new) | 21 + www/redmine50/pkg-message (new) | 18 + www/redmine50/pkg-plist (new) | 2235 ++++++++++++++++++++++++++++++ 13 files changed, 2634 insertions(+)
(In reply to commit-hook from comment #15) Thank you, Mikael!