{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/alertmanager/issues/147","labels_url":"https://api.github.com/repos/prometheus/alertmanager/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/alertmanager/issues/147/comments","events_url":"https://api.github.com/repos/prometheus/alertmanager/issues/147/events","html_url":"https://github.com/prometheus/alertmanager/pull/147","id":117112396,"number":147,"title":"First-pass at improving template system.","user":{"login":"brian-brazil","id":7115638,"avatar_url":"https://avatars.githubusercontent.com/u/7115638?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-16T12:24:12Z","updated_at":"2015-11-18T14:57:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/prometheus/alertmanager/pulls/147","html_url":"https://github.com/prometheus/alertmanager/pull/147","diff_url":"https://github.com/prometheus/alertmanager/pull/147.diff","patch_url":"https://github.com/prometheus/alertmanager/pull/147.patch"},"body":"- Cut back to bare minimum to make the rest simpler\r\n- Consistency in config naming\r\n- Have one data strucutre that's the same for all templates\r\n- Pass in common labels to templates\r\n- Support templates almost everywhere\r\n- Support multiple SMTP recipients\r\n- Support non-ASCII SMTP headers\r\n- Handle colour logic via templates\r\n- Make $subjects have consistent output, go maps aren't sorted.\r\n- Make tests pass when v6 is disabled\r\n\r\n@fabxc \r\n\r\nFixes #135 #126 #74 \r\n\r\nStill needs improvement, but this should be a good base."},"comment":{"url":"https://api.github.com/repos/prometheus/alertmanager/issues/comments/157739727","html_url":"https://github.com/prometheus/alertmanager/pull/147#issuecomment-157739727","issue_url":"https://api.github.com/repos/prometheus/alertmanager/issues/147","id":157739727,"user":{"login":"brian-brazil","id":7115638,"avatar_url":"https://avatars.githubusercontent.com/u/7115638?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-brazil","html_url":"https://github.com/brian-brazil","followers_url":"https://api.github.com/users/brian-brazil/followers","following_url":"https://api.github.com/users/brian-brazil/following{/other_user}","gists_url":"https://api.github.com/users/brian-brazil/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-brazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-brazil/subscriptions","organizations_url":"https://api.github.com/users/brian-brazil/orgs","repos_url":"https://api.github.com/users/brian-brazil/repos","events_url":"https://api.github.com/users/brian-brazil/events{/privacy}","received_events_url":"https://api.github.com/users/brian-brazil/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T14:57:35Z","updated_at":"2015-11-18T14:57:35Z","body":"> Needs rebase.\r\n\r\nI've already done so, I suspect you accidentally `--forced` over #144 so the datadir change is coming up again."}}