Changeset View
Changeset View
Standalone View
Standalone View
swh/loader/package/nixguix/loader.py
Show First 20 Lines • Show All 147 Lines • ▼ Show 20 Lines | class NixGuixLoader(PackageLoader): | ||||
) -> Optional[Revision]: | ) -> Optional[Revision]: | ||||
return Revision( | return Revision( | ||||
type=RevisionType.TAR, | type=RevisionType.TAR, | ||||
message=b"", | message=b"", | ||||
author=EMPTY_AUTHOR, | author=EMPTY_AUTHOR, | ||||
date=None, | date=None, | ||||
committer=EMPTY_AUTHOR, | committer=EMPTY_AUTHOR, | ||||
committer_date=None, | committer_date=None, | ||||
parents=[], | parents=(), | ||||
directory=directory, | directory=directory, | ||||
synthetic=True, | synthetic=True, | ||||
metadata={ | metadata={ | ||||
"extrinsic": { | "extrinsic": { | ||||
"provider": self.provider_url, | "provider": self.provider_url, | ||||
"when": self.visit_date.isoformat(), | "when": self.visit_date.isoformat(), | ||||
"raw": a_metadata, | "raw": a_metadata, | ||||
}, | }, | ||||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |