Compendium.Abstractions.Git
1.0.5-preview.4
dotnet add package Compendium.Abstractions.Git --version 1.0.5-preview.4
NuGet\Install-Package Compendium.Abstractions.Git -Version 1.0.5-preview.4
<PackageReference Include="Compendium.Abstractions.Git" Version="1.0.5-preview.4" />
<PackageVersion Include="Compendium.Abstractions.Git" Version="1.0.5-preview.4" />
<PackageReference Include="Compendium.Abstractions.Git" />
paket add Compendium.Abstractions.Git --version 1.0.5-preview.4
#r "nuget: Compendium.Abstractions.Git, 1.0.5-preview.4"
#:package Compendium.Abstractions.Git@1.0.5-preview.4
#addin nuget:?package=Compendium.Abstractions.Git&version=1.0.5-preview.4&prerelease
#tool nuget:?package=Compendium.Abstractions.Git&version=1.0.5-preview.4&prerelease
Compendium.Abstractions.Git
Provider-agnostic git-server ports for the Compendium Framework.
A platform that drives a git server (create repositories from templates, configure CI
secrets/variables, trigger pipelines, manage deployment environments, branch policies,
teams, and webhooks) programs against the IGitServer facade and its concern-scoped
sub-ports. Concrete providers (GitHub, GitLab, Gitea/Forgejo, Azure DevOps, …) are
supplied by Compendium.Adapters.* packages.
Design
IGitServer— facade carrying theProviderdiscriminator, the declarativeGitServerCapabilities, and the sub-ports. Consumers resolveIEnumerable<IGitServer>and dispatch onProvider.GitConnection/GitCredential— every call takes an explicit connection. Credentials are a closed union: platform app installation (GitHub App), durable service-account token (GitLab group token, Gitea bot PAT), one-shot personal access token, or OAuth user token. Token-bearing records redact inToString().GitServerCapabilities— adapters declare what they support (None/Partial/FullperGitCapability). Unsupported operations fail withGit.CapabilityNotSupported(Resultfailure, never an exception). Each adapter ships aCAPABILITIES.mdmatrix.GitWebhookEvent— neutral inbound-event union produced byIGitWebhookIngestorfrom a raw, signature-verified delivery.- All operations return
Result/Result<T>fromCompendium.Core.Results.
Testing
Compendium.Testing provides InMemoryGitServer (full-fidelity fake) and
GitServerContractTests<TFixture> (the behavioral contract every adapter must pass).
This package also ships NullGitServer, a fail-fast stub for unconfigured hosts.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Compendium.Core (>= 1.0.5-preview.4)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Compendium.Abstractions.Git:
| Package | Downloads |
|---|---|
|
Compendium.Testing
Testing utilities for Compendium Framework: TestContainers integration (PostgreSQL/Redis), test data builders (AutoFixture/Bogus), aggregate testing helpers for Event Sourcing, and the git-server contract-test kit (InMemoryGitServer + GitServerContractTests). |
|
|
Compendium.Adapters.GitHub
GitHub adapter for Compendium Framework: a concrete IGitServer implementing the Compendium.Abstractions.Git ports against github.com and GitHub Enterprise Server. Provides GitHub App installation-token auth (RS256 App JWT plus per-installation token minting and caching), repository/tag/release management, CI secrets (libsodium sealed-box encrypted) and variables, deployment environments, repository-ruleset branch policies, teams and collaborators, outbound webhook subscriptions, and fail-closed HMAC-SHA256 inbound webhook ingestion. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.5-preview.4 | 947 | 7/24/2026 |
| 1.0.5-preview.3 | 201 | 7/24/2026 |
| 1.0.5-preview.2 | 70 | 7/24/2026 |