{"action":"created","issue":{"url":"https://api.github.com/repos/serokell/yt-utilities/issues/11","repository_url":"https://api.github.com/repos/serokell/yt-utilities","labels_url":"https://api.github.com/repos/serokell/yt-utilities/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/serokell/yt-utilities/issues/11/comments","events_url":"https://api.github.com/repos/serokell/yt-utilities/issues/11/events","html_url":"https://github.com/serokell/yt-utilities/issues/11","id":249639006,"number":11,"title":"Rewrite Slack report format","user":{"login":"georgeee","id":1295394,"avatar_url":"https://avatars0.githubusercontent.com/u/1295394?v=4","gravatar_id":"","url":"https://api.github.com/users/georgeee","html_url":"https://github.com/georgeee","followers_url":"https://api.github.com/users/georgeee/followers","following_url":"https://api.github.com/users/georgeee/following{/other_user}","gists_url":"https://api.github.com/users/georgeee/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeee/subscriptions","organizations_url":"https://api.github.com/users/georgeee/orgs","repos_url":"https://api.github.com/users/georgeee/repos","events_url":"https://api.github.com/users/georgeee/events{/privacy}","received_events_url":"https://api.github.com/users/georgeee/received_events","type":"User","site_admin":false},"labels":[{"id":657683480,"url":"https://api.github.com/repos/serokell/yt-utilities/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"ChShersh","id":4276606,"avatar_url":"https://avatars0.githubusercontent.com/u/4276606?v=4","gravatar_id":"","url":"https://api.github.com/users/ChShersh","html_url":"https://github.com/ChShersh","followers_url":"https://api.github.com/users/ChShersh/followers","following_url":"https://api.github.com/users/ChShersh/following{/other_user}","gists_url":"https://api.github.com/users/ChShersh/gists{/gist_id}","starred_url":"https://api.github.com/users/ChShersh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChShersh/subscriptions","organizations_url":"https://api.github.com/users/ChShersh/orgs","repos_url":"https://api.github.com/users/ChShersh/repos","events_url":"https://api.github.com/users/ChShersh/events{/privacy}","received_events_url":"https://api.github.com/users/ChShersh/received_events","type":"User","site_admin":false},"assignees":[{"login":"ChShersh","id":4276606,"avatar_url":"https://avatars0.githubusercontent.com/u/4276606?v=4","gravatar_id":"","url":"https://api.github.com/users/ChShersh","html_url":"https://github.com/ChShersh","followers_url":"https://api.github.com/users/ChShersh/followers","following_url":"https://api.github.com/users/ChShersh/following{/other_user}","gists_url":"https://api.github.com/users/ChShersh/gists{/gist_id}","starred_url":"https://api.github.com/users/ChShersh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChShersh/subscriptions","organizations_url":"https://api.github.com/users/ChShersh/orgs","repos_url":"https://api.github.com/users/ChShersh/repos","events_url":"https://api.github.com/users/ChShersh/events{/privacy}","received_events_url":"https://api.github.com/users/ChShersh/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-08-11T13:41:05Z","updated_at":"2017-08-15T03:12:38Z","closed_at":null,"body":"We now send message to Slack which looks like:\r\n```\r\n*  CSM-406     Refactor `UserSecret` datatype: Meeting                                                                                                                                    \r\n*  DEVOPS-248  cardano-sl:  uncaught exception: ErrorCall (decodeFull failed for GenesisGtData: DeserialiseFailure 203 \"recreateVssCertificate: invalid sign\": COmment on daily PM meeting\r\n *  DEVOPS-248  cardano-sl:  uncaught exception: ErrorCall (decodeFull failed for GenesisGtData: DeserialiseFailure 203 \"recreateVssCertificate: invalid sign\": Investigate on cause      \r\n *  DEVOPS-248  cardano-sl:  uncaught exception: ErrorCall (decodeFull failed for GenesisGtData: DeserialiseFailure 203 \"recreateVssCertificate: invalid sign\": Rebuild genesis locally    \r\n*  DEVOPS-248  cardano-sl:  uncaught exception: ErrorCall (decodeFull failed for GenesisGtData: DeserialiseFailure 203 \"recreateVssCertificate: invalid sign\": Review logs                \r\n*  SRK-2       Infrastructure and Automatization: Billing                                                                                                                                \r\n *  SRK-2       Infrastructure and Automatization: Daily report                                                                                                                            \r\n*  SRK-2       Infrastructure and Automatization: Trying calendar, instruction                                                                                                            \r\n*  SRK-66      Communication and Meetings: IOHK Chief scientist meeting                                                                                                                  \r\n *  SRK-66      Communication and Meetings: Recap on vatnik                                                                                                                                \r\n*  SRK-70      Tooling for time tracking: export from org-mode to YT: Fix issue #4\r\n```\r\n\r\nIt was written quickly and suffers from number of problems:\r\n1. Trailing spaces\r\n2. Long issue descriptions are followed by long item descriptions (unreadable)\r\n3. Private, non-informative (for team) items shouldn't be included (such as \"SRK-2 Billing\", \"SRK-2 Daily report\")\r\n\r\nSo we need to address this by:\r\n* Not using prettybox (and use simple formatter) to solve 1.\r\n* Split issue descriptions as will be shown in example below (put items as sublist for issue)\r\n* Add support for tag `:ytprv:` to mark private items\r\n   * Private items should be shown with `--mode=Local`, should be sent to YT\r\n   * Private items shouldn't be posted to Slack, shouldn't be printed with `--mode=Local2YT`, `--mode=Dry`, `--mode=Export`\r\n\r\nExample of report after change (given `:ytprv:` was set for \"Billing\", \"Daily report\"):\r\n```\r\n*  CSM-406 Refactor `UserSecret` datatype:\r\n       - Meeting                                                                                                                                    \r\n*  DEVOPS-248 cardano-sl:  uncaught exception: ErrorCall (decodeFull failed for GenesisGtData: DeserialiseFailure 203 \"recreateVssCertificate: invalid sign\"\r\n       - Comment on daily PM meeting\r\n       - Investigate on cause\r\n       - Rebuild genesis locally\r\n       - Review logs                \r\n*  SRK-2 Infrastructure and Automatization:\r\n       - Trying calendar, instruction                                                                                                            \r\n*  SRK-66 Communication and Meetings:\r\n       - IOHK Chief scientist meeting\r\n       - Recap on vatnik                                                                                                                                \r\n*  SRK-70 Tooling for time tracking:\r\n       - export from org-mode to YT: Fix issue #4\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/serokell/yt-utilities/issues/comments/322366218","html_url":"https://github.com/serokell/yt-utilities/issues/11#issuecomment-322366218","issue_url":"https://api.github.com/repos/serokell/yt-utilities/issues/11","id":322366218,"user":{"login":"georgeee","id":1295394,"avatar_url":"https://avatars0.githubusercontent.com/u/1295394?v=4","gravatar_id":"","url":"https://api.github.com/users/georgeee","html_url":"https://github.com/georgeee","followers_url":"https://api.github.com/users/georgeee/followers","following_url":"https://api.github.com/users/georgeee/following{/other_user}","gists_url":"https://api.github.com/users/georgeee/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeee/subscriptions","organizations_url":"https://api.github.com/users/georgeee/orgs","repos_url":"https://api.github.com/users/georgeee/repos","events_url":"https://api.github.com/users/georgeee/events{/privacy}","received_events_url":"https://api.github.com/users/georgeee/received_events","type":"User","site_admin":false},"created_at":"2017-08-15T03:12:38Z","updated_at":"2017-08-15T03:12:38Z","body":"`:ytprv` is still pending after merging PR"}}
{"actor":{"display_login":"georgeee"}}