Chore briefs carry a one-time id: delegate the first line, worker prints the brief by id
This commit is contained in:
1 parent
62e79b8342
commit
8aa79ab492
5 files changed
+123
-29
No files matched your search
+3
-2
@@ -34,6 +34,7 @@ Delegation
|
||||
| files | check | why |) before handing out any work; `sisi plan` shows each node
|
||||
sisi plan --done ID EVIDENCE | --fail ID WHY
|
||||
a node you did yourself (the join) is done; or reopen a node
|
||||
sisi chore show ID print the chore brief under this one-time id; delegate just its first line plus "Run `sisi chore show <id>` and do what it says"
|
||||
sisi pick --node ID [--review-of WORKER] [--not WORKER ...] [--limit MINUTES]
|
||||
sisi pick routine|ordinary|hard [--review-of WORKER] [--not WORKER ...] [--limit MINUTES] [--branch NAME]
|
||||
the wheel gives you one worker for a ready plan node (or of a class, for a
|
||||
@@ -74,9 +75,9 @@ def main(argv):
|
||||
if cmd in ("retro", "done"):
|
||||
from . import retro
|
||||
return (retro.run if cmd == "retro" else retro.done)(args)
|
||||
if cmd == "plan":
|
||||
if cmd in ("plan", "chore"):
|
||||
from . import plan
|
||||
return plan.run(args)
|
||||
return plan.run(args) if cmd == "plan" else plan.chore(args)
|
||||
if cmd == "fault":
|
||||
from . import faults
|
||||
return faults.run(args)
|
||||
|
||||
Reference in new issue
Block a user