3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-18 10:52:18 +00:00

Add --taskstatus

Used for checking tasks in the status db.
Change `SBYStatusDB.all_tasks_status()` to use a `LEFT JOIN` to get a status of `UNKNOWN` for pending or aborted tasks (e.g. because they were ctrl+c'ed).
This commit is contained in:
Krystine Sherwin 2025-07-09 10:06:56 +12:00
parent 9589ce203a
commit cb81a97808
No known key found for this signature in database
3 changed files with 17 additions and 2 deletions

View file

@ -86,6 +86,9 @@ def parser_func(release_version='unknown SBY version'):
parser.add_argument("--statuscancels", action="store_true", dest="status_cancels",
help="intertask cancellations can be triggered by the status database")
parser.add_argument("--taskstatus", action="store_true", dest="task_status",
help="display the status of tasks in the status database")
parser.add_argument("--init-config-file", dest="init_config_file",
help="create a default .sby config file")
parser.add_argument("sbyfile", metavar="<jobname>.sby | <dirname>", nargs="?",