libgit2 / libgit2/libgit2sharp

Add RID-aware AssemblyLoadContext package

オープン
#1,649 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
C#
スター
3.5k
フォーク
925
PR マージ指標
30日以内にマージされた PR はありません

説明

In order to make it easier for people to use LibGit2Sharp from something like an MSBuild task, we should consider adding a separate package that contains a custom AssemblyLoadContext with logic can properly load the right assembly based on the RID of the system. I'm thinking this could be named something like LibGit2Sharp.AssemblyLoadContext.

Doing something like this would be we could update the package as needed whenever we have a change in the set of native binaries.

@tmat Would it be possible to do something like move the code you've written for SourceLink into this proposed package instead? It would be nice to have that in a centralized place for everyone to use, and it would remove the burden on you to know when the RID mappings needed to be updated.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、提案されているカスタム AssemblyLoadContext、issue で言及されている SourceLink の読み込みコード、および現在のネイティブバイナリの RID マッピングを確認します。完全なパッケージに何を含めるかを定義する前に、パッケージの境界と RID の更新をどのように維持するかを明確にします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
build-system, tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。