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:
parent
f8a2ae866b
commit
151f6cd223
10 changed files with 298 additions and 1 deletions
12
README.md
12
README.md
|
@ -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
|
||||
---------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue