[
https://issues.apache.org/jira/browse/SOLR-16778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17718094#comment-17718094
]
Jan Høydahl commented on SOLR-16778:
------------------------------------
It is an extra safety measure to require local box access for installing
foreign code. I thought perhaps the script copied files directly into the local
filestore/ folder? Is it all remote HTTP and ZK calls?
> Skip check for local solr's running in bin/solr package
> --------------------------------------------------------
>
> Key: SOLR-16778
> URL: https://issues.apache.org/jira/browse/SOLR-16778
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: cli
> Affects Versions: main (10.0), 9.2
> Reporter: Eric Pugh
> Priority: Minor
>
> bin/solr package assumes you are running it on a local Solr box, it has a
> check that is super similar to the bin/solr status check for a local Solr
> node, and if it isn't running, then it exits.
> I'd like to remove that check, since we already have a bin/solr status, and
> let you install a package (assuming it's all API level) if you aren't on a
> local box. I can imagine this for installing packages into a docker
> container for example..
> Here is the test bats test I would use:
> @test "outputting help without running solr" {
> run solr package -help
> assert_output --partial "Add a repository to Solr"
> }
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]