-
- Downloads
Reimplement Bitbucket lister using new Lister API
The new lister has incremental and full listing capability. It can request the Bitbucket API in anonymous and HTTP basic authentication modes. Rate-limiting is not aggressive and is handled.
parent
9fd91f00
No related branches found
No related tags found
Showing
- requirements-test.txt 1 addition, 0 deletionsrequirements-test.txt
- swh/lister/bitbucket/__init__.py 4 additions, 5 deletionsswh/lister/bitbucket/__init__.py
- swh/lister/bitbucket/lister.py 181 additions, 65 deletionsswh/lister/bitbucket/lister.py
- swh/lister/bitbucket/models.py 0 additions, 16 deletionsswh/lister/bitbucket/models.py
- swh/lister/bitbucket/tasks.py 25 additions, 42 deletionsswh/lister/bitbucket/tasks.py
- swh/lister/bitbucket/tests/conftest.py 1 addition, 1 deletionswh/lister/bitbucket/tests/conftest.py
- swh/lister/bitbucket/tests/data/bb_api_repositories_page1.json 124 additions, 0 deletions...ister/bitbucket/tests/data/bb_api_repositories_page1.json
- swh/lister/bitbucket/tests/data/bb_api_repositories_page2.json 123 additions, 0 deletions...ister/bitbucket/tests/data/bb_api_repositories_page2.json
- swh/lister/bitbucket/tests/data/https_api.bitbucket.org/2.0_repositories,after=1970-01-01T00:00:00+00:00,pagelen=100 0 additions, 806 deletions..._repositories,after=1970-01-01T00:00:00+00:00,pagelen=100
- swh/lister/bitbucket/tests/data/https_api.bitbucket.org/empty_response.json 0 additions, 4 deletions...et/tests/data/https_api.bitbucket.org/empty_response.json
- swh/lister/bitbucket/tests/data/https_api.bitbucket.org/response.json 0 additions, 1 deletion...itbucket/tests/data/https_api.bitbucket.org/response.json
- swh/lister/bitbucket/tests/test_lister.py 177 additions, 113 deletionsswh/lister/bitbucket/tests/test_lister.py
- swh/lister/bitbucket/tests/test_tasks.py 18 additions, 63 deletionsswh/lister/bitbucket/tests/test_tasks.py
Loading