{"action":"closed","number":189,"pull_request":{"url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/pulls/189","id":73471505,"html_url":"https://github.com/nebula-plugins/gradle-ospackage-plugin/pull/189","diff_url":"https://github.com/nebula-plugins/gradle-ospackage-plugin/pull/189.diff","patch_url":"https://github.com/nebula-plugins/gradle-ospackage-plugin/pull/189.patch","issue_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/issues/189","number":189,"state":"closed","locked":false,"title":"Allow Defining Complete Maintainer Scripts for Debian","user":{"login":"sghill","id":230004,"avatar_url":"https://avatars.githubusercontent.com/u/230004?v=3","gravatar_id":"","url":"https://api.github.com/users/sghill","html_url":"https://github.com/sghill","followers_url":"https://api.github.com/users/sghill/followers","following_url":"https://api.github.com/users/sghill/following{/other_user}","gists_url":"https://api.github.com/users/sghill/gists{/gist_id}","starred_url":"https://api.github.com/users/sghill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sghill/subscriptions","organizations_url":"https://api.github.com/users/sghill/orgs","repos_url":"https://api.github.com/users/sghill/repos","events_url":"https://api.github.com/users/sghill/events{/privacy}","received_events_url":"https://api.github.com/users/sghill/received_events","type":"User","site_admin":false},"body":"This PR defines four new properties that allow defining the complete maintainer script files.\r\n\r\n* `preInstallFile`\r\n* `postInstallFile`\r\n* `preUninstallFile`\r\n* `postUninstallFile`\r\n\r\nThese directives are only supported when building a deb and allow scripts to be written with shebang lines other than `#!/bin/sh`:\r\n\r\n```py\r\n#!/usr/bin/env python3\r\n\r\nprint(\"Starting to install...\")\r\n```\r\n\r\nAn `IllegalStateException` is thrown when multiple of the same file is defined, or commands and the file are defined at the same time. For example:\r\n\r\n```console\r\n* Where:\r\nBuild file '/Projects/sample-package/build.gradle' line: 26\r\n\r\n* What went wrong:\r\nA problem occurred evaluating root project 'sample-package'.\r\n> Cannot specify PreInstall File and PreInstall Commands\r\n```\r\n\r\n\r\nAttempting to use the new directives in a custom `Rpm` task will yield the following warning:\r\n\r\n```console\r\nAt least one of (preInstallFile|postInstallFile|preUninstallFile|postUninstallFile) is defined and will be ignored for RPM builds\r\n```\r\n\r\nThis PR is related to issues #84, #119, #138.","created_at":"2016-06-11T16:03:35Z","updated_at":"2016-07-11T20:38:04Z","closed_at":"2016-07-11T20:38:04Z","merged_at":"2016-07-11T20:38:04Z","merge_commit_sha":"3f47671774659a867da359a61d064d3f2400e21f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/pulls/189/commits","review_comments_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/pulls/189/comments","review_comment_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/issues/189/comments","statuses_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/statuses/c36e9b958faf7362fd75db8c6ce390a0d13f3e70","head":{"label":"sghill:complete-scripts","ref":"complete-scripts","sha":"c36e9b958faf7362fd75db8c6ce390a0d13f3e70","user":{"login":"sghill","id":230004,"avatar_url":"https://avatars.githubusercontent.com/u/230004?v=3","gravatar_id":"","url":"https://api.github.com/users/sghill","html_url":"https://github.com/sghill","followers_url":"https://api.github.com/users/sghill/followers","following_url":"https://api.github.com/users/sghill/following{/other_user}","gists_url":"https://api.github.com/users/sghill/gists{/gist_id}","starred_url":"https://api.github.com/users/sghill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sghill/subscriptions","organizations_url":"https://api.github.com/users/sghill/orgs","repos_url":"https://api.github.com/users/sghill/repos","events_url":"https://api.github.com/users/sghill/events{/privacy}","received_events_url":"https://api.github.com/users/sghill/received_events","type":"User","site_admin":false},"repo":{"id":59156608,"name":"gradle-ospackage-plugin","full_name":"sghill/gradle-ospackage-plugin","owner":{"login":"sghill","id":230004,"avatar_url":"https://avatars.githubusercontent.com/u/230004?v=3","gravatar_id":"","url":"https://api.github.com/users/sghill","html_url":"https://github.com/sghill","followers_url":"https://api.github.com/users/sghill/followers","following_url":"https://api.github.com/users/sghill/following{/other_user}","gists_url":"https://api.github.com/users/sghill/gists{/gist_id}","starred_url":"https://api.github.com/users/sghill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sghill/subscriptions","organizations_url":"https://api.github.com/users/sghill/orgs","repos_url":"https://api.github.com/users/sghill/repos","events_url":"https://api.github.com/users/sghill/events{/privacy}","received_events_url":"https://api.github.com/users/sghill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sghill/gradle-ospackage-plugin","description":"Gradle plugin for constructing linux packages, specifically RPM and DEBs.","fork":true,"url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin","forks_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/forks","keys_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/teams","hooks_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/hooks","issue_events_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/events","assignees_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/tags","blobs_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/languages","stargazers_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/stargazers","contributors_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/contributors","subscribers_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/subscribers","subscription_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/subscription","commits_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/merges","archive_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/downloads","issues_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/labels{/name}","releases_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/sghill/gradle-ospackage-plugin/deployments","created_at":"2016-05-18T22:44:06Z","updated_at":"2016-05-18T22:44:07Z","pushed_at":"2016-06-11T18:40:17Z","git_url":"git://github.com/sghill/gradle-ospackage-plugin.git","ssh_url":"git@github.com:sghill/gradle-ospackage-plugin.git","clone_url":"https://github.com/sghill/gradle-ospackage-plugin.git","svn_url":"https://github.com/sghill/gradle-ospackage-plugin","homepage":null,"size":1083,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"nebula-plugins:master","ref":"master","sha":"ca80d8a215ced8537599b0a99a48adfb2435302f","user":{"login":"nebula-plugins","id":5993162,"avatar_url":"https://avatars.githubusercontent.com/u/5993162?v=3","gravatar_id":"","url":"https://api.github.com/users/nebula-plugins","html_url":"https://github.com/nebula-plugins","followers_url":"https://api.github.com/users/nebula-plugins/followers","following_url":"https://api.github.com/users/nebula-plugins/following{/other_user}","gists_url":"https://api.github.com/users/nebula-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/nebula-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nebula-plugins/subscriptions","organizations_url":"https://api.github.com/users/nebula-plugins/orgs","repos_url":"https://api.github.com/users/nebula-plugins/repos","events_url":"https://api.github.com/users/nebula-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/nebula-plugins/received_events","type":"Organization","site_admin":false},"repo":{"id":14624255,"name":"gradle-ospackage-plugin","full_name":"nebula-plugins/gradle-ospackage-plugin","owner":{"login":"nebula-plugins","id":5993162,"avatar_url":"https://avatars.githubusercontent.com/u/5993162?v=3","gravatar_id":"","url":"https://api.github.com/users/nebula-plugins","html_url":"https://github.com/nebula-plugins","followers_url":"https://api.github.com/users/nebula-plugins/followers","following_url":"https://api.github.com/users/nebula-plugins/following{/other_user}","gists_url":"https://api.github.com/users/nebula-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/nebula-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nebula-plugins/subscriptions","organizations_url":"https://api.github.com/users/nebula-plugins/orgs","repos_url":"https://api.github.com/users/nebula-plugins/repos","events_url":"https://api.github.com/users/nebula-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/nebula-plugins/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nebula-plugins/gradle-ospackage-plugin","description":"Gradle plugin for constructing linux packages, specifically RPM and DEBs.","fork":false,"url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin","forks_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/forks","keys_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/teams","hooks_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/hooks","issue_events_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/events","assignees_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/tags","blobs_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/languages","stargazers_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/stargazers","contributors_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/contributors","subscribers_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/subscribers","subscription_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/subscription","commits_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/merges","archive_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/downloads","issues_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/labels{/name}","releases_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/deployments","created_at":"2013-11-22T17:19:15Z","updated_at":"2016-07-06T16:42:43Z","pushed_at":"2016-07-11T20:38:05Z","git_url":"git://github.com/nebula-plugins/gradle-ospackage-plugin.git","ssh_url":"git@github.com:nebula-plugins/gradle-ospackage-plugin.git","clone_url":"https://github.com/nebula-plugins/gradle-ospackage-plugin.git","svn_url":"https://github.com/nebula-plugins/gradle-ospackage-plugin","homepage":null,"size":1142,"stargazers_count":144,"watchers_count":144,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":88,"mirror_url":null,"open_issues_count":37,"forks":88,"open_issues":37,"watchers":144,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/pulls/189"},"html":{"href":"https://github.com/nebula-plugins/gradle-ospackage-plugin/pull/189"},"issue":{"href":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/issues/189"},"comments":{"href":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/issues/189/comments"},"review_comments":{"href":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/pulls/189/comments"},"review_comment":{"href":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/pulls/189/commits"},"statuses":{"href":"https://api.github.com/repos/nebula-plugins/gradle-ospackage-plugin/statuses/c36e9b958faf7362fd75db8c6ce390a0d13f3e70"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rspieldenner","id":782102,"avatar_url":"https://avatars.githubusercontent.com/u/782102?v=3","gravatar_id":"","url":"https://api.github.com/users/rspieldenner","html_url":"https://github.com/rspieldenner","followers_url":"https://api.github.com/users/rspieldenner/followers","following_url":"https://api.github.com/users/rspieldenner/following{/other_user}","gists_url":"https://api.github.com/users/rspieldenner/gists{/gist_id}","starred_url":"https://api.github.com/users/rspieldenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspieldenner/subscriptions","organizations_url":"https://api.github.com/users/rspieldenner/orgs","repos_url":"https://api.github.com/users/rspieldenner/repos","events_url":"https://api.github.com/users/rspieldenner/events{/privacy}","received_events_url":"https://api.github.com/users/rspieldenner/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":572,"deletions":48,"changed_files":10}}
{"actor":{"display_login":"rspieldenner"}}