swh.lister.stagit.lister module#
- class swh.lister.stagit.lister.StagitLister(scheduler: SchedulerInterface, url: str | None = None, instance: str | None = None, credentials: Dict[str, Dict[str, List[Dict[str, str]]]] | None = None, max_origins_per_page: int | None = None, max_pages: int | None = None, enable_origins: bool = True)[source]#
Bases:
StatelessLister
[List
[Dict
[str
,Any
]]]Lister class for Stagit forge instances.
This lister will retrieve the list of published git repositories by parsing the HTML page(s) of the index retrieved at url.
Lister class for Stagit repositories.
- Parameters:
url – (Optional) Root URL of the Stagit instance, i.e. url of the index of published git repositories on this instance. Defaults to
https://instance
if unset.instance – Name of stagit instance. Defaults to url’s network location if unset.