swh-lister/swh/lister/gogs
Antoine Lambert b9815ed577 gogs: Ensure to list all repositories
In contrary of gitea listing which does not require to provide the q query
parameter, it is required for the gogs case.

After reading the gogs source code, the /repos/search endpoint generates
a sql request of the form: "SELECT * FROM repos WHERE name LIKE '%{q}%'".
By setting the q parameter value to "_", the LIKE clause acts as a
wildcard and all repositories are ensured to be returned.

Fixes #4698.
2023-06-26 15:16:48 +00:00
..
tests gogs: Ensure to list all repositories 2023-06-26 15:16:48 +00:00
__init__.py gogs: Introduce Gogs lister 2022-08-03 16:22:06 +05:30
lister.py gogs: Ensure to list all repositories 2023-06-26 15:16:48 +00:00
tasks.py gogs, gitea: Fix task execution to pass along extra kwargs 2022-12-14 16:09:56 +01:00