tuleap: initialise lister.
tuleap-lister: fix args in test_task. tuleap-lister: Add rate-limiting test + fix debug and typo. tuleap-lister: code review: fix mocker + tests/setup_cli. tuleap-lister: code review: fix relister > lister. tuleap-lister: code review: fix test_task kwargs. tuleap-lister: code review: Remove authentication useless lines + fix typos. tuleap-lister: code review: improve results_simplified for svn repos. tuleap-lister: code review: add name to CONTRIBUTORS file. tuleap-lister: code review: Update tutorial for misc files to edit. tuleap-lister: code review: Update copyright to 2021 exactly. tuleap-lister: code review: Update py files perms -X. tuleap-lister: code review: minimise json files. tuleap-lister: code review: fix chmod on json files. tuleap-lister: code review: fix var names + add tests. tuleap-lister: code review: fix useless indirection. tuleap-lister: code review: Add empty repo test, minor typo fixes.
This commit is contained in:
parent
2ff549e125
commit
04c0a50706
15 changed files with 433 additions and 2 deletions
|
@ -342,6 +342,25 @@ informational error. You also have to simplify the results, both with filtering
|
|||
parameters if the service supports it, and by extracting from the response only the
|
||||
information needed into a structured page. This all makes for easier debugging.
|
||||
|
||||
Misc files
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
There are also a few files that need to be modified outside of the lister directory, namely:
|
||||
|
||||
* `/setup.py` to add your lister to the end of the list in the *setup* section:
|
||||
|
||||
entry_points="""
|
||||
[swh.cli.subcommands]
|
||||
lister=swh.lister.cli
|
||||
[swh.workers]
|
||||
lister.bitbucket=swh.lister.bitbucket:register
|
||||
lister.cgit=swh.lister.cgit:register
|
||||
..."""
|
||||
|
||||
* `/swh/lister/tests/test_cli.py` to get a default set of parameters in scheduler-related tests.
|
||||
* `/README.md` to reference the new lister.
|
||||
* `/CONTRIBUTORS` to add your name.
|
||||
|
||||
Testing your lister
|
||||
-------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue