{"action":"created","issue":{"url":"https://api.github.com/repos/supermarin/Alcatraz/issues/295","labels_url":"https://api.github.com/repos/supermarin/Alcatraz/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/supermarin/Alcatraz/issues/295/comments","events_url":"https://api.github.com/repos/supermarin/Alcatraz/issues/295/events","html_url":"https://github.com/supermarin/Alcatraz/pull/295","id":87631406,"number":295,"title":"Support for script based installations","user":{"login":"feinstruktur","id":65520,"avatar_url":"https://avatars.githubusercontent.com/u/65520?v=3","gravatar_id":"","url":"https://api.github.com/users/feinstruktur","html_url":"https://github.com/feinstruktur","followers_url":"https://api.github.com/users/feinstruktur/followers","following_url":"https://api.github.com/users/feinstruktur/following{/other_user}","gists_url":"https://api.github.com/users/feinstruktur/gists{/gist_id}","starred_url":"https://api.github.com/users/feinstruktur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feinstruktur/subscriptions","organizations_url":"https://api.github.com/users/feinstruktur/orgs","repos_url":"https://api.github.com/users/feinstruktur/repos","events_url":"https://api.github.com/users/feinstruktur/events{/privacy}","received_events_url":"https://api.github.com/users/feinstruktur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-12T06:52:02Z","updated_at":"2015-07-10T07:15:22Z","closed_at":"2015-07-09T18:26:41Z","pull_request":{"url":"https://api.github.com/repos/supermarin/Alcatraz/pulls/295","html_url":"https://github.com/supermarin/Alcatraz/pull/295","diff_url":"https://github.com/supermarin/Alcatraz/pull/295.diff","patch_url":"https://github.com/supermarin/Alcatraz/pull/295.patch"},"body":"What this does is search for a script called `alcatraz.sh` in your project to build (or install!) a plugin. This should help support cases where a build of a project alone is not enough.\r\n\r\nHowever, this mechanism can also be used to trigger a binary install by downloading a release and placing it in the plugins folder similar to what Alcatraz uses to bootstrap:\r\n\r\n```\r\ncurl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/master/Scripts/install.sh | sh\r\n```\r\n\r\nPlacing this inside `alcatraz.sh` allows plugin authors to provide binaries for installation rather than building the plugin on the target system.\r\n\r\nHowever, this comes with a big downside – you'd need to be able to trust plugin authors not to place something malicious inside `alcatraz.sh`. Now that I've written this I've convinced myself that this is a bad idea.\r\n\r\nIt's probably best if there's a mechanism to fetch a zip from a URL and unpack it into the plugins folder rather than drive this through a script.\r\n\r\nI'll open this PR anyway, if only to have a discussion what I could do to get CoPilot (which this is for) working with Alcatraz."},"comment":{"url":"https://api.github.com/repos/supermarin/Alcatraz/issues/comments/120261267","html_url":"https://github.com/supermarin/Alcatraz/pull/295#issuecomment-120261267","issue_url":"https://api.github.com/repos/supermarin/Alcatraz/issues/295","id":120261267,"user":{"login":"feinstruktur","id":65520,"avatar_url":"https://avatars.githubusercontent.com/u/65520?v=3","gravatar_id":"","url":"https://api.github.com/users/feinstruktur","html_url":"https://github.com/feinstruktur","followers_url":"https://api.github.com/users/feinstruktur/followers","following_url":"https://api.github.com/users/feinstruktur/following{/other_user}","gists_url":"https://api.github.com/users/feinstruktur/gists{/gist_id}","starred_url":"https://api.github.com/users/feinstruktur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feinstruktur/subscriptions","organizations_url":"https://api.github.com/users/feinstruktur/orgs","repos_url":"https://api.github.com/users/feinstruktur/repos","events_url":"https://api.github.com/users/feinstruktur/events{/privacy}","received_events_url":"https://api.github.com/users/feinstruktur/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T07:15:22Z","updated_at":"2015-07-10T07:15:22Z","body":"Makes sense, Marin. Is there a branch tracking binary releases? Or a rough ETA?"}}