{"action":"created","issue":{"url":"https://api.github.com/repos/YunoHost/yunohost/issues/219","repository_url":"https://api.github.com/repos/YunoHost/yunohost","labels_url":"https://api.github.com/repos/YunoHost/yunohost/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/YunoHost/yunohost/issues/219/comments","events_url":"https://api.github.com/repos/YunoHost/yunohost/issues/219/events","html_url":"https://github.com/YunoHost/yunohost/pull/219","id":196326741,"number":219,"title":"[enh] Set main domain as hostname","user":{"login":"alexAubin","id":4533074,"avatar_url":"https://avatars.githubusercontent.com/u/4533074?v=3","gravatar_id":"","url":"https://api.github.com/users/alexAubin","html_url":"https://github.com/alexAubin","followers_url":"https://api.github.com/users/alexAubin/followers","following_url":"https://api.github.com/users/alexAubin/following{/other_user}","gists_url":"https://api.github.com/users/alexAubin/gists{/gist_id}","starred_url":"https://api.github.com/users/alexAubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexAubin/subscriptions","organizations_url":"https://api.github.com/users/alexAubin/orgs","repos_url":"https://api.github.com/users/alexAubin/repos","events_url":"https://api.github.com/users/alexAubin/events{/privacy}","received_events_url":"https://api.github.com/users/alexAubin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/YunoHost/yunohost/milestones/3","html_url":"https://github.com/YunoHost/yunohost/milestone/3","labels_url":"https://api.github.com/repos/YunoHost/yunohost/milestones/3/labels","id":2190700,"number":3,"title":"2.6.x","description":"","creator":{"login":"M5oul","id":4758871,"avatar_url":"https://avatars.githubusercontent.com/u/4758871?v=3","gravatar_id":"","url":"https://api.github.com/users/M5oul","html_url":"https://github.com/M5oul","followers_url":"https://api.github.com/users/M5oul/followers","following_url":"https://api.github.com/users/M5oul/following{/other_user}","gists_url":"https://api.github.com/users/M5oul/gists{/gist_id}","starred_url":"https://api.github.com/users/M5oul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/M5oul/subscriptions","organizations_url":"https://api.github.com/users/M5oul/orgs","repos_url":"https://api.github.com/users/M5oul/repos","events_url":"https://api.github.com/users/M5oul/events{/privacy}","received_events_url":"https://api.github.com/users/M5oul/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2016-12-12T12:37:56Z","updated_at":"2016-12-21T13:31:17Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-12-19T03:58:59Z","updated_at":"2016-12-22T00:20:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/YunoHost/yunohost/pulls/219","html_url":"https://github.com/YunoHost/yunohost/pull/219","diff_url":"https://github.com/YunoHost/yunohost/pull/219.diff","patch_url":"https://github.com/YunoHost/yunohost/pull/219.patch"},"body":"Attempt to address https://dev.yunohost.org/issues/341, based on https://github.com/labriqueinternet/doctorcube_ynh/pull/9\r\n\r\nStill need to think about this and do some tests ... Not entirely sure what to do with /etc/hosts and implications."},"comment":{"url":"https://api.github.com/repos/YunoHost/yunohost/issues/comments/268683395","html_url":"https://github.com/YunoHost/yunohost/pull/219#issuecomment-268683395","issue_url":"https://api.github.com/repos/YunoHost/yunohost/issues/219","id":268683395,"user":{"login":"alexAubin","id":4533074,"avatar_url":"https://avatars.githubusercontent.com/u/4533074?v=3","gravatar_id":"","url":"https://api.github.com/users/alexAubin","html_url":"https://github.com/alexAubin","followers_url":"https://api.github.com/users/alexAubin/followers","following_url":"https://api.github.com/users/alexAubin/following{/other_user}","gists_url":"https://api.github.com/users/alexAubin/gists{/gist_id}","starred_url":"https://api.github.com/users/alexAubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexAubin/subscriptions","organizations_url":"https://api.github.com/users/alexAubin/orgs","repos_url":"https://api.github.com/users/alexAubin/repos","events_url":"https://api.github.com/users/alexAubin/events{/privacy}","received_events_url":"https://api.github.com/users/alexAubin/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T00:20:36Z","updated_at":"2016-12-22T00:20:36Z","body":"We discussed this on the chat with @Psycojoker today, he suggested [this snippet](https://gist.github.com/Psycojoker/a71144e6ea991a88bd66b327a290da0f) to parse /etc/hosts"}}
{"actor":{"display_login":"alexAubin"}}