{"action":"closed","number":147,"pull_request":{"url":"https://api.github.com/repos/houtianze/bypy/pulls/147","id":33467585,"html_url":"https://github.com/houtianze/bypy/pull/147","diff_url":"https://github.com/houtianze/bypy/pull/147.diff","patch_url":"https://github.com/houtianze/bypy/pull/147.patch","issue_url":"https://api.github.com/repos/houtianze/bypy/issues/147","number":147,"state":"closed","locked":false,"title":"syncup() 覆盖时不删除文件，而是创建新版本","user":{"login":"xslidian","id":127552,"avatar_url":"https://avatars.githubusercontent.com/u/127552?v=3","gravatar_id":"","url":"https://api.github.com/users/xslidian","html_url":"https://github.com/xslidian","followers_url":"https://api.github.com/users/xslidian/followers","following_url":"https://api.github.com/users/xslidian/following{/other_user}","gists_url":"https://api.github.com/users/xslidian/gists{/gist_id}","starred_url":"https://api.github.com/users/xslidian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xslidian/subscriptions","organizations_url":"https://api.github.com/users/xslidian/orgs","repos_url":"https://api.github.com/users/xslidian/repos","events_url":"https://api.github.com/users/xslidian/events{/privacy}","received_events_url":"https://api.github.com/users/xslidian/received_events","type":"User","site_admin":false},"body":"#131 的后续。\r\n因为自己一直在用，目前看来没有什么问题（除了某些大文件恢复不出来）。\r\n\r\n`diff` 类型：\r\n`DF/FD` => 远程文件/文件夹改名（建议提供选项，允许修改行为）\r\n`FF` => 创建版本\r\n\r\n这样回收站比较干净。\r\n建议允许用户选择原来的直接删除方式，简单粗暴但非常有效。\r\n\r\n---\r\n\r\nmd5 方面：以前的文件经过覆盖能得到正确的 md5 值，但最近几个月没有出现严重的 md5 错乱现象，不敢说异常期间这招能管用。","created_at":"2015-04-16T16:17:10Z","updated_at":"2015-04-17T14:25:48Z","closed_at":"2015-04-17T14:25:48Z","merged_at":"2015-04-17T14:25:48Z","merge_commit_sha":"07a171569b3a4812a488f7e30ad38a97d3a984e3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/houtianze/bypy/pulls/147/commits","review_comments_url":"https://api.github.com/repos/houtianze/bypy/pulls/147/comments","review_comment_url":"https://api.github.com/repos/houtianze/bypy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/houtianze/bypy/issues/147/comments","statuses_url":"https://api.github.com/repos/houtianze/bypy/statuses/238a6f79d79cebf406232e0935aca25f57b4fbc9","head":{"label":"xslidian:patch-9","ref":"patch-9","sha":"238a6f79d79cebf406232e0935aca25f57b4fbc9","user":{"login":"xslidian","id":127552,"avatar_url":"https://avatars.githubusercontent.com/u/127552?v=3","gravatar_id":"","url":"https://api.github.com/users/xslidian","html_url":"https://github.com/xslidian","followers_url":"https://api.github.com/users/xslidian/followers","following_url":"https://api.github.com/users/xslidian/following{/other_user}","gists_url":"https://api.github.com/users/xslidian/gists{/gist_id}","starred_url":"https://api.github.com/users/xslidian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xslidian/subscriptions","organizations_url":"https://api.github.com/users/xslidian/orgs","repos_url":"https://api.github.com/users/xslidian/repos","events_url":"https://api.github.com/users/xslidian/events{/privacy}","received_events_url":"https://api.github.com/users/xslidian/received_events","type":"User","site_admin":false},"repo":{"id":30639935,"name":"bypy","full_name":"xslidian/bypy","owner":{"login":"xslidian","id":127552,"avatar_url":"https://avatars.githubusercontent.com/u/127552?v=3","gravatar_id":"","url":"https://api.github.com/users/xslidian","html_url":"https://github.com/xslidian","followers_url":"https://api.github.com/users/xslidian/followers","following_url":"https://api.github.com/users/xslidian/following{/other_user}","gists_url":"https://api.github.com/users/xslidian/gists{/gist_id}","starred_url":"https://api.github.com/users/xslidian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xslidian/subscriptions","organizations_url":"https://api.github.com/users/xslidian/orgs","repos_url":"https://api.github.com/users/xslidian/repos","events_url":"https://api.github.com/users/xslidian/events{/privacy}","received_events_url":"https://api.github.com/users/xslidian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xslidian/bypy","description":"Python client for Baidu Yun (Personal Cloud Storage) 百度云/百度网盘Python客户端","fork":true,"url":"https://api.github.com/repos/xslidian/bypy","forks_url":"https://api.github.com/repos/xslidian/bypy/forks","keys_url":"https://api.github.com/repos/xslidian/bypy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xslidian/bypy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xslidian/bypy/teams","hooks_url":"https://api.github.com/repos/xslidian/bypy/hooks","issue_events_url":"https://api.github.com/repos/xslidian/bypy/issues/events{/number}","events_url":"https://api.github.com/repos/xslidian/bypy/events","assignees_url":"https://api.github.com/repos/xslidian/bypy/assignees{/user}","branches_url":"https://api.github.com/repos/xslidian/bypy/branches{/branch}","tags_url":"https://api.github.com/repos/xslidian/bypy/tags","blobs_url":"https://api.github.com/repos/xslidian/bypy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xslidian/bypy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xslidian/bypy/git/refs{/sha}","trees_url":"https://api.github.com/repos/xslidian/bypy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xslidian/bypy/statuses/{sha}","languages_url":"https://api.github.com/repos/xslidian/bypy/languages","stargazers_url":"https://api.github.com/repos/xslidian/bypy/stargazers","contributors_url":"https://api.github.com/repos/xslidian/bypy/contributors","subscribers_url":"https://api.github.com/repos/xslidian/bypy/subscribers","subscription_url":"https://api.github.com/repos/xslidian/bypy/subscription","commits_url":"https://api.github.com/repos/xslidian/bypy/commits{/sha}","git_commits_url":"https://api.github.com/repos/xslidian/bypy/git/commits{/sha}","comments_url":"https://api.github.com/repos/xslidian/bypy/comments{/number}","issue_comment_url":"https://api.github.com/repos/xslidian/bypy/issues/comments{/number}","contents_url":"https://api.github.com/repos/xslidian/bypy/contents/{+path}","compare_url":"https://api.github.com/repos/xslidian/bypy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xslidian/bypy/merges","archive_url":"https://api.github.com/repos/xslidian/bypy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xslidian/bypy/downloads","issues_url":"https://api.github.com/repos/xslidian/bypy/issues{/number}","pulls_url":"https://api.github.com/repos/xslidian/bypy/pulls{/number}","milestones_url":"https://api.github.com/repos/xslidian/bypy/milestones{/number}","notifications_url":"https://api.github.com/repos/xslidian/bypy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xslidian/bypy/labels{/name}","releases_url":"https://api.github.com/repos/xslidian/bypy/releases{/id}","created_at":"2015-02-11T09:17:28Z","updated_at":"2015-02-11T09:17:29Z","pushed_at":"2015-04-16T14:56:08Z","git_url":"git://github.com/xslidian/bypy.git","ssh_url":"git@github.com:xslidian/bypy.git","clone_url":"https://github.com/xslidian/bypy.git","svn_url":"https://github.com/xslidian/bypy","homepage":"","size":1008,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"more2"}},"base":{"label":"houtianze:master","ref":"master","sha":"61fee643af384c74e4b9dca7227c9f4bed88a122","user":{"login":"houtianze","id":99046,"avatar_url":"https://avatars.githubusercontent.com/u/99046?v=3","gravatar_id":"","url":"https://api.github.com/users/houtianze","html_url":"https://github.com/houtianze","followers_url":"https://api.github.com/users/houtianze/followers","following_url":"https://api.github.com/users/houtianze/following{/other_user}","gists_url":"https://api.github.com/users/houtianze/gists{/gist_id}","starred_url":"https://api.github.com/users/houtianze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houtianze/subscriptions","organizations_url":"https://api.github.com/users/houtianze/orgs","repos_url":"https://api.github.com/users/houtianze/repos","events_url":"https://api.github.com/users/houtianze/events{/privacy}","received_events_url":"https://api.github.com/users/houtianze/received_events","type":"User","site_admin":false},"repo":{"id":15532991,"name":"bypy","full_name":"houtianze/bypy","owner":{"login":"houtianze","id":99046,"avatar_url":"https://avatars.githubusercontent.com/u/99046?v=3","gravatar_id":"","url":"https://api.github.com/users/houtianze","html_url":"https://github.com/houtianze","followers_url":"https://api.github.com/users/houtianze/followers","following_url":"https://api.github.com/users/houtianze/following{/other_user}","gists_url":"https://api.github.com/users/houtianze/gists{/gist_id}","starred_url":"https://api.github.com/users/houtianze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houtianze/subscriptions","organizations_url":"https://api.github.com/users/houtianze/orgs","repos_url":"https://api.github.com/users/houtianze/repos","events_url":"https://api.github.com/users/houtianze/events{/privacy}","received_events_url":"https://api.github.com/users/houtianze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/houtianze/bypy","description":"Python client for Baidu Yun (Personal Cloud Storage) 百度云/百度网盘Python客户端","fork":false,"url":"https://api.github.com/repos/houtianze/bypy","forks_url":"https://api.github.com/repos/houtianze/bypy/forks","keys_url":"https://api.github.com/repos/houtianze/bypy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/houtianze/bypy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/houtianze/bypy/teams","hooks_url":"https://api.github.com/repos/houtianze/bypy/hooks","issue_events_url":"https://api.github.com/repos/houtianze/bypy/issues/events{/number}","events_url":"https://api.github.com/repos/houtianze/bypy/events","assignees_url":"https://api.github.com/repos/houtianze/bypy/assignees{/user}","branches_url":"https://api.github.com/repos/houtianze/bypy/branches{/branch}","tags_url":"https://api.github.com/repos/houtianze/bypy/tags","blobs_url":"https://api.github.com/repos/houtianze/bypy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/houtianze/bypy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/houtianze/bypy/git/refs{/sha}","trees_url":"https://api.github.com/repos/houtianze/bypy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/houtianze/bypy/statuses/{sha}","languages_url":"https://api.github.com/repos/houtianze/bypy/languages","stargazers_url":"https://api.github.com/repos/houtianze/bypy/stargazers","contributors_url":"https://api.github.com/repos/houtianze/bypy/contributors","subscribers_url":"https://api.github.com/repos/houtianze/bypy/subscribers","subscription_url":"https://api.github.com/repos/houtianze/bypy/subscription","commits_url":"https://api.github.com/repos/houtianze/bypy/commits{/sha}","git_commits_url":"https://api.github.com/repos/houtianze/bypy/git/commits{/sha}","comments_url":"https://api.github.com/repos/houtianze/bypy/comments{/number}","issue_comment_url":"https://api.github.com/repos/houtianze/bypy/issues/comments{/number}","contents_url":"https://api.github.com/repos/houtianze/bypy/contents/{+path}","compare_url":"https://api.github.com/repos/houtianze/bypy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/houtianze/bypy/merges","archive_url":"https://api.github.com/repos/houtianze/bypy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/houtianze/bypy/downloads","issues_url":"https://api.github.com/repos/houtianze/bypy/issues{/number}","pulls_url":"https://api.github.com/repos/houtianze/bypy/pulls{/number}","milestones_url":"https://api.github.com/repos/houtianze/bypy/milestones{/number}","notifications_url":"https://api.github.com/repos/houtianze/bypy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/houtianze/bypy/labels{/name}","releases_url":"https://api.github.com/repos/houtianze/bypy/releases{/id}","created_at":"2013-12-30T17:47:38Z","updated_at":"2015-04-17T14:24:18Z","pushed_at":"2015-04-17T14:25:48Z","git_url":"git://github.com/houtianze/bypy.git","ssh_url":"git@github.com:houtianze/bypy.git","clone_url":"https://github.com/houtianze/bypy.git","svn_url":"https://github.com/houtianze/bypy","homepage":"","size":2212,"stargazers_count":822,"watchers_count":822,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":312,"mirror_url":null,"open_issues_count":14,"forks":312,"open_issues":14,"watchers":822,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/houtianze/bypy/pulls/147"},"html":{"href":"https://github.com/houtianze/bypy/pull/147"},"issue":{"href":"https://api.github.com/repos/houtianze/bypy/issues/147"},"comments":{"href":"https://api.github.com/repos/houtianze/bypy/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/houtianze/bypy/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/houtianze/bypy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/houtianze/bypy/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/houtianze/bypy/statuses/238a6f79d79cebf406232e0935aca25f57b4fbc9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"houtianze","id":99046,"avatar_url":"https://avatars.githubusercontent.com/u/99046?v=3","gravatar_id":"","url":"https://api.github.com/users/houtianze","html_url":"https://github.com/houtianze","followers_url":"https://api.github.com/users/houtianze/followers","following_url":"https://api.github.com/users/houtianze/following{/other_user}","gists_url":"https://api.github.com/users/houtianze/gists{/gist_id}","starred_url":"https://api.github.com/users/houtianze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houtianze/subscriptions","organizations_url":"https://api.github.com/users/houtianze/orgs","repos_url":"https://api.github.com/users/houtianze/repos","events_url":"https://api.github.com/users/houtianze/events{/privacy}","received_events_url":"https://api.github.com/users/houtianze/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":1}}