{"action":"created","issue":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1158","labels_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1158/labels{/name}","comments_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1158/comments","events_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1158/events","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1158","id":56178543,"number":1158,"title":"[WIP] Platform light installer","user":{"login":"bdunogier","id":235928,"avatar_url":"https://avatars.githubusercontent.com/u/235928?v=3","gravatar_id":"","url":"https://api.github.com/users/bdunogier","html_url":"https://github.com/bdunogier","followers_url":"https://api.github.com/users/bdunogier/followers","following_url":"https://api.github.com/users/bdunogier/following{/other_user}","gists_url":"https://api.github.com/users/bdunogier/gists{/gist_id}","starred_url":"https://api.github.com/users/bdunogier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdunogier/subscriptions","organizations_url":"https://api.github.com/users/bdunogier/orgs","repos_url":"https://api.github.com/users/bdunogier/repos","events_url":"https://api.github.com/users/bdunogier/events{/privacy}","received_events_url":"https://api.github.com/users/bdunogier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-02-01T21:14:51Z","updated_at":"2015-02-12T18:44:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/pulls/1158","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1158","diff_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1158.diff","patch_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1158.patch"},"body":"> [EZP-23949](http://jira.ez.no/browse/EZP-23949)\r\n> Status: work in progress, open for comments\r\n\r\n## Scope\r\nStarting from an eZ Platform with dependencies installed, get it running using a simple installation script.\r\n\r\n## Usage example\r\n```\r\n$ php ezpublish/console ezplatform:install\r\nExecuting 659 queries from vendor/ezsystems/ezpublish-kernel/data/mysql/schema.sql on database ezplatform\r\nExecuting 2054 queries from vendor/ezsystems/ezpublish-kernel/data/cleandata.sql on database ezplatform\r\nCopied /home/bertrand/dev-platform-installer/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/PlatformInstallerBundle/src/Command/../Resources/config_templates/ezpublish.yml.clean to ezpublish/config/ezpublish.yml\r\nCopied /home/bertrand/dev-platform-installer/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/PlatformInstallerBundle/src/Command/../Resources/config_templates/ezpublish_dev.yml to ezpublish/config/ezpublish_dev.yml\r\nCopied /home/bertrand/dev-platform-installer/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/PlatformInstallerBundle/src/Command/../Resources/config_templates/ezpublish_prod.yml to ezpublish/config/ezpublish_prod.yml\r\n```\r\n\r\n## Implementation of installation itself\r\nVery crude. Uses simple SQL scripts to get data in, and copies configuration files without changing anything to them.\r\nBut it is sufficient for now.\r\n\r\n## PlatformInstallerBundle\r\nThis new bundle, located in `eZ/Bundle/PlatformInstallerBundle` (namespace `EzSystems\\PlatformInstallerBundle`) contains the installer itself: the ezplatform:install command, the `EzSystems\\PlatformInstallerBundle\\Installer\\Installer` interface, and the CleanInstaller in the same namespace.\r\n\r\nInstallers are registered via the `ezplatform.installer` service tag, with a `type` attribute (demo, demo-clean...).\r\n\r\nThe `clean` installer is shipped by default, but not supported (it's a leftover from the implementation). The `demo` and `demo-clean` installers are in the DemoBundle itself ()\r\n\r\n## TODO\r\n- [x] Merge ezsystems/LegacyBridge#7 and ezsystems/ezpublish-kernel#1180 before this one\r\n- [x] Move removed listener to legacy-bridge, and rebase\r\n- [x] Merge #1180, and rebase this one\r\n- [x] Delete or update the DumpSchema Command\r\n- [x] Rebase and cleanup\r\n- [x] Fix CS\r\n- [x] Figure out the line endings errors...\r\n- [x] Move demo data (at least binaries to another repository), and rebase the binaries out of this one\r\n- [ ] Update clean data to have relevant text for the alpha (can be done as separate PR after)\r\n- [ ] Rename PR title "},"comment":{"url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/comments/74127135","html_url":"https://github.com/ezsystems/ezpublish-kernel/pull/1158#issuecomment-74127135","issue_url":"https://api.github.com/repos/ezsystems/ezpublish-kernel/issues/1158","id":74127135,"user":{"login":"andrerom","id":289757,"avatar_url":"https://avatars.githubusercontent.com/u/289757?v=3","gravatar_id":"","url":"https://api.github.com/users/andrerom","html_url":"https://github.com/andrerom","followers_url":"https://api.github.com/users/andrerom/followers","following_url":"https://api.github.com/users/andrerom/following{/other_user}","gists_url":"https://api.github.com/users/andrerom/gists{/gist_id}","starred_url":"https://api.github.com/users/andrerom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrerom/subscriptions","organizations_url":"https://api.github.com/users/andrerom/orgs","repos_url":"https://api.github.com/users/andrerom/repos","events_url":"https://api.github.com/users/andrerom/events{/privacy}","received_events_url":"https://api.github.com/users/andrerom/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T18:44:05Z","updated_at":"2015-02-12T18:44:05Z","body":"@crevillo That would be a later followup, think we first will try to come up with a data format instead of using raw sql, and a more transportable schema format for use with Doctrine DBAL."}}