PathInput treats existing directory as an ERROR
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by locating PathInput.checkPath() and reproduce the behavior described in the issue using the provided promptForPath example. Check how an existing directory is classified and add or update coverage so selecting an existing directory is not presented as an error; done means the directory can be accepted while invalid paths retain appropriate validation.
索引モデルが issue の本文から書いたものです。
説明
I have a use case whereby the user should select an existing directory, however they see x Directory exists which looks like an error message. It seems this behavior is hardcoded in PathInput.checkPath()
Observed on 2.1.12
code sample
protected Optional<Path> promptForPath(String prompt) {
PathInput component = new PathInput(getTerminal(), prompt);
component.setResourceLoader(getResourceLoader());
component.setTemplateExecutor(getTemplateExecutor());
return Optional.ofNullable(component.run(PathInputContext.empty()).getResultValue());
}
- 主要言語
- Java
- スター
- 826
- フォーク
- 405
- 平均マージ
- 6日 9時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
spring-projects/spring-shell のほかの issue
-
NonInteractiveShellRunner, wrong exit value when Commands cannot be parsed対応中かも @czpilar が 6 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
spring-projects/spring-shell#1391 · コメント 2 件 ·
メンテナーはふだん 3 日以内に返信
-
Options validation error messages in non-interactive mode対応中かも @czpilar が 6 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
spring-projects/spring-shell#1390 · コメント 3 件 ·
メンテナーはふだん 3 日以内に返信
-
ShellInputProvider inputs are not consumed by `ComponentFlow`-based interactive components (e.g. `ConfirmationInput`, `StringInput`)対応中かも @czpilar が 19 日前に担当しました。 オープンtype/enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
spring-projects/spring-shell#1383 · コメント 6 件 ·
メンテナーはふだん 3 日以内に返信
-
area/dependencies type/enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
spring-projects/spring-shell#1213 · リアクション 2 件 ·
メンテナーはふだん 3 日以内に返信
-
Revisit dependency to Spring Messaging対応中かも @piotrooo が 293 日前に担当しました。 オープンarea/dependencies type/enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
spring-projects/spring-shell#1205 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
spring-projects/spring-shell の issue をすべて見る
似ている issue
-
[BUG] Re-subscribing the Mono returned by listTools/listResources/listResourceTemplates/listPrompts/listRoots duplicates the results対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/java-sdk#1174 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
module: core
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
bigbluebutton/bigbluebutton#26028 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MetricsHub/metricshub-community#1390 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
apache/rocketmq-dashboard#6331 ·
メンテナーはふだん 5 日以内に返信
-
status: team-only type: dependency-upgrade
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
spring-projects/spring-boot#52143 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信