{"action":"created","comment":{"url":"https://api.github.com/repos/lest/prometheus-rpm/pulls/comments/186055042","pull_request_review_id":117570751,"id":186055042,"diff_hunk":"@@ -41,17 +49,27 @@ getent passwd prometheus >/dev/null || \\\n exit 0\n \n %post\n+%if 0%{?el7}","path":"node_exporter/node_exporter.spec","position":null,"original_position":33,"commit_id":"5edc04c4cd4e8a072083a35fb7b8f107c72a717a","original_commit_id":"a88378cc605cbd517f3ddbd3431521537a733501","user":{"login":"zoonage","id":7557073,"avatar_url":"https://avatars2.githubusercontent.com/u/7557073?v=4","gravatar_id":"","url":"https://api.github.com/users/zoonage","html_url":"https://github.com/zoonage","followers_url":"https://api.github.com/users/zoonage/followers","following_url":"https://api.github.com/users/zoonage/following{/other_user}","gists_url":"https://api.github.com/users/zoonage/gists{/gist_id}","starred_url":"https://api.github.com/users/zoonage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoonage/subscriptions","organizations_url":"https://api.github.com/users/zoonage/orgs","repos_url":"https://api.github.com/users/zoonage/repos","events_url":"https://api.github.com/users/zoonage/events{/privacy}","received_events_url":"https://api.github.com/users/zoonage/received_events","type":"User","site_admin":false},"body":"Updated","created_at":"2018-05-04T11:26:38Z","updated_at":"2018-05-04T11:26:38Z","html_url":"https://github.com/lest/prometheus-rpm/pull/37#discussion_r186055042","pull_request_url":"https://api.github.com/repos/lest/prometheus-rpm/pulls/37","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/lest/prometheus-rpm/pulls/comments/186055042"},"html":{"href":"https://github.com/lest/prometheus-rpm/pull/37#discussion_r186055042"},"pull_request":{"href":"https://api.github.com/repos/lest/prometheus-rpm/pulls/37"}},"in_reply_to_id":184135822},"pull_request":{"url":"https://api.github.com/repos/lest/prometheus-rpm/pulls/37","id":181521220,"html_url":"https://github.com/lest/prometheus-rpm/pull/37","diff_url":"https://github.com/lest/prometheus-rpm/pull/37.diff","patch_url":"https://github.com/lest/prometheus-rpm/pull/37.patch","issue_url":"https://api.github.com/repos/lest/prometheus-rpm/issues/37","number":37,"state":"open","locked":false,"title":"Support Centos 6 RPM builds","user":{"login":"zoonage","id":7557073,"avatar_url":"https://avatars2.githubusercontent.com/u/7557073?v=4","gravatar_id":"","url":"https://api.github.com/users/zoonage","html_url":"https://github.com/zoonage","followers_url":"https://api.github.com/users/zoonage/followers","following_url":"https://api.github.com/users/zoonage/following{/other_user}","gists_url":"https://api.github.com/users/zoonage/gists{/gist_id}","starred_url":"https://api.github.com/users/zoonage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoonage/subscriptions","organizations_url":"https://api.github.com/users/zoonage/orgs","repos_url":"https://api.github.com/users/zoonage/repos","events_url":"https://api.github.com/users/zoonage/events{/privacy}","received_events_url":"https://api.github.com/users/zoonage/received_events","type":"User","site_admin":false},"body":"# Description\r\n\r\nThis commit adds in support for building these exporters for centos 6, however it only actually builds node_exporter at the moment.\r\n\r\nI forked your centos7 RPM builder and created https://github.com/zoonage/centos-rpm-builder-docker, which allows for building centos 6 as well. I've then used this centos6 builder container to build the centos 6 files.\r\n\r\n# Changes\r\n- Move `_dist` to the release specific release directory i.e. `_dist7` and `_dist6`\r\n- Update Makefile to support these new dist directories\r\n- Modify `node_exporter` to be able to support Centos 6\r\n- Modify `mysqld_exporter` to be able to support Centos 7","created_at":"2018-04-13T15:25:40Z","updated_at":"2018-05-04T11:26:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eff27fb918efa6b82b4bcc5a9a6c06771bff4d9d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lest/prometheus-rpm/pulls/37/commits","review_comments_url":"https://api.github.com/repos/lest/prometheus-rpm/pulls/37/comments","review_comment_url":"https://api.github.com/repos/lest/prometheus-rpm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lest/prometheus-rpm/issues/37/comments","statuses_url":"https://api.github.com/repos/lest/prometheus-rpm/statuses/5edc04c4cd4e8a072083a35fb7b8f107c72a717a","head":{"label":"zoonage:staging","ref":"staging","sha":"5edc04c4cd4e8a072083a35fb7b8f107c72a717a","user":{"login":"zoonage","id":7557073,"avatar_url":"https://avatars2.githubusercontent.com/u/7557073?v=4","gravatar_id":"","url":"https://api.github.com/users/zoonage","html_url":"https://github.com/zoonage","followers_url":"https://api.github.com/users/zoonage/followers","following_url":"https://api.github.com/users/zoonage/following{/other_user}","gists_url":"https://api.github.com/users/zoonage/gists{/gist_id}","starred_url":"https://api.github.com/users/zoonage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoonage/subscriptions","organizations_url":"https://api.github.com/users/zoonage/orgs","repos_url":"https://api.github.com/users/zoonage/repos","events_url":"https://api.github.com/users/zoonage/events{/privacy}","received_events_url":"https://api.github.com/users/zoonage/received_events","type":"User","site_admin":false},"repo":{"id":127008387,"name":"prometheus-rpm","full_name":"zoonage/prometheus-rpm","owner":{"login":"zoonage","id":7557073,"avatar_url":"https://avatars2.githubusercontent.com/u/7557073?v=4","gravatar_id":"","url":"https://api.github.com/users/zoonage","html_url":"https://github.com/zoonage","followers_url":"https://api.github.com/users/zoonage/followers","following_url":"https://api.github.com/users/zoonage/following{/other_user}","gists_url":"https://api.github.com/users/zoonage/gists{/gist_id}","starred_url":"https://api.github.com/users/zoonage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoonage/subscriptions","organizations_url":"https://api.github.com/users/zoonage/orgs","repos_url":"https://api.github.com/users/zoonage/repos","events_url":"https://api.github.com/users/zoonage/events{/privacy}","received_events_url":"https://api.github.com/users/zoonage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zoonage/prometheus-rpm","description":"Prometheus RPM Packages","fork":true,"url":"https://api.github.com/repos/zoonage/prometheus-rpm","forks_url":"https://api.github.com/repos/zoonage/prometheus-rpm/forks","keys_url":"https://api.github.com/repos/zoonage/prometheus-rpm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zoonage/prometheus-rpm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zoonage/prometheus-rpm/teams","hooks_url":"https://api.github.com/repos/zoonage/prometheus-rpm/hooks","issue_events_url":"https://api.github.com/repos/zoonage/prometheus-rpm/issues/events{/number}","events_url":"https://api.github.com/repos/zoonage/prometheus-rpm/events","assignees_url":"https://api.github.com/repos/zoonage/prometheus-rpm/assignees{/user}","branches_url":"https://api.github.com/repos/zoonage/prometheus-rpm/branches{/branch}","tags_url":"https://api.github.com/repos/zoonage/prometheus-rpm/tags","blobs_url":"https://api.github.com/repos/zoonage/prometheus-rpm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zoonage/prometheus-rpm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zoonage/prometheus-rpm/git/refs{/sha}","trees_url":"https://api.github.com/repos/zoonage/prometheus-rpm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zoonage/prometheus-rpm/statuses/{sha}","languages_url":"https://api.github.com/repos/zoonage/prometheus-rpm/languages","stargazers_url":"https://api.github.com/repos/zoonage/prometheus-rpm/stargazers","contributors_url":"https://api.github.com/repos/zoonage/prometheus-rpm/contributors","subscribers_url":"https://api.github.com/repos/zoonage/prometheus-rpm/subscribers","subscription_url":"https://api.github.com/repos/zoonage/prometheus-rpm/subscription","commits_url":"https://api.github.com/repos/zoonage/prometheus-rpm/commits{/sha}","git_commits_url":"https://api.github.com/repos/zoonage/prometheus-rpm/git/commits{/sha}","comments_url":"https://api.github.com/repos/zoonage/prometheus-rpm/comments{/number}","issue_comment_url":"https://api.github.com/repos/zoonage/prometheus-rpm/issues/comments{/number}","contents_url":"https://api.github.com/repos/zoonage/prometheus-rpm/contents/{+path}","compare_url":"https://api.github.com/repos/zoonage/prometheus-rpm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zoonage/prometheus-rpm/merges","archive_url":"https://api.github.com/repos/zoonage/prometheus-rpm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zoonage/prometheus-rpm/downloads","issues_url":"https://api.github.com/repos/zoonage/prometheus-rpm/issues{/number}","pulls_url":"https://api.github.com/repos/zoonage/prometheus-rpm/pulls{/number}","milestones_url":"https://api.github.com/repos/zoonage/prometheus-rpm/milestones{/number}","notifications_url":"https://api.github.com/repos/zoonage/prometheus-rpm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zoonage/prometheus-rpm/labels{/name}","releases_url":"https://api.github.com/repos/zoonage/prometheus-rpm/releases{/id}","deployments_url":"https://api.github.com/repos/zoonage/prometheus-rpm/deployments","created_at":"2018-03-27T15:31:03Z","updated_at":"2018-04-13T14:58:45Z","pushed_at":"2018-04-30T13:45:46Z","git_url":"git://github.com/zoonage/prometheus-rpm.git","ssh_url":"git@github.com:zoonage/prometheus-rpm.git","clone_url":"https://github.com/zoonage/prometheus-rpm.git","svn_url":"https://github.com/zoonage/prometheus-rpm","homepage":null,"size":1504,"stargazers_count":0,"watchers_count":0,"language":"Makefile","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lest:master","ref":"master","sha":"d1c91be738fe12e4e56bc5b229af84ce06605557","user":{"login":"lest","id":36079,"avatar_url":"https://avatars1.githubusercontent.com/u/36079?v=4","gravatar_id":"","url":"https://api.github.com/users/lest","html_url":"https://github.com/lest","followers_url":"https://api.github.com/users/lest/followers","following_url":"https://api.github.com/users/lest/following{/other_user}","gists_url":"https://api.github.com/users/lest/gists{/gist_id}","starred_url":"https://api.github.com/users/lest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lest/subscriptions","organizations_url":"https://api.github.com/users/lest/orgs","repos_url":"https://api.github.com/users/lest/repos","events_url":"https://api.github.com/users/lest/events{/privacy}","received_events_url":"https://api.github.com/users/lest/received_events","type":"User","site_admin":false},"repo":{"id":60008816,"name":"prometheus-rpm","full_name":"lest/prometheus-rpm","owner":{"login":"lest","id":36079,"avatar_url":"https://avatars1.githubusercontent.com/u/36079?v=4","gravatar_id":"","url":"https://api.github.com/users/lest","html_url":"https://github.com/lest","followers_url":"https://api.github.com/users/lest/followers","following_url":"https://api.github.com/users/lest/following{/other_user}","gists_url":"https://api.github.com/users/lest/gists{/gist_id}","starred_url":"https://api.github.com/users/lest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lest/subscriptions","organizations_url":"https://api.github.com/users/lest/orgs","repos_url":"https://api.github.com/users/lest/repos","events_url":"https://api.github.com/users/lest/events{/privacy}","received_events_url":"https://api.github.com/users/lest/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lest/prometheus-rpm","description":"Prometheus RPM Packages","fork":false,"url":"https://api.github.com/repos/lest/prometheus-rpm","forks_url":"https://api.github.com/repos/lest/prometheus-rpm/forks","keys_url":"https://api.github.com/repos/lest/prometheus-rpm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lest/prometheus-rpm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lest/prometheus-rpm/teams","hooks_url":"https://api.github.com/repos/lest/prometheus-rpm/hooks","issue_events_url":"https://api.github.com/repos/lest/prometheus-rpm/issues/events{/number}","events_url":"https://api.github.com/repos/lest/prometheus-rpm/events","assignees_url":"https://api.github.com/repos/lest/prometheus-rpm/assignees{/user}","branches_url":"https://api.github.com/repos/lest/prometheus-rpm/branches{/branch}","tags_url":"https://api.github.com/repos/lest/prometheus-rpm/tags","blobs_url":"https://api.github.com/repos/lest/prometheus-rpm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lest/prometheus-rpm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lest/prometheus-rpm/git/refs{/sha}","trees_url":"https://api.github.com/repos/lest/prometheus-rpm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lest/prometheus-rpm/statuses/{sha}","languages_url":"https://api.github.com/repos/lest/prometheus-rpm/languages","stargazers_url":"https://api.github.com/repos/lest/prometheus-rpm/stargazers","contributors_url":"https://api.github.com/repos/lest/prometheus-rpm/contributors","subscribers_url":"https://api.github.com/repos/lest/prometheus-rpm/subscribers","subscription_url":"https://api.github.com/repos/lest/prometheus-rpm/subscription","commits_url":"https://api.github.com/repos/lest/prometheus-rpm/commits{/sha}","git_commits_url":"https://api.github.com/repos/lest/prometheus-rpm/git/commits{/sha}","comments_url":"https://api.github.com/repos/lest/prometheus-rpm/comments{/number}","issue_comment_url":"https://api.github.com/repos/lest/prometheus-rpm/issues/comments{/number}","contents_url":"https://api.github.com/repos/lest/prometheus-rpm/contents/{+path}","compare_url":"https://api.github.com/repos/lest/prometheus-rpm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lest/prometheus-rpm/merges","archive_url":"https://api.github.com/repos/lest/prometheus-rpm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lest/prometheus-rpm/downloads","issues_url":"https://api.github.com/repos/lest/prometheus-rpm/issues{/number}","pulls_url":"https://api.github.com/repos/lest/prometheus-rpm/pulls{/number}","milestones_url":"https://api.github.com/repos/lest/prometheus-rpm/milestones{/number}","notifications_url":"https://api.github.com/repos/lest/prometheus-rpm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lest/prometheus-rpm/labels{/name}","releases_url":"https://api.github.com/repos/lest/prometheus-rpm/releases{/id}","deployments_url":"https://api.github.com/repos/lest/prometheus-rpm/deployments","created_at":"2016-05-30T12:34:19Z","updated_at":"2018-04-30T09:35:26Z","pushed_at":"2018-04-30T14:03:16Z","git_url":"git://github.com/lest/prometheus-rpm.git","ssh_url":"git@github.com:lest/prometheus-rpm.git","clone_url":"https://github.com/lest/prometheus-rpm.git","svn_url":"https://github.com/lest/prometheus-rpm","homepage":null,"size":1493,"stargazers_count":56,"watchers_count":56,"language":"Makefile","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":22,"open_issues":5,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lest/prometheus-rpm/pulls/37"},"html":{"href":"https://github.com/lest/prometheus-rpm/pull/37"},"issue":{"href":"https://api.github.com/repos/lest/prometheus-rpm/issues/37"},"comments":{"href":"https://api.github.com/repos/lest/prometheus-rpm/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/lest/prometheus-rpm/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/lest/prometheus-rpm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lest/prometheus-rpm/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/lest/prometheus-rpm/statuses/5edc04c4cd4e8a072083a35fb7b8f107c72a717a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zoonage"}}