{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/hyperoslo/Cache/pulls/34","id":67731269,"html_url":"https://github.com/hyperoslo/Cache/pull/34","diff_url":"https://github.com/hyperoslo/Cache/pull/34.diff","patch_url":"https://github.com/hyperoslo/Cache/pull/34.patch","issue_url":"https://api.github.com/repos/hyperoslo/Cache/issues/34","number":34,"state":"open","locked":false,"title":"Bugfix/cannot save file with long URL key","user":{"login":"attila-at-hyper","id":7922693,"avatar_url":"https://avatars.githubusercontent.com/u/7922693?v=3","gravatar_id":"","url":"https://api.github.com/users/attila-at-hyper","html_url":"https://github.com/attila-at-hyper","followers_url":"https://api.github.com/users/attila-at-hyper/followers","following_url":"https://api.github.com/users/attila-at-hyper/following{/other_user}","gists_url":"https://api.github.com/users/attila-at-hyper/gists{/gist_id}","starred_url":"https://api.github.com/users/attila-at-hyper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/attila-at-hyper/subscriptions","organizations_url":"https://api.github.com/users/attila-at-hyper/orgs","repos_url":"https://api.github.com/users/attila-at-hyper/repos","events_url":"https://api.github.com/users/attila-at-hyper/events{/privacy}","received_events_url":"https://api.github.com/users/attila-at-hyper/received_events","type":"User","site_admin":false},"body":"If you want to store an image (using Imaginary) in the disk storage and use the file’s remote URL as key, saving will fail if the URL is long. This PR tries to fix the issue by using the URL’s MD5 digest as file name instead of the Base64 encoded version of the URL","created_at":"2016-04-25T14:41:18Z","updated_at":"2016-04-25T14:41:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hyperoslo/Cache/pulls/34/commits","review_comments_url":"https://api.github.com/repos/hyperoslo/Cache/pulls/34/comments","review_comment_url":"https://api.github.com/repos/hyperoslo/Cache/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperoslo/Cache/issues/34/comments","statuses_url":"https://api.github.com/repos/hyperoslo/Cache/statuses/85c218f241d894a666865a3232badf47686711c8","head":{"label":"hyperoslo:bugfix/cannot-save-file-with-long-URL-key","ref":"bugfix/cannot-save-file-with-long-URL-key","sha":"85c218f241d894a666865a3232badf47686711c8","user":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"repo":{"id":43440762,"name":"Cache","full_name":"hyperoslo/Cache","owner":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperoslo/Cache","description":":package: Nothing but Cache.","fork":false,"url":"https://api.github.com/repos/hyperoslo/Cache","forks_url":"https://api.github.com/repos/hyperoslo/Cache/forks","keys_url":"https://api.github.com/repos/hyperoslo/Cache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperoslo/Cache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperoslo/Cache/teams","hooks_url":"https://api.github.com/repos/hyperoslo/Cache/hooks","issue_events_url":"https://api.github.com/repos/hyperoslo/Cache/issues/events{/number}","events_url":"https://api.github.com/repos/hyperoslo/Cache/events","assignees_url":"https://api.github.com/repos/hyperoslo/Cache/assignees{/user}","branches_url":"https://api.github.com/repos/hyperoslo/Cache/branches{/branch}","tags_url":"https://api.github.com/repos/hyperoslo/Cache/tags","blobs_url":"https://api.github.com/repos/hyperoslo/Cache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperoslo/Cache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperoslo/Cache/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperoslo/Cache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperoslo/Cache/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperoslo/Cache/languages","stargazers_url":"https://api.github.com/repos/hyperoslo/Cache/stargazers","contributors_url":"https://api.github.com/repos/hyperoslo/Cache/contributors","subscribers_url":"https://api.github.com/repos/hyperoslo/Cache/subscribers","subscription_url":"https://api.github.com/repos/hyperoslo/Cache/subscription","commits_url":"https://api.github.com/repos/hyperoslo/Cache/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperoslo/Cache/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperoslo/Cache/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperoslo/Cache/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperoslo/Cache/contents/{+path}","compare_url":"https://api.github.com/repos/hyperoslo/Cache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperoslo/Cache/merges","archive_url":"https://api.github.com/repos/hyperoslo/Cache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperoslo/Cache/downloads","issues_url":"https://api.github.com/repos/hyperoslo/Cache/issues{/number}","pulls_url":"https://api.github.com/repos/hyperoslo/Cache/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperoslo/Cache/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperoslo/Cache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperoslo/Cache/labels{/name}","releases_url":"https://api.github.com/repos/hyperoslo/Cache/releases{/id}","deployments_url":"https://api.github.com/repos/hyperoslo/Cache/deployments","created_at":"2015-09-30T15:22:20Z","updated_at":"2016-04-25T13:13:11Z","pushed_at":"2016-04-25T14:41:17Z","git_url":"git://github.com/hyperoslo/Cache.git","ssh_url":"git@github.com:hyperoslo/Cache.git","clone_url":"https://github.com/hyperoslo/Cache.git","svn_url":"https://github.com/hyperoslo/Cache","homepage":"http://hyper.no ","size":949,"stargazers_count":320,"watchers_count":320,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":2,"forks":11,"open_issues":2,"watchers":320,"default_branch":"master"}},"base":{"label":"hyperoslo:master","ref":"master","sha":"23f28bcd1e4072bbea57fadad17bed729e946326","user":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"repo":{"id":43440762,"name":"Cache","full_name":"hyperoslo/Cache","owner":{"login":"hyperoslo","id":1340892,"avatar_url":"https://avatars.githubusercontent.com/u/1340892?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperoslo","html_url":"https://github.com/hyperoslo","followers_url":"https://api.github.com/users/hyperoslo/followers","following_url":"https://api.github.com/users/hyperoslo/following{/other_user}","gists_url":"https://api.github.com/users/hyperoslo/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperoslo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperoslo/subscriptions","organizations_url":"https://api.github.com/users/hyperoslo/orgs","repos_url":"https://api.github.com/users/hyperoslo/repos","events_url":"https://api.github.com/users/hyperoslo/events{/privacy}","received_events_url":"https://api.github.com/users/hyperoslo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperoslo/Cache","description":":package: Nothing but Cache.","fork":false,"url":"https://api.github.com/repos/hyperoslo/Cache","forks_url":"https://api.github.com/repos/hyperoslo/Cache/forks","keys_url":"https://api.github.com/repos/hyperoslo/Cache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperoslo/Cache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperoslo/Cache/teams","hooks_url":"https://api.github.com/repos/hyperoslo/Cache/hooks","issue_events_url":"https://api.github.com/repos/hyperoslo/Cache/issues/events{/number}","events_url":"https://api.github.com/repos/hyperoslo/Cache/events","assignees_url":"https://api.github.com/repos/hyperoslo/Cache/assignees{/user}","branches_url":"https://api.github.com/repos/hyperoslo/Cache/branches{/branch}","tags_url":"https://api.github.com/repos/hyperoslo/Cache/tags","blobs_url":"https://api.github.com/repos/hyperoslo/Cache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperoslo/Cache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperoslo/Cache/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperoslo/Cache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperoslo/Cache/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperoslo/Cache/languages","stargazers_url":"https://api.github.com/repos/hyperoslo/Cache/stargazers","contributors_url":"https://api.github.com/repos/hyperoslo/Cache/contributors","subscribers_url":"https://api.github.com/repos/hyperoslo/Cache/subscribers","subscription_url":"https://api.github.com/repos/hyperoslo/Cache/subscription","commits_url":"https://api.github.com/repos/hyperoslo/Cache/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperoslo/Cache/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperoslo/Cache/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperoslo/Cache/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperoslo/Cache/contents/{+path}","compare_url":"https://api.github.com/repos/hyperoslo/Cache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperoslo/Cache/merges","archive_url":"https://api.github.com/repos/hyperoslo/Cache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperoslo/Cache/downloads","issues_url":"https://api.github.com/repos/hyperoslo/Cache/issues{/number}","pulls_url":"https://api.github.com/repos/hyperoslo/Cache/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperoslo/Cache/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperoslo/Cache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperoslo/Cache/labels{/name}","releases_url":"https://api.github.com/repos/hyperoslo/Cache/releases{/id}","deployments_url":"https://api.github.com/repos/hyperoslo/Cache/deployments","created_at":"2015-09-30T15:22:20Z","updated_at":"2016-04-25T13:13:11Z","pushed_at":"2016-04-25T14:41:17Z","git_url":"git://github.com/hyperoslo/Cache.git","ssh_url":"git@github.com:hyperoslo/Cache.git","clone_url":"https://github.com/hyperoslo/Cache.git","svn_url":"https://github.com/hyperoslo/Cache","homepage":"http://hyper.no ","size":949,"stargazers_count":320,"watchers_count":320,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":2,"forks":11,"open_issues":2,"watchers":320,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperoslo/Cache/pulls/34"},"html":{"href":"https://github.com/hyperoslo/Cache/pull/34"},"issue":{"href":"https://api.github.com/repos/hyperoslo/Cache/issues/34"},"comments":{"href":"https://api.github.com/repos/hyperoslo/Cache/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperoslo/Cache/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperoslo/Cache/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperoslo/Cache/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/hyperoslo/Cache/statuses/85c218f241d894a666865a3232badf47686711c8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":15,"deletions":1,"changed_files":2}}