libgit2 / libgit2/libgit2sharp
Push not throwing exception when more than 100MB file is being pushed to GitHub
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 3.5k
- Fork
- 925
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Reproduction steps
1 - Copy a new file of size more than 100MB to local repository.
2 - Stage that file.
3 - Commit that file.
4 - Push that file.
Expected behavior
The behavior expected is that it should throw an exception similarly to GitHub Desktop.
Actual behavior
The actual behavior is that there is no exception thrown and does not push as well to the remote repository on GitHub.
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il caso su Windows 10/.NET 6 con LibGit2Sharp 0.27.0-preview-0158: esegui il push di un file di cui è stato eseguito il commit e che supera i 100 MB, quindi osserva il comportamento restituito. Traccia il percorso del push e la relativa gestione degli errori, poi verifica che venga restituita un’eccezione appropriata mentre il file troppo grande viene rifiutato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp, git
- Ambito
- devtools
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100