{"action":"created","issue":{"url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/240","repository_url":"https://api.github.com/repos/drupal-composer/drupal-project","labels_url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/240/comments","events_url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/240/events","html_url":"https://github.com/drupal-composer/drupal-project/issues/240","id":203922000,"number":240,"title":"Make scripts/composer/ScriptHandler.php a composer plugin","user":{"login":"MichaelMallett","id":4590104,"avatar_url":"https://avatars1.githubusercontent.com/u/4590104?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelMallett","html_url":"https://github.com/MichaelMallett","followers_url":"https://api.github.com/users/MichaelMallett/followers","following_url":"https://api.github.com/users/MichaelMallett/following{/other_user}","gists_url":"https://api.github.com/users/MichaelMallett/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelMallett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelMallett/subscriptions","organizations_url":"https://api.github.com/users/MichaelMallett/orgs","repos_url":"https://api.github.com/users/MichaelMallett/repos","events_url":"https://api.github.com/users/MichaelMallett/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelMallett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-30T03:36:26Z","updated_at":"2017-03-08T22:55:33Z","closed_at":null,"body":"It seems unusual to me to have a requirement of your repo include the scripts/composer/ScriptHandler.php file. In my view anything that is not custom to the project should not be in the repo and instead installed through the composer.json file, that is how I see things when moving from a drush make file style installation in the past\r\n\r\nAm I wrong here? I basically only want a few things in my repo:\r\ncomposer.json (required)\r\ncustom modules/libraries/themes (optional)\r\nmy own custom scripts (optional) - arguably I could put scripthandler in here but i I don't have any custom scripts then this is superfluous.\r\n\r\nIn my head I reckon it should be possible to get the composer.json from this project on it's own as a starting point and install from that without anything additional imo. Is there a way to do that I'm missing perhaps, or am I just missing the point of composer completely?"},"comment":{"url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/comments/285197174","html_url":"https://github.com/drupal-composer/drupal-project/issues/240#issuecomment-285197174","issue_url":"https://api.github.com/repos/drupal-composer/drupal-project/issues/240","id":285197174,"user":{"login":"derhasi","id":118502,"avatar_url":"https://avatars3.githubusercontent.com/u/118502?v=3","gravatar_id":"","url":"https://api.github.com/users/derhasi","html_url":"https://github.com/derhasi","followers_url":"https://api.github.com/users/derhasi/followers","following_url":"https://api.github.com/users/derhasi/following{/other_user}","gists_url":"https://api.github.com/users/derhasi/gists{/gist_id}","starred_url":"https://api.github.com/users/derhasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derhasi/subscriptions","organizations_url":"https://api.github.com/users/derhasi/orgs","repos_url":"https://api.github.com/users/derhasi/repos","events_url":"https://api.github.com/users/derhasi/events{/privacy}","received_events_url":"https://api.github.com/users/derhasi/received_events","type":"User","site_admin":false},"created_at":"2017-03-08T22:55:33Z","updated_at":"2017-03-08T22:55:33Z","body":"One reason the scripthandler must live in this repo is that it executes before dependencies are fetched: see #170 for details.\r\n\r\nWe could think of moving `ScriptHandler::createRequiredFiles()` to _drupal-scaffold_, but that would be some more work."}}
{"actor":{"display_login":"derhasi"}}