Add forge now - process https://git.iws.uni-stuttgart.de
https://archive.softwareheritage.org/admin/add-forge/request/27/
staging:
-
Register lister [1] -
Schedule origins listed by lister [2] -
Checks [3]
production:
-
Register lister [4] -
Schedule origins listed by lister [5] -
Checks [6]
[1]
swhscheduler@scheduler0:~$ swh scheduler --url $SCHEDULER_RPC \
> add-forge-now --preset staging \
> register-lister $LISTER_NAME \
> url=$FORGE_URL
Created 1 tasks
Task 33420200
Next run: today (2023-01-05T13:16:18.622237+00:00)
Interval: 90 days, 0:00:00
Type: list-gitlab-full
Policy: oneshot
Args:
Keyword args:
enable_origins: False
max_origins_per_page: 10
max_pages: 3
url: 'https://git.iws.uni-stuttgart.de/api/v4'
[2]
swhscheduler@scheduler0:~$ swh scheduler --url $SCHEDULER_RPC \
> add-forge-now --preset staging \
> schedule-first-visits \
> --type-name git \
> --lister-name $LISTER_NAME \
> --lister-instance-name $LISTER_INSTANCE_NAME
100 slots available in celery queue
20 visits to send to celery
[3]
2023-01-05 14:29:07 swh-scheduler@db1:5432 λ select last_visit_status, count(ovs.url)
from origin_visit_stats ovs
join listed_origins lo USING(url, visit_type)
where lister_id = (select id from listers
where name='gitlab' and
instance_name='git.iws.uni-stuttgart.de')
and visit_type='git'
group by last_visit_status;
+-------------------+-------+
| last_visit_status | count |
+-------------------+-------+
| successful | 20 |
+-------------------+-------+
(1 row)
Time: 1941.120 ms (00:01.941)
[4]
swhscheduler@saatchi:~$ swh scheduler --url $SCHEDULER_RPC \
> add-forge-now \
> register-lister $LISTER_NAME \
> url=$FORGE_URL
Created 1 tasks
Task 415264890
Next run: today (2023-01-05T13:23:47.467638+00:00)
Interval: 90 days, 0:00:00
Type: list-gitlab-full
Policy: recurring
Args:
Keyword args:
url: 'https://git.iws.uni-stuttgart.de/api/v4'
Created 1 tasks
Task 415264891
Next run: tomorrow (2023-01-06T13:23:47.491484+00:00)
Interval: 1 day, 0:00:00
Type: list-gitlab-incremental
Policy: recurring
Args:
Keyword args:
url: 'https://git.iws.uni-stuttgart.de/api/v4'
[5]
swhscheduler@saatchi:~$ swh scheduler --url $SCHEDULER_RPC \
> add-forge-now \
> schedule-first-visits \
> --type-name git \
> --lister-name $LISTER_NAME \
> --lister-instance-name $LISTER_INSTANCE_NAME
10000 slots available in celery queue
186 visits to send to celery
[6]
2023-01-05 14:41:20 softwareheritage-scheduler@belvedere:5432 λ select last_visit_status, count(ovs.url)
from origin_visit_stats ovs
join listed_origins lo USING(url, visit_type)
where lister_id = (select id from listers
where name='gitlab' and
instance_name='git.iws.uni-stuttgart.de')
and visit_type='git'
group by last_visit_status;
+-------------------+-------+
| last_visit_status | count |
+-------------------+-------+
| successful | 13 |
| (null) | 173 |
+-------------------+-------+
(2 rows)
Time: 141234.664 ms (02:21.235)
Edited by Antoine R. Dumont