Expand description
§monochange_gitlab
monochange_gitlab turns monochange release manifests into GitLab automation requests.
Reach for this crate when you want to preview or publish GitLab releases and merge requests using the same structured release data that powers changelog files and release manifests.
§Why use it?
- derive GitLab release payloads and merge-request bodies from
monochange’s structured release manifest - keep GitLab automation aligned with changelog rendering and release targets
- reuse one publishing path for dry-run previews and real repository updates
§Best for
- building GitLab release automation on top of
mc release - previewing would-be GitLab releases and merge requests in CI before publishing
- self-hosted GitLab instances that need the same release workflow as GitHub
§Public entry points
build_release_requests(manifest, source)builds release payloads from prepared release statebuild_change_request(manifest, source)builds a merge-request payload for the releasevalidate_source_configuration(source)validates GitLab-specific source configsource_capabilities()returns provider feature flags
Structs§
- GitLab
Hosted Source Adapter - Hosted-source adapter for GitLab repositories.
Statics§
- HOSTED_
SOURCE_ ADAPTER - Shared GitLab hosted-source adapter instance used by the workspace.
Functions§
- annotate_
changeset_ context - Apply GitLab provider metadata and commit URLs to prepared changesets.
- build_
release_ pull_ request_ request - Build the release merge request request for the configured GitLab repository.
- build_
release_ requests - Convert releasable targets into provider-specific GitLab release requests.
- compare_
url - Build the comparison URL between two tags on the configured GitLab repository.
- enrich_
changeset_ context - Enrich changeset context for GitLab-backed workspaces.
- gitlab_
commit_ url - Build a web URL for a commit on the configured GitLab repository.
- gitlab_
host_ name - Extract the host name used for rendered GitLab links.
- gitlab_
hosting_ capabilities - Return the hosting metadata features available from GitLab changeset context.
- publish_
release_ pull_ request - Commit, push, and publish the release merge request against GitLab.
- publish_
release_ requests - Publish or update all planned GitLab releases for a manifest.
- source_
capabilities - Return the hosted-source capabilities supported by the GitLab provider.
- tag_url
- Build the public release URL for a tag on the configured GitLab repository.
- validate_
source_ configuration - Validate that a source configuration is compatible with the GitLab provider.