Add content to the Software Heritage Archival Store
store_swh( origin_url, host = "https://archive.softwareheritage.org", type = "git", ... )
origin_url | The url address to a GitHub, GitLab, or other recognized repository origin |
---|---|
host | the domain name for the Software Heritage API |
type | software repository type, i.e. "git", "svn" |
... | additional arguments |
# \donttest{ store_swh("https://github.com/CSSEGISandData/COVID-19")#> [[1]] #> [[1]]$origin_url #> [1] "https://github.com/CSSEGISandData/COVID-19" #> #> [[1]]$visit_type #> [1] "git" #> #> [[1]]$save_request_date #> [1] "2021-08-22T16:02:24.644887+00:00" #> #> [[1]]$save_request_status #> [1] "accepted" #> #> [[1]]$save_task_status #> [1] "succeeded" #> #> [[1]]$visit_status #> [1] "full" #> #> [[1]]$visit_date #> [1] "2021-08-22T16:23:35.501026+00:00" #> #> [[1]]$loading_task_id #> [1] 398081655 #> #> [[1]]$note #> NULL #> #> #> [[2]] #> [[2]]$origin_url #> [1] "https://github.com/CSSEGISandData/COVID-19" #> #> [[2]]$visit_type #> [1] "git" #> #> [[2]]$save_request_date #> [1] "2020-07-26T14:15:55.214000+00:00" #> #> [[2]]$save_request_status #> [1] "accepted" #> #> [[2]]$save_task_status #> [1] "failed" #> #> [[2]]$visit_status #> NULL #> #> [[2]]$visit_date #> NULL #> #> [[2]]$loading_task_id #> [1] 336717998 #> #> [[2]]$note #> NULL #> #> #> [[3]] #> [[3]]$origin_url #> [1] "https://github.com/CSSEGISandData/COVID-19" #> #> [[3]]$visit_type #> [1] "git" #> #> [[3]]$save_request_date #> [1] "2020-04-10T17:35:50.604000+00:00" #> #> [[3]]$save_request_status #> [1] "accepted" #> #> [[3]]$save_task_status #> [1] "failed" #> #> [[3]]$visit_status #> NULL #> #> [[3]]$visit_date #> NULL #> #> [[3]]$loading_task_id #> [1] 323535826 #> #> [[3]]$note #> NULL #> #> #> [[4]] #> [[4]]$origin_url #> [1] "https://github.com/CSSEGISandData/COVID-19" #> #> [[4]]$visit_type #> [1] "git" #> #> [[4]]$save_request_date #> [1] "2020-03-23T16:41:47.484000+00:00" #> #> [[4]]$save_request_status #> [1] "accepted" #> #> [[4]]$save_task_status #> [1] "failed" #> #> [[4]]$visit_status #> NULL #> #> [[4]]$visit_date #> NULL #> #> [[4]]$loading_task_id #> [1] 320437872 #> #> [[4]]$note #> NULL #> #># }