feat(clean-release): complete compliance redesign phases and polish tasks T047-T052
This commit is contained in:
@@ -78,7 +78,6 @@ def build_distribution_manifest(
|
||||
return DistributionManifest(
|
||||
manifest_id=manifest_id,
|
||||
candidate_id=candidate_id,
|
||||
policy_id=policy_id,
|
||||
generated_at=datetime.now(timezone.utc),
|
||||
generated_by=generated_by,
|
||||
items=items,
|
||||
@@ -86,4 +85,25 @@ def build_distribution_manifest(
|
||||
deterministic_hash=deterministic_hash,
|
||||
)
|
||||
# [/DEF:build_distribution_manifest:Function]
|
||||
|
||||
|
||||
# [DEF:build_manifest:Function]
|
||||
# @PURPOSE: Legacy compatibility wrapper for old manifest builder import paths.
|
||||
# @PRE: Same as build_distribution_manifest.
|
||||
# @POST: Returns DistributionManifest produced by canonical builder.
|
||||
def build_manifest(
|
||||
manifest_id: str,
|
||||
candidate_id: str,
|
||||
policy_id: str,
|
||||
generated_by: str,
|
||||
artifacts: Iterable[Dict[str, Any]],
|
||||
) -> DistributionManifest:
|
||||
return build_distribution_manifest(
|
||||
manifest_id=manifest_id,
|
||||
candidate_id=candidate_id,
|
||||
policy_id=policy_id,
|
||||
generated_by=generated_by,
|
||||
artifacts=artifacts,
|
||||
)
|
||||
# [/DEF:build_manifest:Function]
|
||||
# [/DEF:backend.src.services.clean_release.manifest_builder:Module]
|
||||
Reference in New Issue
Block a user