swh.lister.cgit
Implemented a lister to list the repos for a given CGit instance. Closes T1659
This commit is contained in:
parent
d85bcdac5b
commit
b972a2a88d
13 changed files with 360 additions and 1 deletions
13
README.md
13
README.md
|
@ -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
|
||||
---------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue