Skip to content
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-15831: Refactor bin/solr and bin/solr.cmd to delegate args parsing and usage help to SolrCLI #504

Closed
wants to merge 1 commit into from

Conversation

thelabdude
Copy link
Contributor

https://issues.apache.org/jira/browse/SOLR-15831

Start of some much needed clean-up of the bin/solr scripts! In this PR, I'm mainly removing usage information from the OS specific scripts (bin/solr and bin\solr.cmd) and instead delegating the usage output to the SolrCLI Java code. There's no reason to maintain command usage info in 3 places!

@thelabdude thelabdude changed the title Solr 15831 SOLR-15831: Refactor bin/solr and bin/solr.cmd to delegate args parsing and usage help to SolrCLI Jan 7, 2022
@thelabdude thelabdude marked this pull request as draft January 7, 2022 18:59
… possible to reduce OS specific scripting bin/solr
@epugh
Copy link
Contributor

epugh commented Oct 5, 2023

Boy I wish I had seen this PR a long time ago... A lot of good stuff in here...

@epugh
Copy link
Contributor

epugh commented Oct 6, 2023

Hey @thelabdude I went through this PR, and I think at this point I've combed out all the good stuff in this PR already and have committed them in various PR's. Are you comfortable with me closing this PR to tidy up our list? (Also cause I keep re-reading it every few weeks thinking that I missed an inprogress PR!).

@epugh epugh self-assigned this Jun 19, 2024
@epugh
Copy link
Contributor

epugh commented Jun 19, 2024

Assigning to myself to do one more pass through for pulling "the good stuff out" and then will close it.

@epugh
Copy link
Contributor

epugh commented Jul 21, 2024

Some of the ideas in this PR ended up in #2545 as well. I am going to look a bit more at how PackageTool does it's extended help information, and see if we can use that approach more in other tools, and reduce what's in bin/solr and bin/solr.cmd.

@epugh
Copy link
Contributor

epugh commented Jul 22, 2024

I believe I've pulled all the good stuff into the new PR #2580 . @thelabdude would love any review ;-)!

@epugh epugh closed this Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants