Skip to main content

Crate monochange_gitea

Crate monochange_gitea 

Source
Expand description

§monochange_gitea

monochange_gitea turns monochange release manifests into Gitea automation requests.

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

§Why use it?

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

§Best for

  • building Gitea release automation on top of mc release
  • previewing would-be Gitea releases and release PRs in CI before publishing
  • self-hosted Gitea 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 Gitea-specific source config
  • source_capabilities() returns provider feature flags

Structs§

GiteaHostedSourceAdapter
Hosted-source adapter for Gitea repositories.

Statics§

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

Functions§

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