libgit2 / libgit2/libgit2sharp
Support OnProgress in Push / PushOptions
還沒有人認領這個 Issue。
- 主要語言
- C#
- 星號
- 3.5k
- 分支
- 925
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Feature Request:
When pushing to a remote repository its currently possible to handle callbacks for OnPushStatusError OnPushTransferProgress and OnPackBuilderProgress but there is currently no way to handle the OnProgress callback similar to the one that is available for Fetch (through FetchOptions).
This feature request comes out of this question posted on StackOverflow:
http://stackoverflow.com/questions/22149891/remote-response-when-pushing-with-libgit2sharp
I've been looking through the code to get an idea of how this should be implemented, and I'll post back with a pull request and/or additional questions once I get into it.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先比較 Push 和 PushOptions 進入點與 FetchOptions,接著追蹤現有的 OnPushStatusError、OnPushTransferProgress 和 OnPackBuilderProgress 回呼。完成的定義是,呼叫端能以與 fetch 期間大致相同的方式處理 push 期間的 OnProgress 回呼。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp, git
- 領域
- api
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100