cran: Fix ListedOrigin visit type

CRAN origins must be loaded with the cran visit type and not the tar one.

Related to T3675
This commit is contained in:
Antoine Lambert 2021-10-22 14:36:02 +02:00
parent 5bba1a783a
commit 20232cc36e

View file

@ -60,7 +60,7 @@ class CRANLister(StatelessLister[PageType]):
yield ListedOrigin(
lister_id=self.lister_obj.id,
url=origin_url,
visit_type="tar",
visit_type="cran",
last_update=parse_packaged_date(package_info),
extra_loader_arguments={
"artifacts": [