{"action":"created","comment":{"url":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls/comments/29339158","id":29339158,"diff_hunk":"@@ -245,6 +245,10 @@ def enqueue(self, enforce_file_size=True):\n                 # Ignore empty fields\n                 continue\n \n+            # Remove existing cloud info, assuming file data has changed\n+            if field['name'] in cloud_available:\n+                del cloud_available[field['name']]\n+\n             min_size = get_value_from_registry('min_file_size')\n             # TODO: Move this out for bulk uploading, not manual","path":"src/netsight/cloudstorage/adapters.py","position":9,"original_position":9,"commit_id":"b09dd098086bc6d59f16cddbd0ee5000c774af99","original_commit_id":"b09dd098086bc6d59f16cddbd0ee5000c774af99","user":{"login":"mattss","id":1155400,"avatar_url":"https://avatars.githubusercontent.com/u/1155400?v=3","gravatar_id":"","url":"https://api.github.com/users/mattss","html_url":"https://github.com/mattss","followers_url":"https://api.github.com/users/mattss/followers","following_url":"https://api.github.com/users/mattss/following{/other_user}","gists_url":"https://api.github.com/users/mattss/gists{/gist_id}","starred_url":"https://api.github.com/users/mattss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattss/subscriptions","organizations_url":"https://api.github.com/users/mattss/orgs","repos_url":"https://api.github.com/users/mattss/repos","events_url":"https://api.github.com/users/mattss/events{/privacy}","received_events_url":"https://api.github.com/users/mattss/received_events","type":"User","site_admin":false},"body":"I don't think we need this comment any more - do you?","created_at":"2015-04-29T14:14:45Z","updated_at":"2015-04-29T14:14:45Z","html_url":"https://github.com/netsight/netsight.cloudstorage/pull/15#discussion_r29339158","pull_request_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls/comments/29339158"},"html":{"href":"https://github.com/netsight/netsight.cloudstorage/pull/15#discussion_r29339158"},"pull_request":{"href":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls/15","id":34365797,"html_url":"https://github.com/netsight/netsight.cloudstorage/pull/15","diff_url":"https://github.com/netsight/netsight.cloudstorage/pull/15.diff","patch_url":"https://github.com/netsight/netsight.cloudstorage/pull/15.patch","issue_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/issues/15","number":15,"state":"open","locked":false,"title":"Unmark the file as cloud_available before size check","user":{"login":"wengole","id":383857,"avatar_url":"https://avatars.githubusercontent.com/u/383857?v=3","gravatar_id":"","url":"https://api.github.com/users/wengole","html_url":"https://github.com/wengole","followers_url":"https://api.github.com/users/wengole/followers","following_url":"https://api.github.com/users/wengole/following{/other_user}","gists_url":"https://api.github.com/users/wengole/gists{/gist_id}","starred_url":"https://api.github.com/users/wengole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wengole/subscriptions","organizations_url":"https://api.github.com/users/wengole/orgs","repos_url":"https://api.github.com/users/wengole/repos","events_url":"https://api.github.com/users/wengole/events{/privacy}","received_events_url":"https://api.github.com/users/wengole/received_events","type":"User","site_admin":false},"body":"This ensures replacement files that are smaller than the current threshold will be served from Plone and override what's in S3","created_at":"2015-04-29T14:04:32Z","updated_at":"2015-04-29T14:14:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a827f09bccb3ce25107aacc214428aed1ac5e658","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls/15/commits","review_comments_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls/15/comments","review_comment_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/issues/15/comments","statuses_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/statuses/b09dd098086bc6d59f16cddbd0ee5000c774af99","head":{"label":"netsight:hotfix/remove-cloudavailable-when-replaced","ref":"hotfix/remove-cloudavailable-when-replaced","sha":"b09dd098086bc6d59f16cddbd0ee5000c774af99","user":{"login":"netsight","id":1128369,"avatar_url":"https://avatars.githubusercontent.com/u/1128369?v=3","gravatar_id":"","url":"https://api.github.com/users/netsight","html_url":"https://github.com/netsight","followers_url":"https://api.github.com/users/netsight/followers","following_url":"https://api.github.com/users/netsight/following{/other_user}","gists_url":"https://api.github.com/users/netsight/gists{/gist_id}","starred_url":"https://api.github.com/users/netsight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netsight/subscriptions","organizations_url":"https://api.github.com/users/netsight/orgs","repos_url":"https://api.github.com/users/netsight/repos","events_url":"https://api.github.com/users/netsight/events{/privacy}","received_events_url":"https://api.github.com/users/netsight/received_events","type":"Organization","site_admin":false},"repo":{"id":23872260,"name":"netsight.cloudstorage","full_name":"netsight/netsight.cloudstorage","owner":{"login":"netsight","id":1128369,"avatar_url":"https://avatars.githubusercontent.com/u/1128369?v=3","gravatar_id":"","url":"https://api.github.com/users/netsight","html_url":"https://github.com/netsight","followers_url":"https://api.github.com/users/netsight/followers","following_url":"https://api.github.com/users/netsight/following{/other_user}","gists_url":"https://api.github.com/users/netsight/gists{/gist_id}","starred_url":"https://api.github.com/users/netsight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netsight/subscriptions","organizations_url":"https://api.github.com/users/netsight/orgs","repos_url":"https://api.github.com/users/netsight/repos","events_url":"https://api.github.com/users/netsight/events{/privacy}","received_events_url":"https://api.github.com/users/netsight/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netsight/netsight.cloudstorage","description":"Cloud storage mirror for Plone content","fork":false,"url":"https://api.github.com/repos/netsight/netsight.cloudstorage","forks_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/forks","keys_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/teams","hooks_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/hooks","issue_events_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/issues/events{/number}","events_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/events","assignees_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/assignees{/user}","branches_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/branches{/branch}","tags_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/tags","blobs_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/git/refs{/sha}","trees_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/statuses/{sha}","languages_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/languages","stargazers_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/stargazers","contributors_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/contributors","subscribers_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/subscribers","subscription_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/subscription","commits_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/commits{/sha}","git_commits_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/git/commits{/sha}","comments_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/comments{/number}","issue_comment_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/issues/comments{/number}","contents_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/contents/{+path}","compare_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/merges","archive_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/downloads","issues_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/issues{/number}","pulls_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls{/number}","milestones_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/milestones{/number}","notifications_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/labels{/name}","releases_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/releases{/id}","created_at":"2014-09-10T11:38:33Z","updated_at":"2015-04-14T14:53:51Z","pushed_at":"2015-04-29T14:04:33Z","git_url":"git://github.com/netsight/netsight.cloudstorage.git","ssh_url":"git@github.com:netsight/netsight.cloudstorage.git","clone_url":"https://github.com/netsight/netsight.cloudstorage.git","svn_url":"https://github.com/netsight/netsight.cloudstorage","homepage":null,"size":829,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":2,"default_branch":"master"}},"base":{"label":"netsight:master","ref":"master","sha":"3425284794191d7571ad09cd5f1b30dce1fd5dbf","user":{"login":"netsight","id":1128369,"avatar_url":"https://avatars.githubusercontent.com/u/1128369?v=3","gravatar_id":"","url":"https://api.github.com/users/netsight","html_url":"https://github.com/netsight","followers_url":"https://api.github.com/users/netsight/followers","following_url":"https://api.github.com/users/netsight/following{/other_user}","gists_url":"https://api.github.com/users/netsight/gists{/gist_id}","starred_url":"https://api.github.com/users/netsight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netsight/subscriptions","organizations_url":"https://api.github.com/users/netsight/orgs","repos_url":"https://api.github.com/users/netsight/repos","events_url":"https://api.github.com/users/netsight/events{/privacy}","received_events_url":"https://api.github.com/users/netsight/received_events","type":"Organization","site_admin":false},"repo":{"id":23872260,"name":"netsight.cloudstorage","full_name":"netsight/netsight.cloudstorage","owner":{"login":"netsight","id":1128369,"avatar_url":"https://avatars.githubusercontent.com/u/1128369?v=3","gravatar_id":"","url":"https://api.github.com/users/netsight","html_url":"https://github.com/netsight","followers_url":"https://api.github.com/users/netsight/followers","following_url":"https://api.github.com/users/netsight/following{/other_user}","gists_url":"https://api.github.com/users/netsight/gists{/gist_id}","starred_url":"https://api.github.com/users/netsight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netsight/subscriptions","organizations_url":"https://api.github.com/users/netsight/orgs","repos_url":"https://api.github.com/users/netsight/repos","events_url":"https://api.github.com/users/netsight/events{/privacy}","received_events_url":"https://api.github.com/users/netsight/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/netsight/netsight.cloudstorage","description":"Cloud storage mirror for Plone content","fork":false,"url":"https://api.github.com/repos/netsight/netsight.cloudstorage","forks_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/forks","keys_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/teams","hooks_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/hooks","issue_events_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/issues/events{/number}","events_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/events","assignees_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/assignees{/user}","branches_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/branches{/branch}","tags_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/tags","blobs_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/git/refs{/sha}","trees_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/statuses/{sha}","languages_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/languages","stargazers_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/stargazers","contributors_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/contributors","subscribers_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/subscribers","subscription_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/subscription","commits_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/commits{/sha}","git_commits_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/git/commits{/sha}","comments_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/comments{/number}","issue_comment_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/issues/comments{/number}","contents_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/contents/{+path}","compare_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/merges","archive_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/downloads","issues_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/issues{/number}","pulls_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls{/number}","milestones_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/milestones{/number}","notifications_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/labels{/name}","releases_url":"https://api.github.com/repos/netsight/netsight.cloudstorage/releases{/id}","created_at":"2014-09-10T11:38:33Z","updated_at":"2015-04-14T14:53:51Z","pushed_at":"2015-04-29T14:04:33Z","git_url":"git://github.com/netsight/netsight.cloudstorage.git","ssh_url":"git@github.com:netsight/netsight.cloudstorage.git","clone_url":"https://github.com/netsight/netsight.cloudstorage.git","svn_url":"https://github.com/netsight/netsight.cloudstorage","homepage":null,"size":829,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls/15"},"html":{"href":"https://github.com/netsight/netsight.cloudstorage/pull/15"},"issue":{"href":"https://api.github.com/repos/netsight/netsight.cloudstorage/issues/15"},"comments":{"href":"https://api.github.com/repos/netsight/netsight.cloudstorage/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/netsight/netsight.cloudstorage/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/netsight/netsight.cloudstorage/statuses/b09dd098086bc6d59f16cddbd0ee5000c774af99"}}}}