libgit2 / libgit2/libgit2sharp
Consider providing compaction support in the Backend interface
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 3.5k
- フォーク
- 925
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I'm implementing my own backend, and may want to add compaction support sometime in the future. IMO this needs to be an opt-in feature, so when a user chooses to compaction will take place. I'm also pretty sure a background thread running all the time doing this is not the way to go.
Can OdbBackend have a DoCompaction method that if implemented will allow it to perform compaction on demand? (or similar)
This will also probably require libgit2sharp to implement and expose the various helpers for performing binary diffs and object concats.
Related / trigger: https://github.com/synhershko/libgit2sharp.Elasticsearch/issues/2
/cc @nulltoken @carlosmn
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず OdbBackend インターフェースと関連する libgit2sharp.Elasticsearch issue を確認し、提案されている opt-in のコンパクション API を理解します。バイナリ差分とオブジェクト連結に必要な libgit2sharp のサポートを確認します。インターフェース設計について合意し、バックグラウンドでのコンパクションなしに必要なヘルパーを公開できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, git
- 領域
- backend-api-design
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100