Commit graph

19 commits

Author SHA1 Message Date
Antoine Lambert
bde37867d8 docs: Fix broken external links
Those were spotted thanks to the sphinx linkcheck builder
2025-02-20 10:15:54 +00:00
Antoine Lambert
4f57e84450 Use http_retry decorator from swh.core.retry module
The http_retry decorator has been moved to swh-core package in order
to ease its reuse across swh packages.
2023-04-13 14:19:57 +02:00
Antoine Lambert
9c55acd286 Use generic HTTP retry policy by default and rename dedicated decorator
Instead of retrying HTTP requests only for 429 status code by default,
prefer to use the generic retry policy enabling to also retry for status
codes >= 500 but also on ConnectionError exceptions.

Rename throttling_retry decorator to http_retry to reflect this change.
2022-09-26 10:48:40 +02:00
Valentin Lorentz
f6ca1dc3dc docs: Fix ReST syntax 2022-01-24 16:57:38 +01:00
Valentin Lorentz
771c406710 Fix ReST syntax 2022-01-21 11:04:51 +01:00
Antoine R. Dumont (@ardumont)
40e227efac
docs: Fix sphinx warning
Related to D6967
2022-01-19 10:24:26 +01:00
Boris Baldassari
04c0a50706 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.
2021-05-26 11:09:12 +02:00
Valentin Lorentz
40e1916510 Fix various Sphinx warnings 2021-04-13 21:56:08 +02:00
Valentin Lorentz
465506a0ce Remove old lister tutorial.
Sphinx complains because it's an orphan document.
2021-04-13 18:31:31 +02:00
tenma
2e17729e97
docs: Add new "howto write a lister tutorial" with unified lister api
This adds a new tutorial which details how to currently write the new listers (both
incremental or stateless). This proposes a python template file to start a new lister.

At last, this renames the previous tutorial into tutorial-2017.

Related to T3073
2021-02-26 16:05:18 +01:00
David Douard
3ddfd00e90 Fix typos (and trailing ws) reported by codespell 2019-11-21 14:11:18 +01:00
Antoine R. Dumont (@ardumont)
481b30c540
docs: Fix toc
Related T1984
2019-09-06 12:31:06 +02:00
Antoine R. Dumont (@ardumont)
b3463ecddc
Drop SWH prefix in classes everywhere
It's redundant with the swh modules in itself.
2019-06-20 19:08:46 +02:00
Archit Agrawal
8d1b5d2d2d Add new page "run_a new_lister"
Add new page in lister tutorial which guides
through the process of running a new lister in
docker.
2019-06-20 14:01:13 +05:30
Archit Agrawal
b2c6ddc35b tutorial: Add testing and how to run section
Add testing section for lister. Also added how to run a
new lister section which elaborates about the steps
required to run the now lister in docker
2019-06-20 14:01:13 +05:30
David Douard
2fa3908283 docs: prevent sphinx from complaining about tutorial.rst not being included 2018-11-09 11:21:08 +01:00
Antoine R. Dumont (@ardumont)
d9a25865a2
docs/tutorials: Format sentences 2018-06-26 10:48:12 +02:00
Antoine R. Dumont (@ardumont)
4b351321d8
docs/tutorials: Remove blank spaces 2018-06-26 10:48:03 +02:00
Stefano Zacchiroli
b8ad57fc05 docs: integrate swh-lister tutorial
originally appeared on the Software Heritage blog at
https://www.softwareheritage.org/2017/03/24/list-the-content-of-your-favorite-forge-in-just-a-few-steps/
by Avi Kelman

Closes T762
2017-11-02 17:53:30 +01:00