swh.lister.cgit

Implemented a lister to list the repos for a given CGit instance.

Closes T1659
This commit is contained in:
Archit Agrawal 2019-06-19 16:47:01 +05:30
parent d85bcdac5b
commit b972a2a88d
13 changed files with 360 additions and 1 deletions

View file

@ -203,6 +203,19 @@ logging.basicConfig(level=logging.DEBUG)
cran_lister()
```
## lister-cgit
Once configured, you can execute a cgit lister using the following instructions
in a `python3` script:
```lang=python
import logging
from swh.lister.cgit.tasks import cgit_lister
logging.basicConfig(level=logging.DEBUG)
cgit_lister(base_url='http://git.savannah.gnu.org/cgit/')
```
Licensing
---------