swh-lister/swh/lister
Antoine R. Dumont (@ardumont) 31efda62e7
gitea.lister: Fix uid to be unique across instance
The gitea lister can be run on multiple instances which could use the same id.
So listing another gitea instance, the current code would fail to insert data
for such case.

This commit fixes that behavior by prefixing the uid with the instance name.

Related to T2577
2020-09-10 11:21:50 +02:00
..
bitbucket tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
cgit tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
core pytest: Define plugin and declare it in the root conftest 2020-09-02 12:25:15 +02:00
cran tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
debian tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
gitea gitea.lister: Fix uid to be unique across instance 2020-09-10 11:21:50 +02:00
github tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
gitlab utils.split_range: Split into not overlapping ranges 2020-09-10 11:01:44 +02:00
gnu tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
launchpad launchpad.tasks: Update copyright headers 2020-09-08 14:42:37 +02:00
npm tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
packagist tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
phabricator tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
pypi tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
tests utils.split_range: Split into not overlapping ranges 2020-09-10 11:01:44 +02:00
__init__.py Enable black 2020-04-08 16:31:22 +02:00
cli.py Enable black 2020-04-08 16:31:22 +02:00
py.typed typing: minimal changes to make a no-op mypy run pass 2019-10-28 15:35:21 +01:00
pytest_plugin.py tests: Separate lister instantiations 2020-09-02 12:49:00 +02:00
utils.py utils.split_range: Split into not overlapping ranges 2020-09-10 11:01:44 +02:00