libgit2 / libgit2/libgit2sharp

Support for sparse-Checkout

未關閉
#1,595 0 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
C#
星號
3.5k
分支
925
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

該 issue 未指定檔案、測試或進入點。首先定位 LibGit2Sharp 中與 checkout 相關的 API,並確定 sparse-checkout 應如何從大型 repository 中選取一個或多個專案。當所請求的 sparse-Checkout 功能可用於此使用案例,且其行為已由適當的測試涵蓋時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp, git
領域
tooling
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。