{"action":"created","issue":{"url":"https://api.github.com/repos/kmyr/scrum/issues/4","labels_url":"https://api.github.com/repos/kmyr/scrum/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/kmyr/scrum/issues/4/comments","events_url":"https://api.github.com/repos/kmyr/scrum/issues/4/events","html_url":"https://github.com/kmyr/scrum/issues/4","id":96097766,"number":4,"title":"next steps","user":{"login":"kmyr","id":432668,"avatar_url":"https://avatars.githubusercontent.com/u/432668?v=3","gravatar_id":"","url":"https://api.github.com/users/kmyr","html_url":"https://github.com/kmyr","followers_url":"https://api.github.com/users/kmyr/followers","following_url":"https://api.github.com/users/kmyr/following{/other_user}","gists_url":"https://api.github.com/users/kmyr/gists{/gist_id}","starred_url":"https://api.github.com/users/kmyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmyr/subscriptions","organizations_url":"https://api.github.com/users/kmyr/orgs","repos_url":"https://api.github.com/users/kmyr/repos","events_url":"https://api.github.com/users/kmyr/events{/privacy}","received_events_url":"https://api.github.com/users/kmyr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-07-20T16:08:30Z","updated_at":"2015-07-27T10:05:39Z","closed_at":null,"body":"# Feature list\r\n**Current**\r\n - `scrum start session`\r\n - `scrum start session window`\r\n - `scrum open session`\r\n - `scrum kill session`\r\n\r\n**Desired**\r\n - A scrum daemon. Keep track of all scrum sessions that have been started. Keep track of their windows. Protocol? UNIX socket?\r\n - `scrum open session window`\r\n - `scrum kill session window`\r\n - `scrum status`\r\n - `scrum status session`\r\n - `scrum status session window`\r\n\r\n# Misc todo\r\n - Do not open extra bash window (or rather close it once other windows are open)\r\n - Rename kill to end or stop?\r\n - Shorthand window names? Mapped to full name, e.g. scrum start node-services am. This allows the full name to be the title, but for us to know it by another name when executing commands. Essentially turning the window title into more of a descriptive header.\r\n - Building on shorthand: include pid in title.\r\n - Record and keep track of window number for each started window so that it can be used for commands in place of window name? This works hand in hand with shorthand.\r\n\r\n# Moonshot\r\n - **Would it be possible to do individual ssh's in different windows (similar to cwd) and thus end up with a serssion showing terminals from not just separate processes but separate servers? That would be very neat.**\r\n - A way to chroot sessions and / or windows\r\n - Some kind of integration (or instructions for working) with a deployment system / strategy\r\n\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/kmyr/scrum/issues/comments/125153765","html_url":"https://github.com/kmyr/scrum/issues/4#issuecomment-125153765","issue_url":"https://api.github.com/repos/kmyr/scrum/issues/4","id":125153765,"user":{"login":"kmyr","id":432668,"avatar_url":"https://avatars.githubusercontent.com/u/432668?v=3","gravatar_id":"","url":"https://api.github.com/users/kmyr","html_url":"https://github.com/kmyr","followers_url":"https://api.github.com/users/kmyr/followers","following_url":"https://api.github.com/users/kmyr/following{/other_user}","gists_url":"https://api.github.com/users/kmyr/gists{/gist_id}","starred_url":"https://api.github.com/users/kmyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmyr/subscriptions","organizations_url":"https://api.github.com/users/kmyr/orgs","repos_url":"https://api.github.com/users/kmyr/repos","events_url":"https://api.github.com/users/kmyr/events{/privacy}","received_events_url":"https://api.github.com/users/kmyr/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T10:05:39Z","updated_at":"2015-07-27T10:05:39Z","body":"```\r\npid=`echo $$`\r\nppid=`ps -p $$ -o ppid= | tr -d ' '`\r\necho \"{\\\"cmd\\\": \\\"started\\\", \\\"data\\\": {\\\"pid\\\": \\\"$pid\\\", \\\"ppid\\\": \\\"$ppid\\\"}}\" | nc -U \"/tmp/scrumd.sock\"\r\n```\r\n\r\n```\r\nnet = require \"net\"\r\n\r\nserver = net.createServer (sock) ->\r\n    sock.on \"data\", (packet) ->\r\n        console.log JSON.parse packet\r\n    return\r\nserver.listen \"/tmp/scrumd.sock\"\r\n```"}}