You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2023/04/18 21:33:00 UTC
[jira] [Commented] (SOLR-16755) bin/solr's '-noprompt' option no longer works for examples
[ https://issues.apache.org/jira/browse/SOLR-16755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17713774#comment-17713774 ]
Chris M. Hostetter commented on SOLR-16755:
-------------------------------------------
I consider myself a competent shell script reader and a moderately competent shell script writer -- and yet looking at {{git show 71ad41a9a4ce6020f130fc05fcc0095e28e41d0a}} I can not for the life of me wrap my head around why {{-noprompt}} fails against {{71ad41a9a4ce6020f130fc05fcc0095e28e41d0a}} but works correctly against it's parent {{d22a0781aeadda9061dac167f8aec065dd60f433}}
[~janhoy] - any idea what's going wrong here?
> bin/solr's '-noprompt' option no longer works for examples
> -----------------------------------------------------------
>
> Key: SOLR-16755
> URL: https://issues.apache.org/jira/browse/SOLR-16755
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 9.2
> Reporter: Chris M. Hostetter
> Priority: Major
>
> I recently noticed that on the main branch {{bin/solr -e cloud -noprompt}} no longer respected the {{-noprompt}} option (forcing me to hit enter a bunch of times to accept the defaults)
> I cheked and confirmed it also failed on {{branch_9x}} but worked on {{branch_9_1}}
> I couldn't think of an easy way to automate a {{git bisect run}} to look for this, but fortunately there weren't too many commits to manually runn {{git bisect}} against and find a smoking gun...
> {noformat}
> 71ad41a9a4ce6020f130fc05fcc0095e28e41d0a is the first bad commit
> commit 71ad41a9a4ce6020f130fc05fcc0095e28e41d0a
> Author: Jan Høydahl <ja...@users.noreply.github.com>
> Date: Fri Jan 6 20:06:36 2023 +0100
> SOLR-9509 Fix problems reported by shellcheck (#1225)
> :040000 040000 5765d3f70c58e94f99693313bdc8d6d86684d024 6b9e3dc42416216a0a1d2d0b9cb2cd736daf4de3 M solr
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org