bitbucket: Skip buggy page when listing
Some URLs of the repositories endpoint from BitBucket REST API 2.0 can return an error 500. In that case, skip the buggy repositories page and get next one to continue listing and avoid to end it prematurely. Related to #4239
Showing
- swh/lister/bitbucket/lister.py 18 additions, 4 deletionsswh/lister/bitbucket/lister.py
- swh/lister/bitbucket/tests/data/bb_api_repositories_page1.json 1 addition, 1 deletion...ister/bitbucket/tests/data/bb_api_repositories_page1.json
- swh/lister/bitbucket/tests/test_lister.py 36 additions, 1 deletionswh/lister/bitbucket/tests/test_lister.py
Loading
Please register or sign in to comment