{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/3939","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/3939/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/3939/comments","events_url":"https://api.github.com/repos/docker/compose/issues/3939/events","html_url":"https://github.com/docker/compose/pull/3939","id":176422582,"number":3939,"title":"Add overwrite strategy options to config","user":{"login":"CarstenHoyer","id":1811751,"avatar_url":"https://avatars.githubusercontent.com/u/1811751?v=3","gravatar_id":"","url":"https://api.github.com/users/CarstenHoyer","html_url":"https://github.com/CarstenHoyer","followers_url":"https://api.github.com/users/CarstenHoyer/followers","following_url":"https://api.github.com/users/CarstenHoyer/following{/other_user}","gists_url":"https://api.github.com/users/CarstenHoyer/gists{/gist_id}","starred_url":"https://api.github.com/users/CarstenHoyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarstenHoyer/subscriptions","organizations_url":"https://api.github.com/users/CarstenHoyer/orgs","repos_url":"https://api.github.com/users/CarstenHoyer/repos","events_url":"https://api.github.com/users/CarstenHoyer/events{/privacy}","received_events_url":"https://api.github.com/users/CarstenHoyer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/dco/no","name":"dco/no","color":"ededed"},{"url":"https://api.github.com/repos/docker/compose/labels/status/0-triage","name":"status/0-triage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-12T16:34:07Z","updated_at":"2016-09-12T16:34:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/compose/pulls/3939","html_url":"https://github.com/docker/compose/pull/3939","diff_url":"https://github.com/docker/compose/pull/3939.diff","patch_url":"https://github.com/docker/compose/pull/3939.patch"},"body":"This PR introduces two new configuration options; override_strategy and overwrite.\r\n\r\n**override_strategy**: Can be either 'default' or 'overwrite'. Default does nothing except being explicit. 'Overwrite' overwrites the base config with the override config.\r\n\r\noverwrite: If override_strategy is set, this does not apply. Otherwise it will look at all the fields in the overwrite array and again overwrite the base config with the override config.\r\n  \r\n- Relates to #2260\r\n\r\nNote there is currently no tests, I wanted to just see if there was any interest in this P first."},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/246406726","html_url":"https://github.com/docker/compose/pull/3939#issuecomment-246406726","issue_url":"https://api.github.com/repos/docker/compose/issues/3939","id":246406726,"user":{"login":"GordonTheTurtle","id":10620046,"avatar_url":"https://avatars.githubusercontent.com/u/10620046?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonTheTurtle","html_url":"https://github.com/GordonTheTurtle","followers_url":"https://api.github.com/users/GordonTheTurtle/followers","following_url":"https://api.github.com/users/GordonTheTurtle/following{/other_user}","gists_url":"https://api.github.com/users/GordonTheTurtle/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonTheTurtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonTheTurtle/subscriptions","organizations_url":"https://api.github.com/users/GordonTheTurtle/orgs","repos_url":"https://api.github.com/users/GordonTheTurtle/repos","events_url":"https://api.github.com/users/GordonTheTurtle/events{/privacy}","received_events_url":"https://api.github.com/users/GordonTheTurtle/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T16:34:08Z","updated_at":"2016-09-12T16:34:08Z","body":"Please sign your commits following these rules:\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work\nThe easiest way to do this is to amend the last commit:\n~~~console\n$ git clone -b \"override-strategy\" git@github.com:CarstenHoyer/compose.git somewhere\n$ cd somewhere\n$ git commit --amend -s --no-edit\n$ git push -f\n~~~\n\nAmmending updates the existing PR. You **DO NOT** need to open a new one.\n"}}
{"actor":{"display_login":"GordonTheTurtle"}}