{"action":"closed","number":6510,"pull_request":{"url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/6510","id":202008681,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMDA4Njgx","html_url":"https://github.com/galaxyproject/galaxy/pull/6510","diff_url":"https://github.com/galaxyproject/galaxy/pull/6510.diff","patch_url":"https://github.com/galaxyproject/galaxy/pull/6510.patch","issue_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/6510","number":6510,"state":"closed","locked":false,"title":"[18.05] Fix infinite loop in uploads","user":{"login":"nsoranzo","id":4924623,"node_id":"MDQ6VXNlcjQ5MjQ2MjM=","avatar_url":"https://avatars2.githubusercontent.com/u/4924623?v=4","gravatar_id":"","url":"https://api.github.com/users/nsoranzo","html_url":"https://github.com/nsoranzo","followers_url":"https://api.github.com/users/nsoranzo/followers","following_url":"https://api.github.com/users/nsoranzo/following{/other_user}","gists_url":"https://api.github.com/users/nsoranzo/gists{/gist_id}","starred_url":"https://api.github.com/users/nsoranzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsoranzo/subscriptions","organizations_url":"https://api.github.com/users/nsoranzo/orgs","repos_url":"https://api.github.com/users/nsoranzo/repos","events_url":"https://api.github.com/users/nsoranzo/events{/privacy}","received_events_url":"https://api.github.com/users/nsoranzo/received_events","type":"User","site_admin":false},"body":"If the upload get somehow interrupted and an empty file is created in `new_file_path`, `upload.py` is stuck in an infinite 100%-CPU loop due to the following `Ms2.sniff_prefix()` bug.","created_at":"2018-07-17T17:05:54Z","updated_at":"2018-07-17T18:52:27Z","closed_at":"2018-07-17T18:52:26Z","merged_at":"2018-07-17T18:52:26Z","merge_commit_sha":"ef702e1458f746299710e9ce5afb7b350b61f91c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":317005403,"node_id":"MDU6TGFiZWwzMTcwMDU0MDM=","url":"https://api.github.com/repos/galaxyproject/galaxy/labels/area/datatypes","name":"area/datatypes","color":"006b75","default":false},{"id":738637184,"node_id":"MDU6TGFiZWw3Mzg2MzcxODQ=","url":"https://api.github.com/repos/galaxyproject/galaxy/labels/area/upload","name":"area/upload","color":"006b75","default":false},{"id":180024669,"node_id":"MDU6TGFiZWwxODAwMjQ2Njk=","url":"https://api.github.com/repos/galaxyproject/galaxy/labels/kind/bug","name":"kind/bug","color":"84b6eb","default":false},{"id":276566862,"node_id":"MDU6TGFiZWwyNzY1NjY4NjI=","url":"https://api.github.com/repos/galaxyproject/galaxy/labels/status/review","name":"status/review","color":"fbca04","default":false}],"milestone":{"url":"https://api.github.com/repos/galaxyproject/galaxy/milestones/10","html_url":"https://github.com/galaxyproject/galaxy/milestone/10","labels_url":"https://api.github.com/repos/galaxyproject/galaxy/milestones/10/labels","id":2883981,"node_id":"MDk6TWlsZXN0b25lMjg4Mzk4MQ==","number":10,"title":"18.05","description":"","creator":{"login":"martenson","id":1814954,"node_id":"MDQ6VXNlcjE4MTQ5NTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1814954?v=4","gravatar_id":"","url":"https://api.github.com/users/martenson","html_url":"https://github.com/martenson","followers_url":"https://api.github.com/users/martenson/followers","following_url":"https://api.github.com/users/martenson/following{/other_user}","gists_url":"https://api.github.com/users/martenson/gists{/gist_id}","starred_url":"https://api.github.com/users/martenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martenson/subscriptions","organizations_url":"https://api.github.com/users/martenson/orgs","repos_url":"https://api.github.com/users/martenson/repos","events_url":"https://api.github.com/users/martenson/events{/privacy}","received_events_url":"https://api.github.com/users/martenson/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":372,"state":"closed","created_at":"2017-11-02T15:59:46Z","updated_at":"2018-07-17T18:52:26Z","due_on":"2018-05-01T07:00:00Z","closed_at":"2018-05-25T14:49:33Z"},"commits_url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/6510/commits","review_comments_url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/6510/comments","review_comment_url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/6510/comments","statuses_url":"https://api.github.com/repos/galaxyproject/galaxy/statuses/7b8e4f9e740725861951535d59e50243e4a0b2e0","head":{"label":"nsoranzo:release_18.05_backport_29f8e29b0bf5d50c0b735aa707d2a61623cc805b","ref":"release_18.05_backport_29f8e29b0bf5d50c0b735aa707d2a61623cc805b","sha":"7b8e4f9e740725861951535d59e50243e4a0b2e0","user":{"login":"nsoranzo","id":4924623,"node_id":"MDQ6VXNlcjQ5MjQ2MjM=","avatar_url":"https://avatars2.githubusercontent.com/u/4924623?v=4","gravatar_id":"","url":"https://api.github.com/users/nsoranzo","html_url":"https://github.com/nsoranzo","followers_url":"https://api.github.com/users/nsoranzo/followers","following_url":"https://api.github.com/users/nsoranzo/following{/other_user}","gists_url":"https://api.github.com/users/nsoranzo/gists{/gist_id}","starred_url":"https://api.github.com/users/nsoranzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsoranzo/subscriptions","organizations_url":"https://api.github.com/users/nsoranzo/orgs","repos_url":"https://api.github.com/users/nsoranzo/repos","events_url":"https://api.github.com/users/nsoranzo/events{/privacy}","received_events_url":"https://api.github.com/users/nsoranzo/received_events","type":"User","site_admin":false},"repo":{"id":31215040,"node_id":"MDEwOlJlcG9zaXRvcnkzMTIxNTA0MA==","name":"galaxy","full_name":"nsoranzo/galaxy","owner":{"login":"nsoranzo","id":4924623,"node_id":"MDQ6VXNlcjQ5MjQ2MjM=","avatar_url":"https://avatars2.githubusercontent.com/u/4924623?v=4","gravatar_id":"","url":"https://api.github.com/users/nsoranzo","html_url":"https://github.com/nsoranzo","followers_url":"https://api.github.com/users/nsoranzo/followers","following_url":"https://api.github.com/users/nsoranzo/following{/other_user}","gists_url":"https://api.github.com/users/nsoranzo/gists{/gist_id}","starred_url":"https://api.github.com/users/nsoranzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsoranzo/subscriptions","organizations_url":"https://api.github.com/users/nsoranzo/orgs","repos_url":"https://api.github.com/users/nsoranzo/repos","events_url":"https://api.github.com/users/nsoranzo/events{/privacy}","received_events_url":"https://api.github.com/users/nsoranzo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nsoranzo/galaxy","description":" Data intensive biology for everyone.","fork":true,"url":"https://api.github.com/repos/nsoranzo/galaxy","forks_url":"https://api.github.com/repos/nsoranzo/galaxy/forks","keys_url":"https://api.github.com/repos/nsoranzo/galaxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nsoranzo/galaxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nsoranzo/galaxy/teams","hooks_url":"https://api.github.com/repos/nsoranzo/galaxy/hooks","issue_events_url":"https://api.github.com/repos/nsoranzo/galaxy/issues/events{/number}","events_url":"https://api.github.com/repos/nsoranzo/galaxy/events","assignees_url":"https://api.github.com/repos/nsoranzo/galaxy/assignees{/user}","branches_url":"https://api.github.com/repos/nsoranzo/galaxy/branches{/branch}","tags_url":"https://api.github.com/repos/nsoranzo/galaxy/tags","blobs_url":"https://api.github.com/repos/nsoranzo/galaxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nsoranzo/galaxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nsoranzo/galaxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/nsoranzo/galaxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nsoranzo/galaxy/statuses/{sha}","languages_url":"https://api.github.com/repos/nsoranzo/galaxy/languages","stargazers_url":"https://api.github.com/repos/nsoranzo/galaxy/stargazers","contributors_url":"https://api.github.com/repos/nsoranzo/galaxy/contributors","subscribers_url":"https://api.github.com/repos/nsoranzo/galaxy/subscribers","subscription_url":"https://api.github.com/repos/nsoranzo/galaxy/subscription","commits_url":"https://api.github.com/repos/nsoranzo/galaxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/nsoranzo/galaxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/nsoranzo/galaxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/nsoranzo/galaxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/nsoranzo/galaxy/contents/{+path}","compare_url":"https://api.github.com/repos/nsoranzo/galaxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nsoranzo/galaxy/merges","archive_url":"https://api.github.com/repos/nsoranzo/galaxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nsoranzo/galaxy/downloads","issues_url":"https://api.github.com/repos/nsoranzo/galaxy/issues{/number}","pulls_url":"https://api.github.com/repos/nsoranzo/galaxy/pulls{/number}","milestones_url":"https://api.github.com/repos/nsoranzo/galaxy/milestones{/number}","notifications_url":"https://api.github.com/repos/nsoranzo/galaxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nsoranzo/galaxy/labels{/name}","releases_url":"https://api.github.com/repos/nsoranzo/galaxy/releases{/id}","deployments_url":"https://api.github.com/repos/nsoranzo/galaxy/deployments","created_at":"2015-02-23T15:49:44Z","updated_at":"2018-07-06T14:14:58Z","pushed_at":"2018-07-17T16:56:49Z","git_url":"git://github.com/nsoranzo/galaxy.git","ssh_url":"git@github.com:nsoranzo/galaxy.git","clone_url":"https://github.com/nsoranzo/galaxy.git","svn_url":"https://github.com/nsoranzo/galaxy","homepage":"http://galaxyproject.org/","size":451530,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"galaxyproject:release_18.05","ref":"release_18.05","sha":"fd33c5c6d6aa2478654da74c7e80efdcf31e09a7","user":{"login":"galaxyproject","id":7937847,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5Mzc4NDc=","avatar_url":"https://avatars3.githubusercontent.com/u/7937847?v=4","gravatar_id":"","url":"https://api.github.com/users/galaxyproject","html_url":"https://github.com/galaxyproject","followers_url":"https://api.github.com/users/galaxyproject/followers","following_url":"https://api.github.com/users/galaxyproject/following{/other_user}","gists_url":"https://api.github.com/users/galaxyproject/gists{/gist_id}","starred_url":"https://api.github.com/users/galaxyproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galaxyproject/subscriptions","organizations_url":"https://api.github.com/users/galaxyproject/orgs","repos_url":"https://api.github.com/users/galaxyproject/repos","events_url":"https://api.github.com/users/galaxyproject/events{/privacy}","received_events_url":"https://api.github.com/users/galaxyproject/received_events","type":"Organization","site_admin":false},"repo":{"id":31211061,"node_id":"MDEwOlJlcG9zaXRvcnkzMTIxMTA2MQ==","name":"galaxy","full_name":"galaxyproject/galaxy","owner":{"login":"galaxyproject","id":7937847,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5Mzc4NDc=","avatar_url":"https://avatars3.githubusercontent.com/u/7937847?v=4","gravatar_id":"","url":"https://api.github.com/users/galaxyproject","html_url":"https://github.com/galaxyproject","followers_url":"https://api.github.com/users/galaxyproject/followers","following_url":"https://api.github.com/users/galaxyproject/following{/other_user}","gists_url":"https://api.github.com/users/galaxyproject/gists{/gist_id}","starred_url":"https://api.github.com/users/galaxyproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galaxyproject/subscriptions","organizations_url":"https://api.github.com/users/galaxyproject/orgs","repos_url":"https://api.github.com/users/galaxyproject/repos","events_url":"https://api.github.com/users/galaxyproject/events{/privacy}","received_events_url":"https://api.github.com/users/galaxyproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/galaxyproject/galaxy","description":"Data intensive science for everyone.","fork":false,"url":"https://api.github.com/repos/galaxyproject/galaxy","forks_url":"https://api.github.com/repos/galaxyproject/galaxy/forks","keys_url":"https://api.github.com/repos/galaxyproject/galaxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/galaxyproject/galaxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/galaxyproject/galaxy/teams","hooks_url":"https://api.github.com/repos/galaxyproject/galaxy/hooks","issue_events_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/events{/number}","events_url":"https://api.github.com/repos/galaxyproject/galaxy/events","assignees_url":"https://api.github.com/repos/galaxyproject/galaxy/assignees{/user}","branches_url":"https://api.github.com/repos/galaxyproject/galaxy/branches{/branch}","tags_url":"https://api.github.com/repos/galaxyproject/galaxy/tags","blobs_url":"https://api.github.com/repos/galaxyproject/galaxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/galaxyproject/galaxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/galaxyproject/galaxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/galaxyproject/galaxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/galaxyproject/galaxy/statuses/{sha}","languages_url":"https://api.github.com/repos/galaxyproject/galaxy/languages","stargazers_url":"https://api.github.com/repos/galaxyproject/galaxy/stargazers","contributors_url":"https://api.github.com/repos/galaxyproject/galaxy/contributors","subscribers_url":"https://api.github.com/repos/galaxyproject/galaxy/subscribers","subscription_url":"https://api.github.com/repos/galaxyproject/galaxy/subscription","commits_url":"https://api.github.com/repos/galaxyproject/galaxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/galaxyproject/galaxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/galaxyproject/galaxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/galaxyproject/galaxy/contents/{+path}","compare_url":"https://api.github.com/repos/galaxyproject/galaxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/galaxyproject/galaxy/merges","archive_url":"https://api.github.com/repos/galaxyproject/galaxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/galaxyproject/galaxy/downloads","issues_url":"https://api.github.com/repos/galaxyproject/galaxy/issues{/number}","pulls_url":"https://api.github.com/repos/galaxyproject/galaxy/pulls{/number}","milestones_url":"https://api.github.com/repos/galaxyproject/galaxy/milestones{/number}","notifications_url":"https://api.github.com/repos/galaxyproject/galaxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/galaxyproject/galaxy/labels{/name}","releases_url":"https://api.github.com/repos/galaxyproject/galaxy/releases{/id}","deployments_url":"https://api.github.com/repos/galaxyproject/galaxy/deployments","created_at":"2015-02-23T14:18:06Z","updated_at":"2018-07-17T14:28:53Z","pushed_at":"2018-07-17T18:52:26Z","git_url":"git://github.com/galaxyproject/galaxy.git","ssh_url":"git@github.com:galaxyproject/galaxy.git","clone_url":"https://github.com/galaxyproject/galaxy.git","svn_url":"https://github.com/galaxyproject/galaxy","homepage":"https://galaxyproject.org/","size":459260,"stargazers_count":481,"watchers_count":481,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":462,"mirror_url":null,"archived":false,"open_issues_count":1162,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":462,"open_issues":1162,"watchers":481,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/galaxyproject/galaxy/pulls/6510"},"html":{"href":"https://github.com/galaxyproject/galaxy/pull/6510"},"issue":{"href":"https://api.github.com/repos/galaxyproject/galaxy/issues/6510"},"comments":{"href":"https://api.github.com/repos/galaxyproject/galaxy/issues/6510/comments"},"review_comments":{"href":"https://api.github.com/repos/galaxyproject/galaxy/pulls/6510/comments"},"review_comment":{"href":"https://api.github.com/repos/galaxyproject/galaxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/galaxyproject/galaxy/pulls/6510/commits"},"statuses":{"href":"https://api.github.com/repos/galaxyproject/galaxy/statuses/7b8e4f9e740725861951535d59e50243e4a0b2e0"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"martenson","id":1814954,"node_id":"MDQ6VXNlcjE4MTQ5NTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1814954?v=4","gravatar_id":"","url":"https://api.github.com/users/martenson","html_url":"https://github.com/martenson","followers_url":"https://api.github.com/users/martenson/followers","following_url":"https://api.github.com/users/martenson/following{/other_user}","gists_url":"https://api.github.com/users/martenson/gists{/gist_id}","starred_url":"https://api.github.com/users/martenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martenson/subscriptions","organizations_url":"https://api.github.com/users/martenson/orgs","repos_url":"https://api.github.com/users/martenson/repos","events_url":"https://api.github.com/users/martenson/events{/privacy}","received_events_url":"https://api.github.com/users/martenson/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":7,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"martenson"}}