{"action":"closed","number":32,"pull_request":{"url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/pulls/32","id":126358056,"html_url":"https://github.com/spinnaker/spinnaker-gradle-project/pull/32","diff_url":"https://github.com/spinnaker/spinnaker-gradle-project/pull/32.diff","patch_url":"https://github.com/spinnaker/spinnaker-gradle-project/pull/32.patch","issue_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/issues/32","number":32,"state":"closed","locked":false,"title":"Redhat systemd location","user":{"login":"gdanko","id":448439,"avatar_url":"https://avatars3.githubusercontent.com/u/448439?v=3","gravatar_id":"","url":"https://api.github.com/users/gdanko","html_url":"https://github.com/gdanko","followers_url":"https://api.github.com/users/gdanko/followers","following_url":"https://api.github.com/users/gdanko/following{/other_user}","gists_url":"https://api.github.com/users/gdanko/gists{/gist_id}","starred_url":"https://api.github.com/users/gdanko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdanko/subscriptions","organizations_url":"https://api.github.com/users/gdanko/orgs","repos_url":"https://api.github.com/users/gdanko/repos","events_url":"https://api.github.com/users/gdanko/events{/privacy}","received_events_url":"https://api.github.com/users/gdanko/received_events","type":"User","site_admin":false},"body":"debian and redhat use different paths for their systemd unit files. This patch does two things. 1) determine whether the distro is redhat-based or debian-based and set the systemd path accordingly. 2) Verify this path exists before attempting to write the unit file.","created_at":"2017-06-19T17:38:27Z","updated_at":"2017-06-19T18:02:57Z","closed_at":"2017-06-19T18:02:57Z","merged_at":null,"merge_commit_sha":"ec294750b636f98ce13592ed0ceda3c4285578c8","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/pulls/32/commits","review_comments_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/pulls/32/comments","review_comment_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/issues/32/comments","statuses_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/statuses/fd64b64036b34432f9be3c41c247c463ea292585","head":{"label":"gdanko:redhat-systemd-location","ref":"redhat-systemd-location","sha":"fd64b64036b34432f9be3c41c247c463ea292585","user":{"login":"gdanko","id":448439,"avatar_url":"https://avatars3.githubusercontent.com/u/448439?v=3","gravatar_id":"","url":"https://api.github.com/users/gdanko","html_url":"https://github.com/gdanko","followers_url":"https://api.github.com/users/gdanko/followers","following_url":"https://api.github.com/users/gdanko/following{/other_user}","gists_url":"https://api.github.com/users/gdanko/gists{/gist_id}","starred_url":"https://api.github.com/users/gdanko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdanko/subscriptions","organizations_url":"https://api.github.com/users/gdanko/orgs","repos_url":"https://api.github.com/users/gdanko/repos","events_url":"https://api.github.com/users/gdanko/events{/privacy}","received_events_url":"https://api.github.com/users/gdanko/received_events","type":"User","site_admin":false},"repo":{"id":94120232,"name":"spinnaker-gradle-project","full_name":"gdanko/spinnaker-gradle-project","owner":{"login":"gdanko","id":448439,"avatar_url":"https://avatars3.githubusercontent.com/u/448439?v=3","gravatar_id":"","url":"https://api.github.com/users/gdanko","html_url":"https://github.com/gdanko","followers_url":"https://api.github.com/users/gdanko/followers","following_url":"https://api.github.com/users/gdanko/following{/other_user}","gists_url":"https://api.github.com/users/gdanko/gists{/gist_id}","starred_url":"https://api.github.com/users/gdanko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdanko/subscriptions","organizations_url":"https://api.github.com/users/gdanko/orgs","repos_url":"https://api.github.com/users/gdanko/repos","events_url":"https://api.github.com/users/gdanko/events{/privacy}","received_events_url":"https://api.github.com/users/gdanko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gdanko/spinnaker-gradle-project","description":"Gradle project for spinnaker project conventions","fork":true,"url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project","forks_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/forks","keys_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/teams","hooks_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/hooks","issue_events_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/issues/events{/number}","events_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/events","assignees_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/assignees{/user}","branches_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/branches{/branch}","tags_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/tags","blobs_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/statuses/{sha}","languages_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/languages","stargazers_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/stargazers","contributors_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/contributors","subscribers_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/subscribers","subscription_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/subscription","commits_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/contents/{+path}","compare_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/merges","archive_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/downloads","issues_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/issues{/number}","pulls_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/pulls{/number}","milestones_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/milestones{/number}","notifications_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/labels{/name}","releases_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/releases{/id}","deployments_url":"https://api.github.com/repos/gdanko/spinnaker-gradle-project/deployments","created_at":"2017-06-12T17:01:20Z","updated_at":"2017-06-12T17:01:22Z","pushed_at":"2017-06-19T17:51:52Z","git_url":"git://github.com/gdanko/spinnaker-gradle-project.git","ssh_url":"git@github.com:gdanko/spinnaker-gradle-project.git","clone_url":"https://github.com/gdanko/spinnaker-gradle-project.git","svn_url":"https://github.com/gdanko/spinnaker-gradle-project","homepage":"","size":364,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spinnaker:master","ref":"master","sha":"5c8bf0a464421640fc0d0514510384248f89bf3f","user":{"login":"spinnaker","id":7634182,"avatar_url":"https://avatars2.githubusercontent.com/u/7634182?v=3","gravatar_id":"","url":"https://api.github.com/users/spinnaker","html_url":"https://github.com/spinnaker","followers_url":"https://api.github.com/users/spinnaker/followers","following_url":"https://api.github.com/users/spinnaker/following{/other_user}","gists_url":"https://api.github.com/users/spinnaker/gists{/gist_id}","starred_url":"https://api.github.com/users/spinnaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spinnaker/subscriptions","organizations_url":"https://api.github.com/users/spinnaker/orgs","repos_url":"https://api.github.com/users/spinnaker/repos","events_url":"https://api.github.com/users/spinnaker/events{/privacy}","received_events_url":"https://api.github.com/users/spinnaker/received_events","type":"Organization","site_admin":false},"repo":{"id":19835155,"name":"spinnaker-gradle-project","full_name":"spinnaker/spinnaker-gradle-project","owner":{"login":"spinnaker","id":7634182,"avatar_url":"https://avatars2.githubusercontent.com/u/7634182?v=3","gravatar_id":"","url":"https://api.github.com/users/spinnaker","html_url":"https://github.com/spinnaker","followers_url":"https://api.github.com/users/spinnaker/followers","following_url":"https://api.github.com/users/spinnaker/following{/other_user}","gists_url":"https://api.github.com/users/spinnaker/gists{/gist_id}","starred_url":"https://api.github.com/users/spinnaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spinnaker/subscriptions","organizations_url":"https://api.github.com/users/spinnaker/orgs","repos_url":"https://api.github.com/users/spinnaker/repos","events_url":"https://api.github.com/users/spinnaker/events{/privacy}","received_events_url":"https://api.github.com/users/spinnaker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spinnaker/spinnaker-gradle-project","description":"Gradle project for spinnaker project conventions","fork":false,"url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project","forks_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/forks","keys_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/teams","hooks_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/hooks","issue_events_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/issues/events{/number}","events_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/events","assignees_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/assignees{/user}","branches_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/branches{/branch}","tags_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/tags","blobs_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/statuses/{sha}","languages_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/languages","stargazers_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/stargazers","contributors_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/contributors","subscribers_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/subscribers","subscription_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/subscription","commits_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/contents/{+path}","compare_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/merges","archive_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/downloads","issues_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/issues{/number}","pulls_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/pulls{/number}","milestones_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/milestones{/number}","notifications_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/labels{/name}","releases_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/releases{/id}","deployments_url":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/deployments","created_at":"2014-05-15T21:01:19Z","updated_at":"2016-11-06T20:56:42Z","pushed_at":"2017-06-19T17:51:53Z","git_url":"git://github.com/spinnaker/spinnaker-gradle-project.git","ssh_url":"git@github.com:spinnaker/spinnaker-gradle-project.git","clone_url":"https://github.com/spinnaker/spinnaker-gradle-project.git","svn_url":"https://github.com/spinnaker/spinnaker-gradle-project","homepage":"","size":361,"stargazers_count":9,"watchers_count":9,"language":"Groovy","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":2,"forks":15,"open_issues":2,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/pulls/32"},"html":{"href":"https://github.com/spinnaker/spinnaker-gradle-project/pull/32"},"issue":{"href":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/issues/32"},"comments":{"href":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/spinnaker/spinnaker-gradle-project/statuses/fd64b64036b34432f9be3c41c247c463ea292585"}},"merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":2,"review_comments":3,"maintainer_can_modify":false,"commits":4,"additions":19,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"gdanko"}}