perago.confirm_metadata_extra#
- perago.confirm_metadata_extra(*, staging_branch, staging_commit, expected_head, superseded_commit)[源代码]#
Build extra metadata written during the confirm/publish phase.
- Parameters:
- staging_branchstr
Internal staging branch merged during publish.
- staging_commitstr
Commit id produced by staging before publish.
- expected_headstr
Target branch head that the publish fence expects to still be current.
- superseded_commitstr | None
Previous head commit replaced by the same logical task, if any.
- Returns:
- dict[str, object]
Extra metadata entries merged into the confirm-phase Perago metadata.
- 参数:
- 返回类型: