Skip to main content

Crate monochange_forgejo

Crate monochange_forgejo 

Source
Expand description

§monochange_forgejo

monochange_forgejo turns monochange release manifests into Forgejo automation requests.

Reach for this crate when you want to preview or publish Forgejo releases and release pull requests using the same structured release data that powers changelog files and release manifests.

§Why use it?

  • derive Forgejo release payloads and release-PR bodies from monochange’s structured release manifest
  • keep Forgejo automation aligned with changelog rendering and release targets
  • reuse one publishing path for dry-run previews and real repository updates

§Best for

  • building Forgejo release automation on top of mc release
  • previewing would-be Forgejo releases and release PRs in CI before publishing
  • self-hosted Forgejo instances that need the same release workflow as GitHub or GitLab

§Public entry points

  • build_release_requests(manifest, source) builds release payloads from prepared release state
  • build_change_request(manifest, source) builds a pull-request payload for the release
  • validate_source_configuration(source) validates Forgejo-specific source config
  • source_capabilities() returns provider feature flags

Structs§

ForgejoHostedSourceAdapter
Hosted-source adapter for Forgejo repositories.

Statics§

HOSTED_SOURCE_ADAPTER
Shared Forgejo hosted-source adapter instance used by the workspace.

Functions§

annotate_changeset_context
Apply Forgejo provider metadata and commit URLs to prepared changesets.
build_release_pull_request_request
Build the release pull request request for the configured Forgejo repository.
build_release_requests
Convert releasable targets into provider-specific Forgejo release requests.
compare_url
Build the comparison URL between two tags on the configured Forgejo repository.
enrich_changeset_context
Enrich changeset context for Forgejo-backed workspaces.
forgejo_commit_url
Build a web URL for a commit on the configured Forgejo repository.
forgejo_host_name
Extract the host name used for rendered Forgejo links.
forgejo_hosting_capabilities
Return the hosting metadata features available from Forgejo changeset context.
publish_release_pull_request
Commit, push, and publish the release pull request against Forgejo.
publish_release_requests
Publish or update all planned Forgejo releases for a manifest.
source_capabilities
Return the hosted-source capabilities supported by the Forgejo provider.
tag_url
Build the public release URL for a tag on the configured Forgejo repository.
validate_source_configuration
Validate that a source configuration is compatible with the Forgejo provider.