-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
solr: 4.10.3 -> 7.5.0, refactor service to reflect major changes in version bump #49283
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall it doesn't look bad but could you also add a nixos VM test verifying that this module works as expected?
@domenkozar are you still using familiar with solr? This is trying to resurrect the whole thing with a test. If you have any input that would be appreciated. |
@andir Given this entirely breaks compatibility with previous module/package, but previous module/package is now entirely unsupported by upstream (and has CVEs against it...) what is the plan as far as which versions of NixOS this will land in? |
@aanderse I'd say master and then the next release until there is a good reason to replace the old (& broken) module on 18.09. |
@andir sounds good. @GrahamcOfBorg test solr |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: tests.solr Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: tests.solr Partial log (click to expand)
|
b0111c4
to
a7c5838
Compare
@aanderse I did rebase, and moved a few changes around. I also had to bump the module id since something else was merged with 307 already. @GrahamcOfBorg test solr When the tests complete this is good for me. |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: tests.solr Partial log (click to expand)
|
@aanderse would you like writing a changelog entry for the (re-)introduction of solr? :) |
Success on x86_64-linux (full log) Attempted: tests.solr Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: solr Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: solr Partial log (click to expand)
|
@andir I hope this entry will suffice. If not please let me know. Thank you. |
Can you cleanup the git history a bit like I did a few days before you pushed your latest changes. I think the merge of master should go away and also a few of those commits should be stashed together. |
@andir Sorry for the problems, have studied up on my git history rewriting enough to accomplish as requested. |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: solr Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: solr Partial log (click to expand)
|
…ersion bump, NixOS test included
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: solr Partial log (click to expand)
|
Just to be sure after rewriting history... @GrahamcOfBorg test solr |
Success on x86_64-linux (full log) Attempted: solr Partial log (click to expand)
|
Fix for issue #33876 by updating solr from an ancient version to the most recent.
I have only tested that solr actually starts running, but I have not indexed anything yet. Looking for feedback from anyone who is familiar with solr. I'll be asking a colleague at work who is familiar with solr to test this out and then report back. Will be adding a NixOS test when I get a chance.
Motivation for this change
Security issues on ancient version of solr. Version bump to latest for fix.
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)