libgit2 / libgit2/libgit2sharp
Most exceptions have the same type of LibGit2SharpException
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 3.5k
- フォーク
- 925
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Most exceptions have the same type of LibGit2SharpException, which makes it difficult to filter specific exceptions and throw our own exception with some custom message. One example is below:
Reproduction steps
When we provide incorrect credentials, it gives an error message "Too many authentication replays" with an exception type of LibGit2SharpException. Because of this, we cannot identify exception based on its type and provide a more user friendly exception.
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Windows 10 上の .NET 6.0 で LibGit2Sharp 0.27.0-preview-0158 について記述されている認証情報が正しくない場合を再現し、結果として発生する LibGit2SharpException とメッセージを調査します。呼び出し元がこの認証失敗を例外型によって識別し、ユーザーフレンドリーなカスタムメッセージを提供できるようになれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, git
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100