{"action":"opened","number":5489,"pull_request":{"url":"https://api.github.com/repos/tootsuite/mastodon/pulls/5489","id":147843384,"html_url":"https://github.com/tootsuite/mastodon/pull/5489","diff_url":"https://github.com/tootsuite/mastodon/pull/5489.diff","patch_url":"https://github.com/tootsuite/mastodon/pull/5489.patch","issue_url":"https://api.github.com/repos/tootsuite/mastodon/issues/5489","number":5489,"state":"open","locked":false,"title":"Fix Cocaine::ExitStatusError when upload small non-animated GIF","user":{"login":"unarist","id":705555,"avatar_url":"https://avatars2.githubusercontent.com/u/705555?v=4","gravatar_id":"","url":"https://api.github.com/users/unarist","html_url":"https://github.com/unarist","followers_url":"https://api.github.com/users/unarist/followers","following_url":"https://api.github.com/users/unarist/following{/other_user}","gists_url":"https://api.github.com/users/unarist/gists{/gist_id}","starred_url":"https://api.github.com/users/unarist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unarist/subscriptions","organizations_url":"https://api.github.com/users/unarist/orgs","repos_url":"https://api.github.com/users/unarist/repos","events_url":"https://api.github.com/users/unarist/events{/privacy}","received_events_url":"https://api.github.com/users/unarist/received_events","type":"User","site_admin":false},"body":"```\r\nweb_1        | Cocaine::ExitStatusError (Command 'identify -format %n '/tmp/93486e24dec84a7fd84445213e01dc5520171019-440-a6qiln.gif'' returned 1. Expected 0\r\nweb_1        | Here is the command output: STDOUT:\r\nweb_1        |\r\nweb_1        |\r\nweb_1        |\r\nweb_1        | STDERR:\r\nweb_1        |\r\nweb_1        | identify: improper image header `/tmp/93486e24dec84a7fd84445213e01dc5520171019-440-a6qiln.gif' @ error/gif.c/ReadGIFImage/1009.\r\nweb_1        | ):\r\n...\r\n```\r\n\r\nLooks like copied tempfile need to be flushed before further processing. This issue won't happen if the uploaded file has enough file size.","created_at":"2017-10-20T16:32:53Z","updated_at":"2017-10-20T16:32:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tootsuite/mastodon/pulls/5489/commits","review_comments_url":"https://api.github.com/repos/tootsuite/mastodon/pulls/5489/comments","review_comment_url":"https://api.github.com/repos/tootsuite/mastodon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tootsuite/mastodon/issues/5489/comments","statuses_url":"https://api.github.com/repos/tootsuite/mastodon/statuses/b1b01fe625d2aeb70696208016c9e15fdcb0c89e","head":{"label":"unarist:fix/non-anim-gif","ref":"fix/non-anim-gif","sha":"b1b01fe625d2aeb70696208016c9e15fdcb0c89e","user":{"login":"unarist","id":705555,"avatar_url":"https://avatars2.githubusercontent.com/u/705555?v=4","gravatar_id":"","url":"https://api.github.com/users/unarist","html_url":"https://github.com/unarist","followers_url":"https://api.github.com/users/unarist/followers","following_url":"https://api.github.com/users/unarist/following{/other_user}","gists_url":"https://api.github.com/users/unarist/gists{/gist_id}","starred_url":"https://api.github.com/users/unarist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unarist/subscriptions","organizations_url":"https://api.github.com/users/unarist/orgs","repos_url":"https://api.github.com/users/unarist/repos","events_url":"https://api.github.com/users/unarist/events{/privacy}","received_events_url":"https://api.github.com/users/unarist/received_events","type":"User","site_admin":false},"repo":{"id":88990662,"name":"mastodon","full_name":"unarist/mastodon","owner":{"login":"unarist","id":705555,"avatar_url":"https://avatars2.githubusercontent.com/u/705555?v=4","gravatar_id":"","url":"https://api.github.com/users/unarist","html_url":"https://github.com/unarist","followers_url":"https://api.github.com/users/unarist/followers","following_url":"https://api.github.com/users/unarist/following{/other_user}","gists_url":"https://api.github.com/users/unarist/gists{/gist_id}","starred_url":"https://api.github.com/users/unarist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unarist/subscriptions","organizations_url":"https://api.github.com/users/unarist/orgs","repos_url":"https://api.github.com/users/unarist/repos","events_url":"https://api.github.com/users/unarist/events{/privacy}","received_events_url":"https://api.github.com/users/unarist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/unarist/mastodon","description":"作業場兼MOD置き場。詳しくはWIkiへ。","fork":true,"url":"https://api.github.com/repos/unarist/mastodon","forks_url":"https://api.github.com/repos/unarist/mastodon/forks","keys_url":"https://api.github.com/repos/unarist/mastodon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unarist/mastodon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unarist/mastodon/teams","hooks_url":"https://api.github.com/repos/unarist/mastodon/hooks","issue_events_url":"https://api.github.com/repos/unarist/mastodon/issues/events{/number}","events_url":"https://api.github.com/repos/unarist/mastodon/events","assignees_url":"https://api.github.com/repos/unarist/mastodon/assignees{/user}","branches_url":"https://api.github.com/repos/unarist/mastodon/branches{/branch}","tags_url":"https://api.github.com/repos/unarist/mastodon/tags","blobs_url":"https://api.github.com/repos/unarist/mastodon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unarist/mastodon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unarist/mastodon/git/refs{/sha}","trees_url":"https://api.github.com/repos/unarist/mastodon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unarist/mastodon/statuses/{sha}","languages_url":"https://api.github.com/repos/unarist/mastodon/languages","stargazers_url":"https://api.github.com/repos/unarist/mastodon/stargazers","contributors_url":"https://api.github.com/repos/unarist/mastodon/contributors","subscribers_url":"https://api.github.com/repos/unarist/mastodon/subscribers","subscription_url":"https://api.github.com/repos/unarist/mastodon/subscription","commits_url":"https://api.github.com/repos/unarist/mastodon/commits{/sha}","git_commits_url":"https://api.github.com/repos/unarist/mastodon/git/commits{/sha}","comments_url":"https://api.github.com/repos/unarist/mastodon/comments{/number}","issue_comment_url":"https://api.github.com/repos/unarist/mastodon/issues/comments{/number}","contents_url":"https://api.github.com/repos/unarist/mastodon/contents/{+path}","compare_url":"https://api.github.com/repos/unarist/mastodon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unarist/mastodon/merges","archive_url":"https://api.github.com/repos/unarist/mastodon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unarist/mastodon/downloads","issues_url":"https://api.github.com/repos/unarist/mastodon/issues{/number}","pulls_url":"https://api.github.com/repos/unarist/mastodon/pulls{/number}","milestones_url":"https://api.github.com/repos/unarist/mastodon/milestones{/number}","notifications_url":"https://api.github.com/repos/unarist/mastodon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unarist/mastodon/labels{/name}","releases_url":"https://api.github.com/repos/unarist/mastodon/releases{/id}","deployments_url":"https://api.github.com/repos/unarist/mastodon/deployments","created_at":"2017-04-21T14:10:51Z","updated_at":"2017-10-08T16:05:13Z","pushed_at":"2017-10-20T16:29:55Z","git_url":"git://github.com/unarist/mastodon.git","ssh_url":"git@github.com:unarist/mastodon.git","clone_url":"https://github.com/unarist/mastodon.git","svn_url":"https://github.com/unarist/mastodon","homepage":"https://github.com/unarist/mastodon/wiki","size":53287,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"tootsuite:master","ref":"master","sha":"8392ddbf87f5522c445573c50e4f21d690172bc0","user":{"login":"tootsuite","id":24979032,"avatar_url":"https://avatars3.githubusercontent.com/u/24979032?v=4","gravatar_id":"","url":"https://api.github.com/users/tootsuite","html_url":"https://github.com/tootsuite","followers_url":"https://api.github.com/users/tootsuite/followers","following_url":"https://api.github.com/users/tootsuite/following{/other_user}","gists_url":"https://api.github.com/users/tootsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/tootsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tootsuite/subscriptions","organizations_url":"https://api.github.com/users/tootsuite/orgs","repos_url":"https://api.github.com/users/tootsuite/repos","events_url":"https://api.github.com/users/tootsuite/events{/privacy}","received_events_url":"https://api.github.com/users/tootsuite/received_events","type":"Organization","site_admin":false},"repo":{"id":52281283,"name":"mastodon","full_name":"tootsuite/mastodon","owner":{"login":"tootsuite","id":24979032,"avatar_url":"https://avatars3.githubusercontent.com/u/24979032?v=4","gravatar_id":"","url":"https://api.github.com/users/tootsuite","html_url":"https://github.com/tootsuite","followers_url":"https://api.github.com/users/tootsuite/followers","following_url":"https://api.github.com/users/tootsuite/following{/other_user}","gists_url":"https://api.github.com/users/tootsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/tootsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tootsuite/subscriptions","organizations_url":"https://api.github.com/users/tootsuite/orgs","repos_url":"https://api.github.com/users/tootsuite/repos","events_url":"https://api.github.com/users/tootsuite/events{/privacy}","received_events_url":"https://api.github.com/users/tootsuite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tootsuite/mastodon","description":"Your self-hosted, globally interconnected microblogging community","fork":false,"url":"https://api.github.com/repos/tootsuite/mastodon","forks_url":"https://api.github.com/repos/tootsuite/mastodon/forks","keys_url":"https://api.github.com/repos/tootsuite/mastodon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tootsuite/mastodon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tootsuite/mastodon/teams","hooks_url":"https://api.github.com/repos/tootsuite/mastodon/hooks","issue_events_url":"https://api.github.com/repos/tootsuite/mastodon/issues/events{/number}","events_url":"https://api.github.com/repos/tootsuite/mastodon/events","assignees_url":"https://api.github.com/repos/tootsuite/mastodon/assignees{/user}","branches_url":"https://api.github.com/repos/tootsuite/mastodon/branches{/branch}","tags_url":"https://api.github.com/repos/tootsuite/mastodon/tags","blobs_url":"https://api.github.com/repos/tootsuite/mastodon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tootsuite/mastodon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tootsuite/mastodon/git/refs{/sha}","trees_url":"https://api.github.com/repos/tootsuite/mastodon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tootsuite/mastodon/statuses/{sha}","languages_url":"https://api.github.com/repos/tootsuite/mastodon/languages","stargazers_url":"https://api.github.com/repos/tootsuite/mastodon/stargazers","contributors_url":"https://api.github.com/repos/tootsuite/mastodon/contributors","subscribers_url":"https://api.github.com/repos/tootsuite/mastodon/subscribers","subscription_url":"https://api.github.com/repos/tootsuite/mastodon/subscription","commits_url":"https://api.github.com/repos/tootsuite/mastodon/commits{/sha}","git_commits_url":"https://api.github.com/repos/tootsuite/mastodon/git/commits{/sha}","comments_url":"https://api.github.com/repos/tootsuite/mastodon/comments{/number}","issue_comment_url":"https://api.github.com/repos/tootsuite/mastodon/issues/comments{/number}","contents_url":"https://api.github.com/repos/tootsuite/mastodon/contents/{+path}","compare_url":"https://api.github.com/repos/tootsuite/mastodon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tootsuite/mastodon/merges","archive_url":"https://api.github.com/repos/tootsuite/mastodon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tootsuite/mastodon/downloads","issues_url":"https://api.github.com/repos/tootsuite/mastodon/issues{/number}","pulls_url":"https://api.github.com/repos/tootsuite/mastodon/pulls{/number}","milestones_url":"https://api.github.com/repos/tootsuite/mastodon/milestones{/number}","notifications_url":"https://api.github.com/repos/tootsuite/mastodon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tootsuite/mastodon/labels{/name}","releases_url":"https://api.github.com/repos/tootsuite/mastodon/releases{/id}","deployments_url":"https://api.github.com/repos/tootsuite/mastodon/deployments","created_at":"2016-02-22T15:01:25Z","updated_at":"2017-10-20T16:22:00Z","pushed_at":"2017-10-20T15:19:09Z","git_url":"git://github.com/tootsuite/mastodon.git","ssh_url":"git@github.com:tootsuite/mastodon.git","clone_url":"https://github.com/tootsuite/mastodon.git","svn_url":"https://github.com/tootsuite/mastodon","homepage":"https://joinmastodon.org","size":53806,"stargazers_count":10865,"watchers_count":10865,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2066,"mirror_url":null,"archived":false,"open_issues_count":696,"forks":2066,"open_issues":696,"watchers":10865,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/5489"},"html":{"href":"https://github.com/tootsuite/mastodon/pull/5489"},"issue":{"href":"https://api.github.com/repos/tootsuite/mastodon/issues/5489"},"comments":{"href":"https://api.github.com/repos/tootsuite/mastodon/issues/5489/comments"},"review_comments":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/5489/comments"},"review_comment":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/5489/commits"},"statuses":{"href":"https://api.github.com/repos/tootsuite/mastodon/statuses/b1b01fe625d2aeb70696208016c9e15fdcb0c89e"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":21,"deletions":11,"changed_files":3}}
{"actor":{"display_login":"unarist"}}