Warn on any command if not on latest version
還沒有人認領這個 Issue。
評估
研究方向
從 src version 使用的現有版本檢查以及對 /.api/src-cli/version 的請求開始。追蹤命令的分派方式,以便在任何命令之前執行檢查。完成標準是:過時版本在每個命令執行期間都會產生明確的警告,而目前版本不會產生警告。
由索引模型根據 Issue 內容生成。
描述
Many users encounter bugs from outdated versions of src-cli and raise them to support before realizing they were already fixed and just needed to update. Recently, a user hit a nasty bug when they were unintentionally running a version 16 months out of date! We should try to warn users if the version of src-cli they are running is not at or above the version recommended by their Sourcegraph instance (/.api/src-cli/version). We already perform this check when running src version:
> src version
Current version: 4.3.0
Recommended version: 4.4.0 or later
We should perform this check before running any command and highlight a warning in the output if it's out-of-date.
- 主要語言
- Go
- 星號
- 356
- 分支
- 76
- 平均合併
- 1 天 2 小時
- 30 天內合併 PR
- 13
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
sourcegraph/src-cli 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 85/100
sourcegraph/src-cli#1345 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
sourcegraph/src-cli#1150 · 2 則留言 ·
-
難度 4/5 3-5 天 新手友好度 45/100
sourcegraph/src-cli#1144 · 3 則留言 ·
查看 sourcegraph/src-cli 的全部 Issue
相似的 Issue
-
Type/Bug
難度 2/5 1-3 小時 新手友好度 78/100
OpenNSW/nsw-srilanka#497 ·
-
難度 1/5 1 小時以內 新手友好度 92/100
milvus-io/birdwatcher#545 ·
-
kind/bug
難度 2/5 1-3 小時 新手友好度 88/100
kubernetes-sigs/prow#953 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
-
難度 2/5 1-3 小時 新手友好度 88/100
caddyserver/caddy#8046 ·