Pager options not honored with click>=8.1.8
まだ誰も着手していません。
評価
調査の方向性
まず、示されている $PAGER の値を使用して、報告された Click のバージョンで pager の動作を再現し、8.1.7 以下と 8.1.8 以降を比較します。依存関係の仕様を調べ、サポート対象の範囲から pager オプションが失敗するバージョンが除外されていることを確認します。litecli が大文字と小文字を区別しない検索、ステータス列の表示、行の折り返しの無効化をサポートすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Seemingly related to #225
I just installed litecli today using pip, and click was 8.3.0 per the dependency specification excluding 8.1.*
My $PAGER variable is set to less -iJS (case-insensitive search, show status column, don't wrap long lines) but I noticed that the output in litecli was not honoring this (there should be an empty first column, long lines are still wrapped, searching for "afghanistan" finds no results).
When I manually downgrade click to 8.1.7 or lower, this works as expected:
(Status column shown [-J], lines are not wrapped [-S], searching for "afghanistan" still finds "AFGHANISTAN" [-i])
8.1.8 is the first "bad" version and this issue has not been fixed in click 8.2.* or 8.3.0.
Can you please update the dependency specifications to use 8.1.7 or lower?
I am not 100% sure but perhaps click>=4.1,<=8.1.7 would be appropriate.
Thank you!
- 主要言語
- Python
- スター
- 3.3k
- フォーク
- 95
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dbcli/litecli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
似ている issue
-
bug confirmed issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
open-webui/open-webui#30750 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 90/100