-
Notifications
You must be signed in to change notification settings - Fork 675
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
SOLR-17068: Resolve mish mash of bin/post and bin/solr post references in favour of bin/solr post. #2227
Conversation
…ault urls settings if specified.
…to mention windows alternative!
Just tested that |
Maybe I'm being grumpy but I like to think of the unfortunate addition of "post" to bin/solr as an implementation detail out of convenience to make multi-platform and general supportability easier for bin/post. Does this mean we don't want users to use bin/post either? I think not. |
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.
The large majority of the changes here make sense to me - we're moving away from bin/post
in 10.0 so we want to shift documentation and other usage in that direction. That all fits the title of the PR.
But I'm seeing some other changes here too - loosening some Option
declarations in PostTool.java, re-adding support for the 'c' parameter. Can you add some context around these changes?
Are those follow-on changes from some prior PR? Are they only done here to accommodate some of the new bin/solr post
call sites?
Thanks for asking about the other changes. So what I was finding was that the |
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.
OK, makes sense. Do we need to document that change of strategy somewhere other than SOLR-17068? Maybe that's good enough 🤷
Anyway, LGTM.
I think that is EXACTLY what we want. no more |
Yeah, I thought that was the whole point - Is there a reason we wouldn't converge across docs and test-usage in this case? |
…s in favour of bin/solr post. (#2227) * update various examples to use bin/solr post instead of bin/post. * Restore the -c parameter to the post tool, and ensure it picks up default urls settings if specified. * Remove special text about how to use tool on Windows as no longer needed * move all our docker testing and actual docker scripts to using bin/solr post command instead of bin/post
…s in favour of bin/solr post. (#2227) * update various examples to use bin/solr post instead of bin/post. * Restore the -c parameter to the post tool, and ensure it picks up default urls settings if specified. * Remove special text about how to use tool on Windows as no longer needed * move all our docker testing and actual docker scripts to using bin/solr post command instead of bin/post
https://issues.apache.org/jira/browse/SOLR-17068
Description
Removing old bin/post references.
Solution
Clean ups through out docs and code base.
Tests
Bats and unit tests.
Checklist
Please review the following and check all that apply:
main
branch../gradlew check
.