Skip to content

Add missing maven lister task subscription to lister config

This actually triggers the listing now [1]

  • [1]
swh-lister_1                        | [2022-01-24 10:53:48,054: INFO/ForkPoolWorker-1] Downloading text index from http://swh-lister-maven-nginx/export.fld.
swh-lister_1                        | [2022-01-24 10:53:48,068: INFO/ForkPoolWorker-1] Found 2 poms.
swh-lister_1                        | [2022-01-24 10:53:48,068: INFO/ForkPoolWorker-1] Fetching poms..
swh-lister_1                        | [2022-01-24 10:53:48,068: INFO/ForkPoolWorker-1] Fetching URL https://repo1.maven.org/maven2/al/aldi/sprova4j/0.1.0/sprova4j-0.1.0.pom with params {}
swh-lister_1                        | [2022-01-24 10:53:48,206: INFO/ForkPoolWorker-1] Fetching URL https://repo1.maven.org/maven2/al/aldi/sprova4j/0.1.1/sprova4j-0.1.1.pom with params {}
swh-lister_1                        | [2022-01-24 10:53:48,310: INFO/ForkPoolWorker-1] Task swh.lister.maven.tasks.FullMavenLister[f88b25c8-7237-4887-948b-11371958b0cc] succeeded in 0.2693615449825302s: {'pages': 4, 'origins': 4}

Related to swh/infra/sysadm-environment#3746 (closed)

Test Plan

$ doco up
... (wait for it)
$ swh-doco exec swh-scheduler swh scheduler task add list-maven-full url=https://repo1.maven.org/maven2/ index_url=http://swh-lister-maven-nginx/export.fld

Migrated from D7023 (view on Phabricator)

Merge request reports