Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16757 Umbrella Ticket for Revamping Solr CLI's for the Future
  3. SOLR-16778

Skip check for local solr's running in bin/solr package

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Implemented
    • main (10.0), 9.2
    • 9.7
    • cli
    • None

    Description

      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" }

      Attachments

        Activity

          People

            epugh Eric Pugh
            epugh Eric Pugh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: