Page MenuHomeSoftware Heritage

lister configuration: Add launchpad lister tasks
ClosedPublic

Authored by ardumont on Tue, Sep 8, 10:10 AM.

Details

Summary

Related to T2358

Test Plan

octocatalog:

 bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging worker0.internal.staging.swh.network
Found host worker0.internal.staging.swh.network
Cloning into '/tmp/swh-ocd.mf0COsa2/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.mf0COsa2/environments/staging/data/private'...
done.
*** Running octocatalog-diff on host worker0.internal.staging.swh.network
I, [2020-09-08T10:08:57.152038 #8588]  INFO -- : Catalogs compiled for worker0.internal.staging.swh.network
I, [2020-09-08T10:08:58.162164 #8588]  INFO -- : Diffs computed for worker0.internal.staging.swh.network
diff origin/production/worker0.internal.staging.swh.network current/worker0.internal.staging.swh.network
*******************************************
  File[/etc/softwareheritage/lister.yml] =>
   parameters =>
     content =>
      @@ -24,4 +24,5 @@
         - swh.lister.gitlab.tasks.FullGitLabRelister
         - swh.lister.gnu.tasks.GNUListerTask
      +  - swh.lister.launchpad.tasks.FullLaunchpadlister
         - swh.lister.npm.tasks.NpmListerTask
         - swh.lister.phabricator.tasks.FullPhabricatorLister
*******************************************
*** End octocatalog-diff on worker0.internal.staging.swh.network

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont created this revision.Tue, Sep 8, 10:10 AM
ardumont retitled this revision from lister: Add launchpad lister to lister configuration: Add launchpad lister tasks.Tue, Sep 8, 10:11 AM
ardumont updated this revision to Diff 13711.Tue, Sep 8, 10:12 AM

Update to add both full and incremental tasks

LGTM

Octocatalog-diff test :

➜  puppet-environment git:(master) ✗ bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to arcpatch_D3884 worker0.internal.staging.swh.network
Found host worker0.internal.staging.swh.network
WARN     -> Environment "arcpatch-D3884" contained non-word characters, correcting name to arcpatch_D3884
Cloning into '/tmp/swh-ocd.e8lQMoZ0/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.e8lQMoZ0/environments/arcpatch_D3884/data/private'...
done.
*** Running octocatalog-diff on host worker0.internal.staging.swh.network
I, [2020-09-08T10:45:12.720125 #4652]  INFO -- : Catalogs compiled for worker0.internal.staging.swh.network
I, [2020-09-08T10:45:13.707209 #4652]  INFO -- : Diffs computed for worker0.internal.staging.swh.network
diff origin/production/worker0.internal.staging.swh.network current/worker0.internal.staging.swh.network
*******************************************
  File[/etc/softwareheritage/lister.yml] =>
   parameters =>
     content =>
      @@ -24,4 +24,6 @@
         - swh.lister.gitlab.tasks.FullGitLabRelister
         - swh.lister.gnu.tasks.GNUListerTask
      +  - swh.lister.launchpad.tasks.FullLaunchpadLister
      +  - swh.lister.launchpad.tasks.IncrementalLaunchpadLister
         - swh.lister.npm.tasks.NpmListerTask
         - swh.lister.phabricator.tasks.FullPhabricatorLister
*******************************************
*** End octocatalog-diff on worker0.internal.staging.swh.network
vsellier accepted this revision.Tue, Sep 8, 10:59 AM
This revision is now accepted and ready to land.Tue, Sep 8, 10:59 AM
This revision was automatically updated to reflect the committed changes.