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 statebuild_change_request(manifest, source)builds a pull-request payload for the releasevalidate_source_configuration(source)validates Forgejo-specific source configsource_capabilities()returns provider feature flags
Structs§
- Forgejo
Hosted Source Adapter - 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.