Those will be used by the save code now from now on.
The same logic will be applied to svn and mercurial loaders (probably without diff
though).
Related to T3084
Differential D5488
Define high level load-git-high task ardumont on Apr 13 2021, 10:22 AM. Authored by
Details
Those will be used by the save code now from now on. The same logic will be applied to svn and mercurial loaders (probably without diff Related to T3084
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D5488 (id=19625)Rebasing onto 8327ec6d52... Current branch diff-target is up to date. Changes applied before testcommit 5ad24ab5fd015509295951f881dbb74d58bead86 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Tue Apr 13 10:13:32 2021 +0200 Define high level load-git-high task Related to T3084 See https://jenkins.softwareheritage.org/job/DLDG/job/tests-on-diff/95/ for more details. Comment Actions I don't understand why this is needed. Aren't we be able to explicitly send instances of the existing swh.loader.git.tasks.UpdateGitRepository task to a separate queue, and have a celery process consume the "regular" tasks from that queue directly? Comment Actions
I thought we could but in the end, I don't really see how. I initially intended to use The scheduler runner is working on a specific queue per task type, not multiple queues. At this time though, if we reroute messages to the new queue, we will have:
Overall though, that feels quite incomplete and it will make the code less readable. Furthermore, note that I don't understand what setup is required for the new worker to All in all, it feels to me the simpler would be to open new messages for a dedicated I'm open to suggestion as i'm hitting a wall :) (Your latest suggestion in the swh-site don't work out for now and i'm also struggling to (please, exscuse the "brevity" but i lost my first response) Comment Actions
Finally ok, i hitted some strange behavior (because registering new task type with Comment Actions Build is green Patch application report for D5488 (id=19640)Rebasing onto 8327ec6d52... Current branch diff-target is up to date. Changes applied before testcommit 2b7ade1a2e2714fe69b116676aefb346710829f1 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Tue Apr 13 10:13:32 2021 +0200 Define high level load-git-high task Related to T3084 See https://jenkins.softwareheritage.org/job/DLDG/job/tests-on-diff/96/ for more details. |