swh-lister/swh/lister
Antoine R. Dumont (@ardumont) fc2edd24aa
launchpad: Manage unhandled exceptions when listing
Prior to this commit, the listing could fail when either reading a page or the page of
results (lauchpad api raises RestfulError). This now retries when those kind of
exceptions happen. If the error persists (after multiple tryouts and exponential
backoff), the listing continues nonetheless (with warning logs).

Note that if the page ends up being empty, it's no longer accounted for.

This actually allows the listing to finish in case of issues.

Related to T3945
2022-02-17 12:11:09 +01:00
..
bitbucket mypy: Fix errors with release >= v0.900 2021-06-09 14:02:23 +02:00
cgit cgit: Enable to retry throttled HTTP requests 2021-10-22 15:15:05 +02:00
cran cran: Pass the package name to the loader 2021-11-09 15:04:01 +01:00
debian debian/test_lister: Fix typo detected with codespell 2022-02-10 16:25:42 +01:00
gitea pattern: Use URL network location as instance name when not provided 2021-07-13 12:33:49 +02:00
github Deduplicate origins in the GitHub lister 2021-12-01 16:00:14 +01:00
gitlab Remove no longer needed tenacity workarounds 2021-12-08 13:28:11 +01:00
gnu gnu: Respect the pattern docstring about state initialization 2021-09-21 11:17:16 +02:00
launchpad launchpad: Manage unhandled exceptions when listing 2022-02-17 12:11:09 +01:00
maven maven: Fix last update datetime 2022-02-09 16:59:40 +01:00
npm Remove no longer used models field in dict returned by register 2021-02-02 16:33:52 +01:00
opam opam: Stop leaking temporary folders on machine 2021-11-10 16:58:35 +01:00
packagist packagist: Reimplement lister using new Lister API 2021-02-02 14:48:47 +01:00
phabricator pattern: Use URL network location as instance name when not provided 2021-07-13 12:33:49 +02:00
pypi Remove no longer needed tenacity workarounds 2021-12-08 13:28:11 +01:00
sourceforge sourceforge: fix support for listing bzr origins 2022-02-14 14:56:38 +01:00
tests Remove no longer needed tenacity workarounds 2021-12-08 13:28:11 +01:00
tuleap pattern: Use URL network location as instance name when not provided 2021-07-13 12:33:49 +02:00
__init__.py Hook up listers implemented with the new pattern to the CLI 2021-01-11 11:00:29 +01:00
cli.py Remove no longer used legacy Lister API and update CLI options 2021-02-02 15:54:55 +01:00
pattern.py pattern: Use URL network location as instance name when not provided 2021-07-13 12:33:49 +02:00
py.typed typing: minimal changes to make a no-op mypy run pass 2019-10-28 15:35:21 +01:00
utils.py Remove no longer needed tenacity workarounds 2021-12-08 13:28:11 +01:00