[
https://issues.apache.org/jira/browse/SOLR-18234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18099270#comment-18099270
]
Eric Pugh commented on SOLR-18234:
----------------------------------
Hey [~jaykay12] I really the like the plan, however I want to highlight another
effort under way that should either land first, or incorporate the goals of
this SOLR-18234 ticket. See SOLR-17697 which is a migration to Picocli from
the existing commons-cli. It opens the door to some better documentation,
including being able to generate our ref guide page from the direct output of
the java cli tools!
We have a "feature" branch already created where we have started migrating some
commands, but still have many to go. It would be awesome if you could pitch in
there.
I worry that any work in the commons-cli based implementation is going to be
lost. We're also detaingling some ZK/ solr-url stuff there as well. I will
tag you with some potential work to be done on that JIRA.
> core-cli build module
> ---------------------
>
> Key: SOLR-18234
> URL: https://issues.apache.org/jira/browse/SOLR-18234
> Project: Solr
> Issue Type: Task
> Reporter: David Smiley
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The "org.apache.solr.cli" package ought to be separated to a module (gradle
> sub-project), e.g. "core-cli", adjacent to "core". Motivation: reduce
> dependencies of solr-core[1], and reduces the size/scope of our largest
> module[2].
> [1]: even though Solr will certainly ship with this JAR and its dependencies:
> (a) they won't go/belong in WEB-INF/lib and won't be on Solr's runtime
> classpath, (b) anyone embedding Solr-core won't need CLI or its dependencies,
> and (c) also applies to users of solr-test-framework
> [2]: The gradle build can run a bit more efficiently when our largest
> sub-project is reduced in size for a variety of reasons
> [3]: new dirs are likely useful for misc things like an AGENTS.md, README.md,
> maybe referencing in CODEOWNERS and misc things.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]