{"action":"opened","number":1561,"pull_request":{"url":"https://api.github.com/repos/docker/docker-py/pulls/1561","id":115538404,"html_url":"https://github.com/docker/docker-py/pull/1561","diff_url":"https://github.com/docker/docker-py/pull/1561.diff","patch_url":"https://github.com/docker/docker-py/pull/1561.patch","issue_url":"https://api.github.com/repos/docker/docker-py/issues/1561","number":1561,"state":"open","locked":false,"title":"add service update_preserve method","user":{"login":"ornoone","id":5380232,"avatar_url":"https://avatars2.githubusercontent.com/u/5380232?v=3","gravatar_id":"","url":"https://api.github.com/users/ornoone","html_url":"https://github.com/ornoone","followers_url":"https://api.github.com/users/ornoone/followers","following_url":"https://api.github.com/users/ornoone/following{/other_user}","gists_url":"https://api.github.com/users/ornoone/gists{/gist_id}","starred_url":"https://api.github.com/users/ornoone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ornoone/subscriptions","organizations_url":"https://api.github.com/users/ornoone/orgs","repos_url":"https://api.github.com/users/ornoone/repos","events_url":"https://api.github.com/users/ornoone/events{/privacy}","received_events_url":"https://api.github.com/users/ornoone/received_events","type":"User","site_admin":false},"body":"the Service.update method did not preserve non given attribute.\r\nthis add a method named Service.update_preserve to add this\r\nfeature.\r\n\r\ncalling Service.update_preserve(image='alpine') will only update the image, preserving all other definition, as the ``docker`` cli command do. \r\n\r\nthe Service.update(**) method did not behave like the ``docker`` cli, is it don't pass all old definitions along with new one. ","created_at":"2017-04-12T13:10:06Z","updated_at":"2017-04-12T13:10:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker-py/pulls/1561/commits","review_comments_url":"https://api.github.com/repos/docker/docker-py/pulls/1561/comments","review_comment_url":"https://api.github.com/repos/docker/docker-py/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker-py/issues/1561/comments","statuses_url":"https://api.github.com/repos/docker/docker-py/statuses/acda2b6b0936ac503988790c361f6c3fc346583c","head":{"label":"Yupeek:master","ref":"master","sha":"acda2b6b0936ac503988790c361f6c3fc346583c","user":{"login":"Yupeek","id":1615521,"avatar_url":"https://avatars0.githubusercontent.com/u/1615521?v=3","gravatar_id":"","url":"https://api.github.com/users/Yupeek","html_url":"https://github.com/Yupeek","followers_url":"https://api.github.com/users/Yupeek/followers","following_url":"https://api.github.com/users/Yupeek/following{/other_user}","gists_url":"https://api.github.com/users/Yupeek/gists{/gist_id}","starred_url":"https://api.github.com/users/Yupeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yupeek/subscriptions","organizations_url":"https://api.github.com/users/Yupeek/orgs","repos_url":"https://api.github.com/users/Yupeek/repos","events_url":"https://api.github.com/users/Yupeek/events{/privacy}","received_events_url":"https://api.github.com/users/Yupeek/received_events","type":"Organization","site_admin":false},"repo":{"id":88029200,"name":"docker-py","full_name":"Yupeek/docker-py","owner":{"login":"Yupeek","id":1615521,"avatar_url":"https://avatars0.githubusercontent.com/u/1615521?v=3","gravatar_id":"","url":"https://api.github.com/users/Yupeek","html_url":"https://github.com/Yupeek","followers_url":"https://api.github.com/users/Yupeek/followers","following_url":"https://api.github.com/users/Yupeek/following{/other_user}","gists_url":"https://api.github.com/users/Yupeek/gists{/gist_id}","starred_url":"https://api.github.com/users/Yupeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yupeek/subscriptions","organizations_url":"https://api.github.com/users/Yupeek/orgs","repos_url":"https://api.github.com/users/Yupeek/repos","events_url":"https://api.github.com/users/Yupeek/events{/privacy}","received_events_url":"https://api.github.com/users/Yupeek/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yupeek/docker-py","description":"A Python library for the Docker Engine API","fork":true,"url":"https://api.github.com/repos/Yupeek/docker-py","forks_url":"https://api.github.com/repos/Yupeek/docker-py/forks","keys_url":"https://api.github.com/repos/Yupeek/docker-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yupeek/docker-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yupeek/docker-py/teams","hooks_url":"https://api.github.com/repos/Yupeek/docker-py/hooks","issue_events_url":"https://api.github.com/repos/Yupeek/docker-py/issues/events{/number}","events_url":"https://api.github.com/repos/Yupeek/docker-py/events","assignees_url":"https://api.github.com/repos/Yupeek/docker-py/assignees{/user}","branches_url":"https://api.github.com/repos/Yupeek/docker-py/branches{/branch}","tags_url":"https://api.github.com/repos/Yupeek/docker-py/tags","blobs_url":"https://api.github.com/repos/Yupeek/docker-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yupeek/docker-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yupeek/docker-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yupeek/docker-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yupeek/docker-py/statuses/{sha}","languages_url":"https://api.github.com/repos/Yupeek/docker-py/languages","stargazers_url":"https://api.github.com/repos/Yupeek/docker-py/stargazers","contributors_url":"https://api.github.com/repos/Yupeek/docker-py/contributors","subscribers_url":"https://api.github.com/repos/Yupeek/docker-py/subscribers","subscription_url":"https://api.github.com/repos/Yupeek/docker-py/subscription","commits_url":"https://api.github.com/repos/Yupeek/docker-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yupeek/docker-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yupeek/docker-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yupeek/docker-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yupeek/docker-py/contents/{+path}","compare_url":"https://api.github.com/repos/Yupeek/docker-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yupeek/docker-py/merges","archive_url":"https://api.github.com/repos/Yupeek/docker-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yupeek/docker-py/downloads","issues_url":"https://api.github.com/repos/Yupeek/docker-py/issues{/number}","pulls_url":"https://api.github.com/repos/Yupeek/docker-py/pulls{/number}","milestones_url":"https://api.github.com/repos/Yupeek/docker-py/milestones{/number}","notifications_url":"https://api.github.com/repos/Yupeek/docker-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yupeek/docker-py/labels{/name}","releases_url":"https://api.github.com/repos/Yupeek/docker-py/releases{/id}","deployments_url":"https://api.github.com/repos/Yupeek/docker-py/deployments","created_at":"2017-04-12T08:37:38Z","updated_at":"2017-04-12T08:37:41Z","pushed_at":"2017-04-12T12:54:34Z","git_url":"git://github.com/Yupeek/docker-py.git","ssh_url":"git@github.com:Yupeek/docker-py.git","clone_url":"https://github.com/Yupeek/docker-py.git","svn_url":"https://github.com/Yupeek/docker-py","homepage":"https://docker-py.readthedocs.io/","size":3367,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"f127a9ffdc9db1a946c3d7943eaf16b207f33598","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars2.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":10247874,"name":"docker-py","full_name":"docker/docker-py","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars2.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker-py","description":"A Python library for the Docker Engine API","fork":false,"url":"https://api.github.com/repos/docker/docker-py","forks_url":"https://api.github.com/repos/docker/docker-py/forks","keys_url":"https://api.github.com/repos/docker/docker-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker-py/teams","hooks_url":"https://api.github.com/repos/docker/docker-py/hooks","issue_events_url":"https://api.github.com/repos/docker/docker-py/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker-py/events","assignees_url":"https://api.github.com/repos/docker/docker-py/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker-py/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker-py/tags","blobs_url":"https://api.github.com/repos/docker/docker-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker-py/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker-py/languages","stargazers_url":"https://api.github.com/repos/docker/docker-py/stargazers","contributors_url":"https://api.github.com/repos/docker/docker-py/contributors","subscribers_url":"https://api.github.com/repos/docker/docker-py/subscribers","subscription_url":"https://api.github.com/repos/docker/docker-py/subscription","commits_url":"https://api.github.com/repos/docker/docker-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker-py/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker-py/merges","archive_url":"https://api.github.com/repos/docker/docker-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker-py/downloads","issues_url":"https://api.github.com/repos/docker/docker-py/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker-py/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker-py/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker-py/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker-py/releases{/id}","deployments_url":"https://api.github.com/repos/docker/docker-py/deployments","created_at":"2013-05-23T16:15:07Z","updated_at":"2017-04-12T05:41:34Z","pushed_at":"2017-04-12T00:10:08Z","git_url":"git://github.com/docker/docker-py.git","ssh_url":"git@github.com:docker/docker-py.git","clone_url":"https://github.com/docker/docker-py.git","svn_url":"https://github.com/docker/docker-py","homepage":"https://docker-py.readthedocs.io/","size":3367,"stargazers_count":2107,"watchers_count":2107,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":795,"mirror_url":null,"open_issues_count":163,"forks":795,"open_issues":163,"watchers":2107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker-py/pulls/1561"},"html":{"href":"https://github.com/docker/docker-py/pull/1561"},"issue":{"href":"https://api.github.com/repos/docker/docker-py/issues/1561"},"comments":{"href":"https://api.github.com/repos/docker/docker-py/issues/1561/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker-py/pulls/1561/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker-py/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker-py/pulls/1561/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker-py/statuses/acda2b6b0936ac503988790c361f6c3fc346583c"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":54,"deletions":4,"changed_files":4}}
{"actor":{"display_login":"ornoone"}}