{"action":"opened","number":360,"pull_request":{"url":"https://api.github.com/repos/aviacommerce/avia/pulls/360","id":238045619,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4MDQ1NjE5","html_url":"https://github.com/aviacommerce/avia/pull/360","diff_url":"https://github.com/aviacommerce/avia/pull/360.diff","patch_url":"https://github.com/aviacommerce/avia/pull/360.patch","issue_url":"https://api.github.com/repos/aviacommerce/avia/issues/360","number":360,"state":"open","locked":false,"title":"Rename image name with unique key","user":{"login":"jyotigautam","id":10372136,"node_id":"MDQ6VXNlcjEwMzcyMTM2","avatar_url":"https://avatars2.githubusercontent.com/u/10372136?v=4","gravatar_id":"","url":"https://api.github.com/users/jyotigautam","html_url":"https://github.com/jyotigautam","followers_url":"https://api.github.com/users/jyotigautam/followers","following_url":"https://api.github.com/users/jyotigautam/following{/other_user}","gists_url":"https://api.github.com/users/jyotigautam/gists{/gist_id}","starred_url":"https://api.github.com/users/jyotigautam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyotigautam/subscriptions","organizations_url":"https://api.github.com/users/jyotigautam/orgs","repos_url":"https://api.github.com/users/jyotigautam/repos","events_url":"https://api.github.com/users/jyotigautam/events{/privacy}","received_events_url":"https://api.github.com/users/jyotigautam/received_events","type":"User","site_admin":false},"body":"\r\n\r\n## Why?\r\nWhile adding two images with same name, the former one gets replaced by the new one. Instead of this, we want the images to be added twice with unique names for each image.\r\n<!--- Why is this change required? What problem does it solve? -->\r\n<!--- If it fixes an open issue, please link to the issue here. -->\r\n<!--- If it delivers a story on the Pivotal tracker, please link to it here. -->\r\n\r\n## This change addresses the need by:\r\n- Adding UUID field to image schema to avoid conflict.\r\n- Adding image url to image schema.\r\n\r\nMigration added:\r\n      migrations/20181212072305_add_url_to_image.exs\r\n<!--- List and detail all changes made in this PR. -->\r\n\r\n[delivers  #162168301](https://www.pivotaltracker.com/story/show/162168301)\r\n\r\n\r\n## Checklist\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [ ] I have read [CONTRIBUTING.md][contributing].\r\n- [ ] My code follows the [style guidelines][contributing] of this project.\r\n- [ ] I have commented my code, particularly in hard-to-understand areas.\r\n- [ ] My code does not generate any (new) [`credo`][credo] and compile-time warnings.\r\n- [ ] I have updated the documentation wherever necessary.\r\n- [ ] I have added tests to cover my changes.\r\n\r\n[contributing]: https://github.com/aviabird/snitch/CONTRIBUTING.md\r\n[credo]: https://github.com/rrrene/credo\r\n\r\n","created_at":"2018-12-12T13:55:16Z","updated_at":"2018-12-12T13:55:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aviacommerce/avia/pulls/360/commits","review_comments_url":"https://api.github.com/repos/aviacommerce/avia/pulls/360/comments","review_comment_url":"https://api.github.com/repos/aviacommerce/avia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aviacommerce/avia/issues/360/comments","statuses_url":"https://api.github.com/repos/aviacommerce/avia/statuses/ea205bfbbad7ee09099943ce49f7d2d4d3592222","head":{"label":"aviacommerce:image_name_fix","ref":"image_name_fix","sha":"ea205bfbbad7ee09099943ce49f7d2d4d3592222","user":{"login":"aviacommerce","id":43067086,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMDY3MDg2","avatar_url":"https://avatars0.githubusercontent.com/u/43067086?v=4","gravatar_id":"","url":"https://api.github.com/users/aviacommerce","html_url":"https://github.com/aviacommerce","followers_url":"https://api.github.com/users/aviacommerce/followers","following_url":"https://api.github.com/users/aviacommerce/following{/other_user}","gists_url":"https://api.github.com/users/aviacommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/aviacommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviacommerce/subscriptions","organizations_url":"https://api.github.com/users/aviacommerce/orgs","repos_url":"https://api.github.com/users/aviacommerce/repos","events_url":"https://api.github.com/users/aviacommerce/events{/privacy}","received_events_url":"https://api.github.com/users/aviacommerce/received_events","type":"Organization","site_admin":false},"repo":{"id":121001913,"node_id":"MDEwOlJlcG9zaXRvcnkxMjEwMDE5MTM=","name":"avia","full_name":"aviacommerce/avia","private":false,"owner":{"login":"aviacommerce","id":43067086,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMDY3MDg2","avatar_url":"https://avatars0.githubusercontent.com/u/43067086?v=4","gravatar_id":"","url":"https://api.github.com/users/aviacommerce","html_url":"https://github.com/aviacommerce","followers_url":"https://api.github.com/users/aviacommerce/followers","following_url":"https://api.github.com/users/aviacommerce/following{/other_user}","gists_url":"https://api.github.com/users/aviacommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/aviacommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviacommerce/subscriptions","organizations_url":"https://api.github.com/users/aviacommerce/orgs","repos_url":"https://api.github.com/users/aviacommerce/repos","events_url":"https://api.github.com/users/aviacommerce/events{/privacy}","received_events_url":"https://api.github.com/users/aviacommerce/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aviacommerce/avia","description":"E-Commerce re-invented in Elixir","fork":false,"url":"https://api.github.com/repos/aviacommerce/avia","forks_url":"https://api.github.com/repos/aviacommerce/avia/forks","keys_url":"https://api.github.com/repos/aviacommerce/avia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aviacommerce/avia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aviacommerce/avia/teams","hooks_url":"https://api.github.com/repos/aviacommerce/avia/hooks","issue_events_url":"https://api.github.com/repos/aviacommerce/avia/issues/events{/number}","events_url":"https://api.github.com/repos/aviacommerce/avia/events","assignees_url":"https://api.github.com/repos/aviacommerce/avia/assignees{/user}","branches_url":"https://api.github.com/repos/aviacommerce/avia/branches{/branch}","tags_url":"https://api.github.com/repos/aviacommerce/avia/tags","blobs_url":"https://api.github.com/repos/aviacommerce/avia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aviacommerce/avia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aviacommerce/avia/git/refs{/sha}","trees_url":"https://api.github.com/repos/aviacommerce/avia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aviacommerce/avia/statuses/{sha}","languages_url":"https://api.github.com/repos/aviacommerce/avia/languages","stargazers_url":"https://api.github.com/repos/aviacommerce/avia/stargazers","contributors_url":"https://api.github.com/repos/aviacommerce/avia/contributors","subscribers_url":"https://api.github.com/repos/aviacommerce/avia/subscribers","subscription_url":"https://api.github.com/repos/aviacommerce/avia/subscription","commits_url":"https://api.github.com/repos/aviacommerce/avia/commits{/sha}","git_commits_url":"https://api.github.com/repos/aviacommerce/avia/git/commits{/sha}","comments_url":"https://api.github.com/repos/aviacommerce/avia/comments{/number}","issue_comment_url":"https://api.github.com/repos/aviacommerce/avia/issues/comments{/number}","contents_url":"https://api.github.com/repos/aviacommerce/avia/contents/{+path}","compare_url":"https://api.github.com/repos/aviacommerce/avia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aviacommerce/avia/merges","archive_url":"https://api.github.com/repos/aviacommerce/avia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aviacommerce/avia/downloads","issues_url":"https://api.github.com/repos/aviacommerce/avia/issues{/number}","pulls_url":"https://api.github.com/repos/aviacommerce/avia/pulls{/number}","milestones_url":"https://api.github.com/repos/aviacommerce/avia/milestones{/number}","notifications_url":"https://api.github.com/repos/aviacommerce/avia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aviacommerce/avia/labels{/name}","releases_url":"https://api.github.com/repos/aviacommerce/avia/releases{/id}","deployments_url":"https://api.github.com/repos/aviacommerce/avia/deployments","created_at":"2018-02-10T09:24:32Z","updated_at":"2018-12-12T13:54:32Z","pushed_at":"2018-12-12T13:54:32Z","git_url":"git://github.com/aviacommerce/avia.git","ssh_url":"git@github.com:aviacommerce/avia.git","clone_url":"https://github.com/aviacommerce/avia.git","svn_url":"https://github.com/aviacommerce/avia","homepage":"https://www.aviacommerce.org/","size":2674,"stargazers_count":126,"watchers_count":126,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":31,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":27,"open_issues":31,"watchers":126,"default_branch":"develop"}},"base":{"label":"aviacommerce:develop","ref":"develop","sha":"825524def4ceb010f10acc2393ee22e11f3495f7","user":{"login":"aviacommerce","id":43067086,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMDY3MDg2","avatar_url":"https://avatars0.githubusercontent.com/u/43067086?v=4","gravatar_id":"","url":"https://api.github.com/users/aviacommerce","html_url":"https://github.com/aviacommerce","followers_url":"https://api.github.com/users/aviacommerce/followers","following_url":"https://api.github.com/users/aviacommerce/following{/other_user}","gists_url":"https://api.github.com/users/aviacommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/aviacommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviacommerce/subscriptions","organizations_url":"https://api.github.com/users/aviacommerce/orgs","repos_url":"https://api.github.com/users/aviacommerce/repos","events_url":"https://api.github.com/users/aviacommerce/events{/privacy}","received_events_url":"https://api.github.com/users/aviacommerce/received_events","type":"Organization","site_admin":false},"repo":{"id":121001913,"node_id":"MDEwOlJlcG9zaXRvcnkxMjEwMDE5MTM=","name":"avia","full_name":"aviacommerce/avia","private":false,"owner":{"login":"aviacommerce","id":43067086,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMDY3MDg2","avatar_url":"https://avatars0.githubusercontent.com/u/43067086?v=4","gravatar_id":"","url":"https://api.github.com/users/aviacommerce","html_url":"https://github.com/aviacommerce","followers_url":"https://api.github.com/users/aviacommerce/followers","following_url":"https://api.github.com/users/aviacommerce/following{/other_user}","gists_url":"https://api.github.com/users/aviacommerce/gists{/gist_id}","starred_url":"https://api.github.com/users/aviacommerce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviacommerce/subscriptions","organizations_url":"https://api.github.com/users/aviacommerce/orgs","repos_url":"https://api.github.com/users/aviacommerce/repos","events_url":"https://api.github.com/users/aviacommerce/events{/privacy}","received_events_url":"https://api.github.com/users/aviacommerce/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aviacommerce/avia","description":"E-Commerce re-invented in Elixir","fork":false,"url":"https://api.github.com/repos/aviacommerce/avia","forks_url":"https://api.github.com/repos/aviacommerce/avia/forks","keys_url":"https://api.github.com/repos/aviacommerce/avia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aviacommerce/avia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aviacommerce/avia/teams","hooks_url":"https://api.github.com/repos/aviacommerce/avia/hooks","issue_events_url":"https://api.github.com/repos/aviacommerce/avia/issues/events{/number}","events_url":"https://api.github.com/repos/aviacommerce/avia/events","assignees_url":"https://api.github.com/repos/aviacommerce/avia/assignees{/user}","branches_url":"https://api.github.com/repos/aviacommerce/avia/branches{/branch}","tags_url":"https://api.github.com/repos/aviacommerce/avia/tags","blobs_url":"https://api.github.com/repos/aviacommerce/avia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aviacommerce/avia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aviacommerce/avia/git/refs{/sha}","trees_url":"https://api.github.com/repos/aviacommerce/avia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aviacommerce/avia/statuses/{sha}","languages_url":"https://api.github.com/repos/aviacommerce/avia/languages","stargazers_url":"https://api.github.com/repos/aviacommerce/avia/stargazers","contributors_url":"https://api.github.com/repos/aviacommerce/avia/contributors","subscribers_url":"https://api.github.com/repos/aviacommerce/avia/subscribers","subscription_url":"https://api.github.com/repos/aviacommerce/avia/subscription","commits_url":"https://api.github.com/repos/aviacommerce/avia/commits{/sha}","git_commits_url":"https://api.github.com/repos/aviacommerce/avia/git/commits{/sha}","comments_url":"https://api.github.com/repos/aviacommerce/avia/comments{/number}","issue_comment_url":"https://api.github.com/repos/aviacommerce/avia/issues/comments{/number}","contents_url":"https://api.github.com/repos/aviacommerce/avia/contents/{+path}","compare_url":"https://api.github.com/repos/aviacommerce/avia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aviacommerce/avia/merges","archive_url":"https://api.github.com/repos/aviacommerce/avia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aviacommerce/avia/downloads","issues_url":"https://api.github.com/repos/aviacommerce/avia/issues{/number}","pulls_url":"https://api.github.com/repos/aviacommerce/avia/pulls{/number}","milestones_url":"https://api.github.com/repos/aviacommerce/avia/milestones{/number}","notifications_url":"https://api.github.com/repos/aviacommerce/avia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aviacommerce/avia/labels{/name}","releases_url":"https://api.github.com/repos/aviacommerce/avia/releases{/id}","deployments_url":"https://api.github.com/repos/aviacommerce/avia/deployments","created_at":"2018-02-10T09:24:32Z","updated_at":"2018-12-12T13:54:32Z","pushed_at":"2018-12-12T13:54:32Z","git_url":"git://github.com/aviacommerce/avia.git","ssh_url":"git@github.com:aviacommerce/avia.git","clone_url":"https://github.com/aviacommerce/avia.git","svn_url":"https://github.com/aviacommerce/avia","homepage":"https://www.aviacommerce.org/","size":2674,"stargazers_count":126,"watchers_count":126,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":31,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":27,"open_issues":31,"watchers":126,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/aviacommerce/avia/pulls/360"},"html":{"href":"https://github.com/aviacommerce/avia/pull/360"},"issue":{"href":"https://api.github.com/repos/aviacommerce/avia/issues/360"},"comments":{"href":"https://api.github.com/repos/aviacommerce/avia/issues/360/comments"},"review_comments":{"href":"https://api.github.com/repos/aviacommerce/avia/pulls/360/comments"},"review_comment":{"href":"https://api.github.com/repos/aviacommerce/avia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aviacommerce/avia/pulls/360/commits"},"statuses":{"href":"https://api.github.com/repos/aviacommerce/avia/statuses/ea205bfbbad7ee09099943ce49f7d2d4d3592222"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":143,"deletions":25,"changed_files":12}}
{"actor":{"display_login":"jyotigautam"}}