Page MenuHomeSoftware Heritage
Paste P567

scheduler migration script
ActivePublic

Authored by ardumont on Dec 5 2019, 8:38 AM.
* scheduler
Following module migration to their own namespace (D2395):
#+BEGIN_SRC sh
update task_type set backend_name='swh.loader.package.archive.tasks.LoadArchive'
where type='load-archive-files';
update task_type set backend_name='swh.loader.package.debian.tasks.LoadDebian'
where type='load-deb-package';
update task_type set backend_name='swh.loader.package.deposit.tasks.LoadDeposit'
where type='load-deposit';
update task_type set backend_name='swh.loader.package.npm.tasks.LoadNpm'
where type='load-npm';
update task_type set backend_name='swh.loader.package.pypi.tasks.LoadPyPI'
where type='load-pypi';
#+END_SRC