| `task.config` file in project `All-Projects` on ref `refs/meta/config`. | |
| ``` | |
| [root "Root Task PATHS"] | |
| subtask = subtask pass | |
| [task "subtask pass"] | |
| applicable = is:open | |
| pass = is:open | |
| { | |
| "applicable" : true, | |
| "hasPass" : false, | |
| "name" : "Root Task PATHS", | |
| "path" : { | |
| "ref" : "refs/meta/config", | |
| "file" : "task.config", | |
| "name" : "Root Task PATHS", | |
| "project" : "All-Projects", | |
| "type" : "root" | |
| }, | |
| "status" : "PASS", | |
| "subTasks" : [ | |
| { | |
| "applicable" : true, | |
| "hasPass" : true, | |
| "name" : "subtask pass", | |
| "path" : { | |
| "ref" : "refs/meta/config", | |
| "file" : "task.config", | |
| "name" : "subtask pass", | |
| "project" : "All-Projects", | |
| "type" : "task" | |
| }, | |
| "status" : "PASS" | |
| } | |
| ] | |
| } | |
| [root "Root other FILE"] | |
| applicable = is:open | |
| subtasks-file = common.config | |
| { | |
| "applicable" : true, | |
| "hasPass" : false, | |
| "name" : "Root other FILE", | |
| "path" : { | |
| "ref" : "refs/meta/config", | |
| "file" : "task.config", | |
| "name" : "Root other FILE", | |
| "project" : "All-Projects", | |
| "type" : "root" | |
| }, | |
| "status" : "WAITING", | |
| "subTasks" : [ | |
| { | |
| "applicable" : true, | |
| "hasPass" : true, | |
| "name" : "file task/common.config PASS", | |
| "path" : { | |
| "ref" : "refs/meta/config", | |
| "file" : "task/common.config", | |
| "name" : "file task/common.config PASS", | |
| "project" : "All-Projects", | |
| "type" : "task" | |
| }, | |
| "status" : "PASS" | |
| }, | |
| { | |
| "applicable" : true, | |
| "hasPass" : true, | |
| "name" : "file task/common.config FAIL", | |
| "path" : { | |
| "ref" : "refs/meta/config", | |
| "file" : "task/common.config", | |
| "name" : "file task/common.config FAIL", | |
| "project" : "All-Projects", | |
| "type" : "task" | |
| }, | |
| "status" : "FAIL" | |
| } | |
| ] | |
| } | |
| [root "Root tasks-factory"] | |
| subtasks-factory = tasks-factory example | |
| [tasks-factory "tasks-factory example"] | |
| names-factory = names-factory example list | |
| [names-factory "names-factory example list"] | |
| type = static | |
| name = my a task | |
| name = my b task | |
| { | |
| "applicable" : true, | |
| "hasPass" : false, | |
| "name" : "Root tasks-factory", | |
| "path" : { | |
| "ref" : "refs/meta/config", | |
| "file" : "task.config", | |
| "name" : "Root tasks-factory", | |
| "project" : "All-Projects", | |
| "type" : "root" | |
| }, | |
| "status" : "WAITING", | |
| "subTasks" : [ | |
| { | |
| "applicable" : true, | |
| "hasPass" : false, | |
| "name" : "my a task", | |
| "path" : { | |
| "ref" : "refs/meta/config", | |
| "file" : "task.config", | |
| "name" : "my a task", | |
| "project" : "All-Projects", | |
| "tasksFactory" : "tasks-factory example", | |
| "type" : "tasks-factory" | |
| }, | |
| "status" : "INVALID" | |
| }, | |
| { | |
| "applicable" : true, | |
| "hasPass" : false, | |
| "name" : "my b task", | |
| "path" : { | |
| "ref" : "refs/meta/config", | |
| "file" : "task.config", | |
| "name" : "my b task", | |
| "project" : "All-Projects", | |
| "tasksFactory" : "tasks-factory example", | |
| "type" : "tasks-factory" | |
| }, | |
| "status" : "INVALID" | |
| } | |
| ] | |
| } | |
| [root "Root other PROJECT"] | |
| subtasks-external = user ref | |
| [external "user ref"] | |
| user = testuser | |
| file = common.config | |
| { | |
| "applicable" : true, | |
| "hasPass" : false, | |
| "name" : "Root other PROJECT", | |
| "path" : { | |
| "ref" : "refs/meta/config", | |
| "file" : "task.config", | |
| "name" : "Root other PROJECT", | |
| "project" : "All-Projects", | |
| "type" : "root" | |
| }, | |
| "status" : "WAITING", | |
| "subTasks" : [ | |
| { | |
| "applicable" : true, | |
| "hasPass" : true, | |
| "name" : "file task/common.config PASS", | |
| "path" : { | |
| "ref" : "{testuser_user_ref}", | |
| "file" : "task/common.config", | |
| "name" : "file task/common.config PASS", | |
| "project" : "All-Users", | |
| "user" : "testuser", | |
| "type" : "task" | |
| }, | |
| "status" : "PASS" | |
| }, | |
| { | |
| "applicable" : true, | |
| "hasPass" : true, | |
| "name" : "file task/common.config FAIL", | |
| "path" : { | |
| "ref" : "{testuser_user_ref}", | |
| "file" : "task/common.config", | |
| "name" : "file task/common.config FAIL", | |
| "project" : "All-Users", | |
| "user" : "testuser", | |
| "type" : "task" | |
| }, | |
| "status" : "FAIL" | |
| } | |
| ] | |
| } | |
| ``` | |
| `task.config` file in project `All-Projects` on ref `refs/meta/config`. | |
| ``` | |
| [root "Root Capability Error"] | |
| applicable = is:open | |
| pass = true | |
| { | |
| "applicable" : true, | |
| "hasPass" : true, | |
| "name" : "Root Capability Error", | |
| "path" : { | |
| "error" : "Can't perform operation, need viewTaskPaths capability" | |
| }, | |
| "status" : "PASS" | |
| } | |
| ``` |