{"action":"created","issue":{"url":"https://api.github.com/repos/aatxe/irc/issues/142","repository_url":"https://api.github.com/repos/aatxe/irc","labels_url":"https://api.github.com/repos/aatxe/irc/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/aatxe/irc/issues/142/comments","events_url":"https://api.github.com/repos/aatxe/irc/issues/142/events","html_url":"https://github.com/aatxe/irc/issues/142","id":333412433,"node_id":"MDU6SXNzdWUzMzM0MTI0MzM=","number":142,"title":"Write a bot to actually run in continuous integration.","user":{"login":"aatxe","id":744293,"node_id":"MDQ6VXNlcjc0NDI5Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/744293?v=4","gravatar_id":"","url":"https://api.github.com/users/aatxe","html_url":"https://github.com/aatxe","followers_url":"https://api.github.com/users/aatxe/followers","following_url":"https://api.github.com/users/aatxe/following{/other_user}","gists_url":"https://api.github.com/users/aatxe/gists{/gist_id}","starred_url":"https://api.github.com/users/aatxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aatxe/subscriptions","organizations_url":"https://api.github.com/users/aatxe/orgs","repos_url":"https://api.github.com/users/aatxe/repos","events_url":"https://api.github.com/users/aatxe/events{/privacy}","received_events_url":"https://api.github.com/users/aatxe/received_events","type":"User","site_admin":false},"labels":[{"id":128461699,"node_id":"MDU6TGFiZWwxMjg0NjE2OTk=","url":"https://api.github.com/repos/aatxe/irc/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":968288452,"node_id":"MDU6TGFiZWw5NjgyODg0NTI=","url":"https://api.github.com/repos/aatxe/irc/labels/good%20first%20issue","name":"good first issue","color":"6be5dd","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-18T19:55:56Z","updated_at":"2018-10-09T14:53:07Z","closed_at":null,"author_association":"OWNER","body":"It has happened a couple times now (thankfully not in a release version – at least, I don't think) that I've missed breakage that is specifically related to the code that connects to the internet. It would be really cool to have a bot setup that can be run as part of continuous integration to test that specific aspect. I'm sure it still won't catch everything that can go wrong, but it'll at least catch the obvious stuff. The bot should work as follows:\r\n\r\n1. Connect to `irc.pdgn.co`via SSL with some username (idea: `irc-crate-ci`).\r\n2. Join `#commits` which is our channel for commit bots and continuous integration.\r\n3. Send a message like `Hello from Travis CI!`.\r\n4. Send a QUIT message to the server and close out the connection (without error).\r\n\r\nWe can also do something similar without SSL (maybe to a Mozilla IRC channel? Pdgn requires SSL) during continuous integration.\r\n\r\n**BONUS POINTS**: I think Travis sets some environment variables with info about the build being tested? It'd be cool if the message could include some of that info.\r\n"},"comment":{"url":"https://api.github.com/repos/aatxe/irc/issues/comments/428224163","html_url":"https://github.com/aatxe/irc/issues/142#issuecomment-428224163","issue_url":"https://api.github.com/repos/aatxe/irc/issues/142","id":428224163,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODIyNDE2Mw==","user":{"login":"aatxe","id":744293,"node_id":"MDQ6VXNlcjc0NDI5Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/744293?v=4","gravatar_id":"","url":"https://api.github.com/users/aatxe","html_url":"https://github.com/aatxe","followers_url":"https://api.github.com/users/aatxe/followers","following_url":"https://api.github.com/users/aatxe/following{/other_user}","gists_url":"https://api.github.com/users/aatxe/gists{/gist_id}","starred_url":"https://api.github.com/users/aatxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aatxe/subscriptions","organizations_url":"https://api.github.com/users/aatxe/orgs","repos_url":"https://api.github.com/users/aatxe/repos","events_url":"https://api.github.com/users/aatxe/events{/privacy}","received_events_url":"https://api.github.com/users/aatxe/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T14:53:07Z","updated_at":"2018-10-09T14:53:07Z","author_association":"OWNER","body":"Okay, sounds great! Thanks! 😄 "}}
{"actor":{"display_login":"aatxe"}}