Skip to content

send-to-celery: Add more options to allow scheduling of edge case origins

In some cases, we may want to trigger specific origins (not-yet enabled, from a specific lister...).

Example use case:

swh scheduler -C $SWH_CONFIG_FILENAME  \
  origin send-to-celery \
    --policy never_visited_oldest_update_first  \
    --only-disabled \
    --lister-uuid 'b678cfc3-2780-4186-9186-d78a14bd4958' \
    --queue oneshot:swh.loader.git.tasks.UpdateGitRepository \
    git

Related to swh/infra/sysadm-environment#3350 (closed) Depends on !234 (closed)

Test Plan

none


Migrated from D5818 (view on Phabricator)

Merge request reports