Page MenuHomeSoftware Heritage

D903.id2871.diff
No OneTemporary

D903.id2871.diff

diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -104,13 +104,13 @@
This task should then spawn a series of loader tasks.
-For example, to add a recurring task that will scrape and maintain updated
-the Debian stretch distribution, one can do (from this git repository):
+For example, to add a (one shot) task that will list git repos on the
+0xacab.org gitlab instance, one can do (from this git repository):
```
$ docker-compose run swh-scheduler-api \
swh-scheduler -c remote -u http://swh-scheduler-api:5008/ \
- task add swh-lister-gitlab-full -p oneshot instance=https://0xacab.org
+ task add swh-lister-gitlab-full -p oneshot api_baseurl=https://0xacab.org/api/v4
Created 1 tasks
@@ -121,7 +121,7 @@
Policy: oneshot
Args:
Keyword args:
- instance: https://0xacab.org
+ api_baseurl=https://0xacab.org/api/v4
```
This will insert a new task in the scheduler. To list existing tasks for a
@@ -141,7 +141,7 @@
Policy: oneshot
Args:
Keyword args:
- instance: https://0xacab.org
+ api_baseurl=https://0xacab.org/api/v4
```
To list all existing task types:

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 3, 12:45 PM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3218233

Event Timeline