pagure: Implement lister for pagure forges

Pagure is a git-centered forge, python based using pygit2.

Its REST API enables to easily list all projects hosted in an
instance so the lister implementation is quite simple.

Related to swh/meta#5043.
This commit is contained in:
Antoine Lambert 2023-06-23 09:02:49 +00:00
parent ad6644a663
commit c81c473a83
10 changed files with 376 additions and 0 deletions

View file

@ -41,6 +41,7 @@ lister_args = {
"fedora": {
"url": "https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/",
},
"pagure": {"instance": "pagure.io"},
}