From 20232cc36ea79b9195055ee68a6d0ff789a4d0de Mon Sep 17 00:00:00 2001 From: Antoine Lambert <anlambert@softwareheritage.org> Date: Fri, 22 Oct 2021 14:36:02 +0200 Subject: [PATCH] cran: Fix ListedOrigin visit type CRAN origins must be loaded with the cran visit type and not the tar one. Related to T3675 --- swh/lister/cran/lister.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swh/lister/cran/lister.py b/swh/lister/cran/lister.py index 635a7a65..abd7b1ff 100644 --- a/swh/lister/cran/lister.py +++ b/swh/lister/cran/lister.py @@ -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": [ -- GitLab