New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redmine: refactor, cleanup, bug fix, and add functionality #48189
Conversation
- added package option to specify which version of redmine - added themes option back in to allow specifying redmine themes - added plugins option back in to allow specifying redmine plugins - added database.socket option to allow mysql unix socket authentication - added port option to allow specifying the port rails runs on - cleaned up Gemfile so it is much less hacky - switched to ruby version 2.4 by default as suggested by documentation http://www.redmine.org/projects/redmine/wiki/redmineinstall#Installing-Redmine - fixed an annoyance (bug) in the service causing recursive symlinks - fixed ownership bug on log files generated by redmine - updates reflecting renames in nixos options - added a nixos test
@7c6f434c Regarding #45353 (comment) |
@GrahamcOfBorg test redmine |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: tests.redmine Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: tests.redmine Partial log (click to expand)
|
@7c6f434c Would you recommend I ship those 2 external files with the test? For my understanding... does the test not build because no network access in sandbox mode, or another reason? I checked off "tested using sandboxing" because I read 18.09 turn that value to on by default. Was I correct go check off that point? |
@GrahamcOfBorg test redmine |
Success on x86_64-linux (full log) Attempted: tests.redmine Partial log (click to expand)
|
Timed out, unknown build status on aarch64-linux (full log) Attempted: tests.redmine Partial log (click to expand)
|
@7c6f434c Thank you for your help! Would you be willing to backport to 18.09 as well? |
Hm. This is supposed to be fully compatible configuration-wise? |
Yes. No options removed, only added. Will be compatible with existing configurations. On top of that Redmine was marked broken before 18.09 so I'm pretty sure I'll be the only person using this on 18.09 currently. |
redmine: refactor, cleanup, bug fix, and add functionality (cherry picked from commit a296033)
Good point about |
Fantastic. That should do it. Thanks again! |
This PR is an attempt to fix the deficiencies in Redmine on NixOS as it stands in 18.09.
My hope is that since prior to 18.09 Redmine had been marked broke for several versions and I'm sure no one else is using it except myself these changes can be back ported to 18.09 at some point.
added package option to specify which version of redmine
added themes option back in to allow specifying redmine themes
added plugins option back in to allow specifying redmine plugins
added database.socket option to allow mysql unix socket authentication
added port option to allow specifying the port rails runs on
cleaned up Gemfile so it is much less hacky
switched to ruby version 2.4 by default as suggested by documentation http://www.redmine.org/projects/redmine/wiki/redmineinstall#Installing-Redmine
fixed an annoyance (bug) in the service causing recursive symlinks
fixed ownership bug on log files generated by redmine
updates reflecting renames in nixos options
added a nixos test
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)