libgit2 / libgit2/libgit2sharp

Support for sparse-Checkout

Offen
#1,595 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
C#
Sterne
3.5k
Forks
925
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

You are opening a bug report against the LibGit2Sharp project: we
use GitHub Issues for tracking bug reports and feature requests. If
you have a question about an API or usage, please ask on StackOverflow:
http://stackoverflow.com/questions/tagged/libgit2sharp.

Otherwise, to report a bug, please fill out the reproduction steps
(below) and delete these introductory paragraphs. Thanks!

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

All versions

Operating system(s) tested; .NET runtime tested

Windows 10

I would like the sparse-Checkout functionality added to libgit2sharp. Without it, I can't currently operate on the git repository. We have a repository not created by me, that has several thousand projects in it, and I need the ability to extract one or maybe a couple projects when the user does something. I cannot bring out the entire respository, because this is a multi-user system, and we have hundreds of people commiting to this repostory. Each working on their own project. When time comes, I need to get just one project out, so we can do some things with it.

Is this something that is planned to be added soon to libgit2sharp?

Thanks

James

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Das Issue nennt keine Dateien, Tests oder Einstiegspunkte. Beginne damit, die checkout-bezogene API von LibGit2Sharp zu finden und zu bestimmen, wie sparse-checkout ein oder mehrere Projekte aus einem großen Repository auswählen sollte. Als abgeschlossen gilt die Aufgabe, wenn die angeforderte sparse-Checkout-Funktionalität für diesen Anwendungsfall verfügbar ist und ihr Verhalten durch geeignete Tests abgedeckt wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp, git
Bereich
tooling
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.