{"action":"created","issue":{"url":"https://api.github.com/repos/progrium/dokku/issues/1425","labels_url":"https://api.github.com/repos/progrium/dokku/issues/1425/labels{/name}","comments_url":"https://api.github.com/repos/progrium/dokku/issues/1425/comments","events_url":"https://api.github.com/repos/progrium/dokku/issues/1425/events","html_url":"https://github.com/progrium/dokku/pull/1425","id":103370638,"number":1425,"title":"Plugins management","user":{"login":"Flink","id":5648,"avatar_url":"https://avatars.githubusercontent.com/u/5648?v=3","gravatar_id":"","url":"https://api.github.com/users/Flink","html_url":"https://github.com/Flink","followers_url":"https://api.github.com/users/Flink/followers","following_url":"https://api.github.com/users/Flink/following{/other_user}","gists_url":"https://api.github.com/users/Flink/gists{/gist_id}","starred_url":"https://api.github.com/users/Flink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Flink/subscriptions","organizations_url":"https://api.github.com/users/Flink/orgs","repos_url":"https://api.github.com/users/Flink/repos","events_url":"https://api.github.com/users/Flink/events{/privacy}","received_events_url":"https://api.github.com/users/Flink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-08-26T21:45:32Z","updated_at":"2015-09-09T15:34:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/progrium/dokku/pulls/1425","html_url":"https://github.com/progrium/dokku/pull/1425","diff_url":"https://github.com/progrium/dokku/pull/1425.diff","patch_url":"https://github.com/progrium/dokku/pull/1425.patch"},"body":"As discussed in https://github.com/progrium/dokku/issues/1205, I tried a way to manage plugins and be able to do a `dokku plugins-install` only on core ones.\r\n\r\nThis PR is here to discuss the features and the details of the implementation.\r\n\r\nIt’s pretty basic for now but it works as intended :)\r\nSo we have three subdirectories in `/var/lib/dokku/plugins`, `core`, `custom` and `enabled`. Plugins are now divided in two categories: core ones and other ones.\r\nThe `enabled` directory only links to plugins (either in `core` or `enabled` directories). The core plugins are enabled automatically when installing dokku and cannot be disabled.\r\n\r\nThere are two new commands:\r\n* `dokku plugins:enable <name>` to enable a third party plugin.\r\n* `dokku plugins:disable <name>` to disable a third party plugin. Core plugins cannot be disabled by this command.\r\n\r\n`plugins-install` and `plugins-install-dependencies` now take an optional argument `--core` which when set will instruct those commands to only refer to the core plugins. This should resolve the issue #1205.\r\nThis happens by setting PLUGIN_PATH to `/var/lib/dokku/plugins/core` instead of the default `/var/lib/dokku/plugins/enabled` when `--core` is set.\r\n\r\n/cc @josegonzalez @michaelshobbs @jimeh"},"comment":{"url":"https://api.github.com/repos/progrium/dokku/issues/comments/138948924","html_url":"https://github.com/progrium/dokku/pull/1425#issuecomment-138948924","issue_url":"https://api.github.com/repos/progrium/dokku/issues/1425","id":138948924,"user":{"login":"josegonzalez","id":65675,"avatar_url":"https://avatars.githubusercontent.com/u/65675?v=3","gravatar_id":"","url":"https://api.github.com/users/josegonzalez","html_url":"https://github.com/josegonzalez","followers_url":"https://api.github.com/users/josegonzalez/followers","following_url":"https://api.github.com/users/josegonzalez/following{/other_user}","gists_url":"https://api.github.com/users/josegonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/josegonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josegonzalez/subscriptions","organizations_url":"https://api.github.com/users/josegonzalez/orgs","repos_url":"https://api.github.com/users/josegonzalez/repos","events_url":"https://api.github.com/users/josegonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/josegonzalez/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T15:34:22Z","updated_at":"2015-09-09T15:34:22Z","body":"We're not rebasing plugn anymore."}}