Page MenuHomeSoftware Heritage

task add: Ensure task type provided exist and raise otherwise
ClosedPublic

Authored by ardumont on Dec 7 2022, 12:48 PM.

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D8933 (id=32184)

Rebasing onto cd16fce903...

Current branch diff-target is up to date.
Changes applied before test
commit c221529768903a5be85c6874596d7e4cc13ba322
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Dec 7 12:38:58 2022 +0100

    task add: Make sure task type provided exist and raise otherwise
    
    Related to https://gitlab.softwareheritage.org/infra/sysadm-environment/-/issues/4674

See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/576/ for more details.

vlorentz added a subscriber: vlorentz.
vlorentz added inline comments.
swh/scheduler/cli/task.py
271–273
This revision is now accepted and ready to land.Dec 7 2022, 12:55 PM
ardumont retitled this revision from task add: Make sure task type provided exist and raise otherwise to task add: Ensure task type provided exist and raise otherwise.Dec 7 2022, 12:57 PM
  • Improve implementation according to suggestion
  • Rework commit and diff message

Build is green

Patch application report for D8933 (id=32187)

Rebasing onto cd16fce903...

Current branch diff-target is up to date.
Changes applied before test
commit e2878b5f65d8787e6ad6ca45c21f4333cf1679bb
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Dec 7 12:38:58 2022 +0100

    task add: Ensure task type provided exist and raise otherwise
    
    Related to https://gitlab.softwareheritage.org/infra/sysadm-environment/-/issues/4674

See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/577/ for more details.