Page MenuHomeSoftware Heritage

Add a --priority cmdline option to the 'swh-scheduler task add' tool
ClosedPublic

Authored by douardda on Jan 10 2019, 3:54 PM.

Diff Detail

Repository
rDSCH Scheduling utilities
Branch
wip
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 3446
Build 4442: tox-on-jenkinsJenkins
Build 4441: arc lint + arc unit

Event Timeline

ardumont added inline comments.
swh/scheduler/cli.py
208

None is actually a value too.
currently, recurring by default do not have a priority at all.

swh/scheduler/cli.py
208

recurring tasks*

ardumont added inline comments.
swh/scheduler/cli.py
208

To match the actual behavior, as the policy default to recurring, the default of priority matching is None.

This revision now requires changes to proceed.Jan 11 2019, 12:11 PM

set priority default value to None

This revision is now accepted and ready to land.Jan 14 2019, 11:32 AM
This revision was automatically updated to reflect the committed changes.