libgit2 / libgit2/libgit2sharp

Support OnProgress in Push / PushOptions

Open
#642 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

FeatReq
Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the Push and PushOptions entry points with FetchOptions, then trace the existing OnPushStatusError, OnPushTransferProgress, and OnPackBuilderProgress callbacks. Done means callers can handle an OnProgress callback during a push in the same general way they can during a fetch.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.