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
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 3373
Build 4349: tox-on-jenkinsJenkins
Build 4348: arc lint + arc unit

Event Timeline

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

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

swh/scheduler/cli.py
209

recurring tasks*

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

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.