libgit2 / libgit2/libgit2sharp

Error messages are not user friendly

未關閉
#1,935 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
C#
星號
3.5k
分支
925
PR 合併指標
30 天內沒有已合併 PR

描述

Error messages are not user friendly. Example shown below

Reproduction steps

1- On Entering wrong access token it shows, "too many redirects or authentication replays"
2- Checking out to another branch when file similar name is not committed. We see the error, "1 conflict prevents checkout", this is not clear because in this case we don't see any conflicts occurring.

Expected behavior
Actual behavior
Version of LibGit2Sharp (release number or SHA1)

0.27.0-preview-0158

Operating system(s) tested; .NET runtime tested

OS: Windows 10
.NET runtime: .NET 6.0

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先,在 Windows 10 和 .NET 6.0 上使用 libgit2sharp 0.27.0-preview-0158 重現回報的兩種情況:錯誤的存取權杖,以及存在一個名稱相似的未提交檔案時執行 checkout。追蹤每則錯誤訊息的產生位置,然後為這兩種情況定義更清楚的措辭,並驗證由此產生的行為。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp, git
領域
tooling
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。