swh-lister/swh/lister/cgit
Antoine R. Dumont (@ardumont) e91e0bf09c
cgit: Allow url to be optional
Some cgit instances are at a domain's root path so we can build their url directly from
their 'instance' parameter.

This unifies further the cli to register a lister and the cli to schedule the listed
origins from a forge.

[1]
```
https://git.kernel.org
https://source.codeaurora.org
https://git.trueelena.org
https://dev.sanctum.geek.nz
https://git.trueelena.org
https://git.dpkg.org
https://anongit.mindrot.org
https://git.aurel32.net
https://gitweb.gentoo.org
https://git.joeyh.name
https://git.adrian.geek.nz
```

Refs. swh/devel/swh-lister#4693
2023-05-23 11:47:51 +02:00
..
tests cgit: Allow url to be optional 2023-05-23 11:47:51 +02:00
__init__.py Port cgit lister to the new lister api 2021-01-25 14:57:45 +01:00
lister.py cgit: Allow url to be optional 2023-05-23 11:47:51 +02:00
tasks.py cgit/tasks: Allow passing extra parameters to task 2023-03-21 12:22:07 +01:00