Skip to main content

Crate eggpack_github

Crate eggpack_github 

Source
Expand description

GitHub draft release staging adapter and local staging payload materializer.

M003a owns two bounded capabilities: materialize a complete local staging payload from M004 finalization plus ReleaseManifest plus deterministic bootstrap generators, and reconcile that payload into a GitHub draft release through a provider-specific adapter. There is no publication authority, no tag creation/move/delete, and no publish endpoint.

Structs§

EggfetchTransport
Production GitHub transport with fixed hosts.
GitHubDraftPolicyV1
Strict draft staging policy.
GitHubDraftReceiptV1
Bounded staging receipt (producer evidence, not an install receipt).
GitHubDraftTemplateV1
Static reusable GitHub draft template (M003d section 4C).
GithubError
Bounded staging failure with redacted diagnostics.
InstallerPresentationV1
Strict versioned staging installer policy owned by the staging layer.
ProductWrapperSourcesV1
Product wrapper source configuration (M003d section 6).
RefTarget
Exact tag reference target.
RemoteAsset
Remote release asset.
RemoteRelease
Remote release summary.
StagingAsset
One ordered staged file record.
StagingPayloadV1
Deterministic local staging payload.
TagObject
Annotated tag object peeling step.

Enums§

InstallerPresentationModeV1
Installer presentation mode.
ReleaseIdentityMode
Finite producer mapping from an immutable source tag to manifest identity.
StagingAssetKind
Semantic kind of one staged file.

Constants§

MAX_WRAPPER_BYTES
Maximum product wrapper source bytes (1 MiB per wrapper, M003d section 6).

Traits§

GithubApi
Provider transport seam for GitHub staging.

Functions§

prepare_staging_payload
Materialize a complete deterministic staging payload.
prepare_staging_payload_with_presentation
Materialize a staging payload with an explicit installer presentation.
read_token
Read a credential from the environment without logging it.
stage_with_bytes
Testable staging core with explicit local bytes.
stage_with_dir
Stage using a staging directory on disk.
verify_tag_source
Verify an exact tag resolves to the payload source revision.