- [x] Package swh.loader.core v4.2
- [x] Edit chart to add the golang loader and lister
- [x] Add golang lister task to recurring listing [1]
- [x] Lister triggered [2]
- [ ] Let loaders ingest
[1]
```
swhscheduler@scheduler0:~$ swh scheduler --url http://scheduler0.internal.staging.swh.network:5008/ task add list-golang-incremental
Created 1 tasks
Task 33419557
Next run: today (2022-09-22T16:19:15.520781+00:00)
Interval: 1 day, 0:00:00
Type: list-golang-incremental
Policy: recurring
Args:
Keyword args:
```
[2]
```
17:54:45 swh-scheduler@db1:5432=> select now(), lister_id, visit_type, count(*) from listed_origins where lister_id=(select id from listers where name='golang') group by lister_id, visit_type;
+-------------------------------+--------------------------------------+------------+-------+
| now | lister_id | visit_type | count |
+-------------------------------+--------------------------------------+------------+-------+
| 2022-09-22 16:29:35.206863+00 | 46b62892-60b2-4252-b37a-5c3cc84c9a6d | golang | 98612 |
+-------------------------------+--------------------------------------+------------+-------+
(1 row)
Time: 967.805 ms
18:29:36 swh-scheduler@db1:5432=> select now(), lister_id, visit_type, count(*) from listed_origins where lister_id=(select id from listers where name='golang') group by lister_id, visit_type;
+------------------------------+--------------------------------------+------------+-------+
| now | lister_id | visit_type | count |
+------------------------------+--------------------------------------+------------+-------+
| 2022-09-22 16:29:57.37355+00 | 46b62892-60b2-4252-b37a-5c3cc84c9a6d | golang | 99616 |
+------------------------------+--------------------------------------+------------+-------+
(1 row)
Time: 795.562 ms
```