Changeset View
Changeset View
Standalone View
Standalone View
swh/loader/package/nixguix/loader.py
Show First 20 Lines • Show All 154 Lines • ▼ Show 20 Lines | def extra_branches(self) -> Dict[bytes, Mapping[str, Any]]: | ||||
} | } | ||||
} | } | ||||
def build_release( | def build_release( | ||||
self, p_info: NixGuixPackageInfo, uncompressed_path: str, directory: Sha1Git | self, p_info: NixGuixPackageInfo, uncompressed_path: str, directory: Sha1Git | ||||
) -> Optional[Release]: | ) -> Optional[Release]: | ||||
return Release( | return Release( | ||||
name=p_info.version.encode(), | name=p_info.version.encode(), | ||||
message=b"", | message=None, | ||||
author=EMPTY_AUTHOR, | author=EMPTY_AUTHOR, | ||||
date=None, | date=None, | ||||
target=directory, | target=directory, | ||||
target_type=ObjectType.DIRECTORY, | target_type=ObjectType.DIRECTORY, | ||||
synthetic=True, | synthetic=True, | ||||
) | ) | ||||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |