- class swh.lister.tuleap.lister.TuleapLister(scheduler: SchedulerInterface, url: str, 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)#
List origins from Tuleap.
Tuleap provides SVN and Git repositories hosting.
Tuleap API getting started: https://tuleap.net/doc/en/user-guide/integration/rest.html Tuleap API reference: https://tuleap.net/api/explorer/
Using the API we first request a list of projects, and from there request their associated repositories individually. Everything is paginated, code uses throttling at the individual GET call level.
- REPO_LIST_PATH = '/api'#
- REPO_GIT_PATH = 'plugins/git/'#
- REPO_SVN_PATH = 'plugins/svn/'#
- get_pages() Iterator[Dict[str, Any]] #
Retrieve a list of pages of listed results. This is the main loop of the lister.
an iterator of raw pages fetched from the platform currently being listed.