swh.lister.packagist
Implement a packagist lister to list the names and metadata url of all the packages. Closes 1776
This commit is contained in:
parent
08ade29e6d
commit
5727f15cf3
12 changed files with 246 additions and 2 deletions
14
README.md
14
README.md
|
@ -19,6 +19,7 @@ following Python modules:
|
|||
- `swh.lister.phabricator`
|
||||
- `swh.lister.cran`
|
||||
- `swh.lister.cgit`
|
||||
- `swh.lister.packagist`
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
@ -221,6 +222,19 @@ cgit_lister(url='https://cgit.kde.org/',
|
|||
url_prefix='https://anongit.kde.org/')
|
||||
```
|
||||
|
||||
## lister-packagist
|
||||
|
||||
Once configured, you can execute a Packagist lister using the following instructions
|
||||
in a `python3` script:
|
||||
|
||||
```lang=python
|
||||
import logging
|
||||
from swh.lister.packagist.tasks import packagist_lister
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
packagist_lister()
|
||||
```
|
||||
|
||||
Licensing
|
||||
---------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue