swh.lister.gnu

Implement first pass of gnu lister to list all the
packages present in https://ftp.gnu.org/
Add GNU lister in README and cli.py

Closes T1722
This commit is contained in:
Archit Agrawal 2019-05-17 15:54:20 +05:30
parent f8a2ae866b
commit 151f6cd223
10 changed files with 298 additions and 1 deletions

View file

@ -177,6 +177,18 @@ logging.basicConfig(level=logging.DEBUG)
incremental_phabricator_lister(forge_url='https://forge.softwareheritage.org', api_token='XXXX')
```
## lister-gnu
Once configured, you can execute a PyPI lister using the following instructions in a `python3` script:
```lang=python
import logging
from swh.lister.gnu.tasks import gnu_lister
logging.basicConfig(level=logging.DEBUG)
gnu_lister()
```
Licensing
---------