Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-lister
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine R. Dumont
swh-lister
Commits
cba22b7d
Verified
Commit
cba22b7d
authored
6 years ago
by
Antoine R. Dumont
Browse files
Options
Downloads
Patches
Plain Diff
doc: Fix typos according to review
parent
8c5329ce
Branches
lister-pypi
Branches containing commit
Tags
v0.0.15
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+5
-5
5 additions, 5 deletions
README.md
swh/lister/core/lister_transports.py
+2
-2
2 additions, 2 deletions
swh/lister/core/lister_transports.py
swh/lister/pypi/lister.py
+0
-1
0 additions, 1 deletion
swh/lister/pypi/lister.py
with
7 additions
and
8 deletions
README.md
+
5
−
5
View file @
cba22b7d
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
swh/lister/core/lister_transports.py
+
2
−
2
View file @
cba22b7d
...
...
@@ -211,8 +211,8 @@ class SWHListerHttpTransport(abc.ABC):
class
ListerOnePageApiTransport
(
SWHListerHttpTransport
):
"""
Use th
e request library
for
retriev
ing a
basic html page and parse
the
result.
"""
Leverag
e request
s
library
to
retriev
e
basic html page and parse
result.
To be used in conjunction with SWHListerBase or a subclass of it.
...
...
This diff is collapsed.
Click to expand it.
swh/lister/pypi/lister.py
+
0
−
1
View file @
cba22b7d
...
...
@@ -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/
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment