doc: Fix typos according to review
This commit is contained in:
parent
8c5329ce7c
commit
cba22b7d19
3 changed files with 7 additions and 8 deletions
10
README.md
10
README.md
|
@ -64,7 +64,7 @@ Minimalistic configuration:
|
|||
lister_db_url: postgres:///lister-github
|
||||
credentials: []
|
||||
cache_responses: True
|
||||
cache_dir: /home/zack/.cache/swh/lister/github.com
|
||||
cache_dir: /home/user/.cache/swh/lister/github.com
|
||||
|
||||
Note: This expects storage (5002) and scheduler (5008) services to run locally
|
||||
|
||||
|
@ -102,7 +102,7 @@ Note: This expects storage (5002) and scheduler (5008) services to run locally
|
|||
lister_db_url: postgres:///lister-gitlab
|
||||
credentials: []
|
||||
cache_responses: True
|
||||
cache_dir: /home/zack/.cache/swh/lister/gitlab
|
||||
cache_dir: /home/user/.cache/swh/lister/gitlab
|
||||
|
||||
Note: This expects storage (5002) and scheduler (5008) services to run locally
|
||||
|
||||
|
@ -145,7 +145,7 @@ Note: This expects storage (5002) and scheduler (5008) services to run locally
|
|||
lister_db_url: postgres:///lister-debian
|
||||
credentials: []
|
||||
cache_responses: True
|
||||
cache_dir: /home/zack/.cache/swh/lister/debian
|
||||
cache_dir: /home/user/.cache/swh/lister/debian
|
||||
|
||||
Note: This expects storage (5002) and scheduler (5008) services to run locally
|
||||
|
||||
|
@ -163,7 +163,7 @@ Note: This expects storage (5002) and scheduler (5008) services to run locally
|
|||
...
|
||||
|
||||
|
||||
## lister-debian
|
||||
## lister-pypi
|
||||
|
||||
### preparation steps
|
||||
|
||||
|
@ -188,7 +188,7 @@ Note: This expects storage (5002) and scheduler (5008) services to run locally
|
|||
lister_db_url: postgres:///lister-pypi
|
||||
credentials: []
|
||||
cache_responses: True
|
||||
cache_dir: /home/zack/.cache/swh/lister/pypi
|
||||
cache_dir: /home/user/.cache/swh/lister/pypi
|
||||
|
||||
Note: This expects storage (5002) and scheduler (5008) services to run locally
|
||||
|
||||
|
|
|
@ -211,8 +211,8 @@ class SWHListerHttpTransport(abc.ABC):
|
|||
|
||||
|
||||
class ListerOnePageApiTransport(SWHListerHttpTransport):
|
||||
"""Use the request library for retrieving a basic html page and parse
|
||||
the result.
|
||||
"""Leverage requests library to retrieve basic html page and parse
|
||||
result.
|
||||
|
||||
To be used in conjunction with SWHListerBase or a subclass of it.
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@ from swh.lister.core.lister_transports import ListerOnePageApiTransport
|
|||
|
||||
|
||||
class PyPiLister(ListerOnePageApiTransport, SimpleLister):
|
||||
# Template path expecting an integer that represents the page id
|
||||
MODEL = PyPiModel
|
||||
LISTER_NAME = 'pypi'
|
||||
PAGE = 'https://pypi.org/simple/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue