{"action":"created","issue":{"url":"https://api.github.com/repos/AnotherKamila/tasksched/issues/25","repository_url":"https://api.github.com/repos/AnotherKamila/tasksched","labels_url":"https://api.github.com/repos/AnotherKamila/tasksched/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/AnotherKamila/tasksched/issues/25/comments","events_url":"https://api.github.com/repos/AnotherKamila/tasksched/issues/25/events","html_url":"https://github.com/AnotherKamila/tasksched/issues/25","id":301489994,"number":25,"title":"DISCUSS: Context and Next report support","user":{"login":"evilham","id":4446607,"avatar_url":"https://avatars2.githubusercontent.com/u/4446607?v=4","gravatar_id":"","url":"https://api.github.com/users/evilham","html_url":"https://github.com/evilham","followers_url":"https://api.github.com/users/evilham/followers","following_url":"https://api.github.com/users/evilham/following{/other_user}","gists_url":"https://api.github.com/users/evilham/gists{/gist_id}","starred_url":"https://api.github.com/users/evilham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilham/subscriptions","organizations_url":"https://api.github.com/users/evilham/orgs","repos_url":"https://api.github.com/users/evilham/repos","events_url":"https://api.github.com/users/evilham/events{/privacy}","received_events_url":"https://api.github.com/users/evilham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-01T17:23:20Z","updated_at":"2018-03-01T17:25:01Z","closed_at":null,"author_association":"COLLABORATOR","body":"Right now tasksched basically uses `task export` and, if I recall correctly, it filters by task state on the ELM side of things.\r\n\r\nThis complicates things a bit, like: what about [context](https://taskwarrior.org/docs/context.html) support? Or custom `next` reports?\r\n\r\nI'd think it's kind of to be expected that what is shown on `task` and what is shown on tasksched's interface are the same, which means supporting these two things.\r\n\r\nOne way I'd go about that, would be replacing the `task export` call with three calls:\r\n* `task _get context`: will return the current context or nothing\r\n* `task _get context.$CONTEXT`: will return the filter for the current context OR `task _get report.next.filter` will return the filter for the `next` report\r\n* `task $FILTER export`: will return (and pass to tasksched) the filtered tasks\r\n\r\nIf I recall correctly, spawn should take care of shell escaping, it should be checked in any case (filters contain stuff like `!` and context names can be \"weird\").\r\n\r\nWhat do people using `tasksched` think? :-)"},"comment":{"url":"https://api.github.com/repos/AnotherKamila/tasksched/issues/comments/369665517","html_url":"https://github.com/AnotherKamila/tasksched/issues/25#issuecomment-369665517","issue_url":"https://api.github.com/repos/AnotherKamila/tasksched/issues/25","id":369665517,"user":{"login":"evilham","id":4446607,"avatar_url":"https://avatars2.githubusercontent.com/u/4446607?v=4","gravatar_id":"","url":"https://api.github.com/users/evilham","html_url":"https://github.com/evilham","followers_url":"https://api.github.com/users/evilham/followers","following_url":"https://api.github.com/users/evilham/following{/other_user}","gists_url":"https://api.github.com/users/evilham/gists{/gist_id}","starred_url":"https://api.github.com/users/evilham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilham/subscriptions","organizations_url":"https://api.github.com/users/evilham/orgs","repos_url":"https://api.github.com/users/evilham/repos","events_url":"https://api.github.com/users/evilham/events{/privacy}","received_events_url":"https://api.github.com/users/evilham/received_events","type":"User","site_admin":false},"created_at":"2018-03-01T17:25:00Z","updated_at":"2018-03-01T17:25:00Z","author_association":"COLLABORATOR","body":"Shamelessly pinging people who may be interested in this: @AnotherKamila @robertbasden "}}
{"actor":{"display_login":"evilham"}}