{"action":"created","comment":{"url":"https://api.github.com/repos/Sylius/Sylius/pulls/comments/23828177","id":23828177,"diff_hunk":"@@ -0,0 +1,41 @@\n+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+\n+<!--\n+\n+ This file is part of the Sylius package.\n+\n+ (c) Paweł Jędrzejewski\n+\n+ For the full copyright and license information, please view the LICENSE\n+ file that was distributed with this source code.\n+\n+-->\n+\n+<doctrine-mapping xmlns=\"http://doctrine-project.org/schemas/orm/doctrine-mapping\"\n+                  xmlns:gedmo=\"http://gediminasm.org/schemas/orm/doctrine-extensions-mapping\"\n+                  xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n+                  xsi:schemaLocation=\"http://doctrine-project.org/schemas/orm/doctrine-mapping\n+                                      http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd\">\n+\n+    <mapped-superclass name=\"Sylius\\Component\\Channel\\Model\\Channel\" table=\"sylius_channel\">\n+        <id name=\"id\" column=\"id\" type=\"integer\">\n+            <generator strategy=\"AUTO\" />\n+        </id>\n+\n+        <field name=\"code\" type=\"string\" unique=\"true\" />","path":"src/Sylius/Bundle/ChannelBundle/Resources/config/doctrine/model/Channel.orm.xml","position":25,"original_position":25,"commit_id":"655fbea024a01a4ac4510484ff2c9efecf96418b","original_commit_id":"655fbea024a01a4ac4510484ff2c9efecf96418b","user":{"login":"stloyd","id":67402,"avatar_url":"https://avatars.githubusercontent.com/u/67402?v=3","gravatar_id":"","url":"https://api.github.com/users/stloyd","html_url":"https://github.com/stloyd","followers_url":"https://api.github.com/users/stloyd/followers","following_url":"https://api.github.com/users/stloyd/following{/other_user}","gists_url":"https://api.github.com/users/stloyd/gists{/gist_id}","starred_url":"https://api.github.com/users/stloyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stloyd/subscriptions","organizations_url":"https://api.github.com/users/stloyd/orgs","repos_url":"https://api.github.com/users/stloyd/repos","events_url":"https://api.github.com/users/stloyd/events{/privacy}","received_events_url":"https://api.github.com/users/stloyd/received_events","type":"User","site_admin":false},"body":"According to form this and `description` can be `nullable`.","created_at":"2015-01-30T07:53:27Z","updated_at":"2015-01-30T07:53:27Z","html_url":"https://github.com/Sylius/Sylius/pull/2395#discussion_r23828177","pull_request_url":"https://api.github.com/repos/Sylius/Sylius/pulls/2395","_links":{"self":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/comments/23828177"},"html":{"href":"https://github.com/Sylius/Sylius/pull/2395#discussion_r23828177"},"pull_request":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/2395"}}},"pull_request":{"url":"https://api.github.com/repos/Sylius/Sylius/pulls/2395","id":28214460,"html_url":"https://github.com/Sylius/Sylius/pull/2395","diff_url":"https://github.com/Sylius/Sylius/pull/2395.diff","patch_url":"https://github.com/Sylius/Sylius/pull/2395.patch","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/2395","number":2395,"state":"open","locked":false,"title":" [WIP] Multi-channel split of #2354","user":{"login":"loevstroem","id":1077111,"avatar_url":"https://avatars.githubusercontent.com/u/1077111?v=3","gravatar_id":"","url":"https://api.github.com/users/loevstroem","html_url":"https://github.com/loevstroem","followers_url":"https://api.github.com/users/loevstroem/followers","following_url":"https://api.github.com/users/loevstroem/following{/other_user}","gists_url":"https://api.github.com/users/loevstroem/gists{/gist_id}","starred_url":"https://api.github.com/users/loevstroem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loevstroem/subscriptions","organizations_url":"https://api.github.com/users/loevstroem/orgs","repos_url":"https://api.github.com/users/loevstroem/repos","events_url":"https://api.github.com/users/loevstroem/events{/privacy}","received_events_url":"https://api.github.com/users/loevstroem/received_events","type":"User","site_admin":false},"body":"This work is based on a split of #2354 and aims to continue the development, so it can be merged soon.\r\n\r\n- [x] Channel management in backend\r\n- [x] Split code from #2354\r\n- [x] Show proper locale, taxonomy, currency in frontend\r\n- [x] Add channel to Promotion\r\n- [ ] Show products for current channel\r\n- [ ] Make dynamic router channel aware\r\n- [x] Update cart to ensure only products from current channel is added\r\n- [ ] Make necessary change to checkout process\r\n\r\nAny suggestions, comments are welcome :sunglasses: ","created_at":"2015-01-28T17:53:45Z","updated_at":"2015-01-30T07:53:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"703c226d1ab7e19dbcdb5253c382f7598a4534c5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Sylius/Sylius/pulls/2395/commits","review_comments_url":"https://api.github.com/repos/Sylius/Sylius/pulls/2395/comments","review_comment_url":"https://api.github.com/repos/Sylius/Sylius/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/2395/comments","statuses_url":"https://api.github.com/repos/Sylius/Sylius/statuses/655fbea024a01a4ac4510484ff2c9efecf96418b","head":{"label":"loevstroem:multi-channel","ref":"multi-channel","sha":"655fbea024a01a4ac4510484ff2c9efecf96418b","user":{"login":"loevstroem","id":1077111,"avatar_url":"https://avatars.githubusercontent.com/u/1077111?v=3","gravatar_id":"","url":"https://api.github.com/users/loevstroem","html_url":"https://github.com/loevstroem","followers_url":"https://api.github.com/users/loevstroem/followers","following_url":"https://api.github.com/users/loevstroem/following{/other_user}","gists_url":"https://api.github.com/users/loevstroem/gists{/gist_id}","starred_url":"https://api.github.com/users/loevstroem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loevstroem/subscriptions","organizations_url":"https://api.github.com/users/loevstroem/orgs","repos_url":"https://api.github.com/users/loevstroem/repos","events_url":"https://api.github.com/users/loevstroem/events{/privacy}","received_events_url":"https://api.github.com/users/loevstroem/received_events","type":"User","site_admin":false},"repo":{"id":29731450,"name":"Sylius","full_name":"loevstroem/Sylius","owner":{"login":"loevstroem","id":1077111,"avatar_url":"https://avatars.githubusercontent.com/u/1077111?v=3","gravatar_id":"","url":"https://api.github.com/users/loevstroem","html_url":"https://github.com/loevstroem","followers_url":"https://api.github.com/users/loevstroem/followers","following_url":"https://api.github.com/users/loevstroem/following{/other_user}","gists_url":"https://api.github.com/users/loevstroem/gists{/gist_id}","starred_url":"https://api.github.com/users/loevstroem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loevstroem/subscriptions","organizations_url":"https://api.github.com/users/loevstroem/orgs","repos_url":"https://api.github.com/users/loevstroem/repos","events_url":"https://api.github.com/users/loevstroem/events{/privacy}","received_events_url":"https://api.github.com/users/loevstroem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/loevstroem/Sylius","description":"Modern e-commerce for PHP, based on the Symfony2 framework.","fork":true,"url":"https://api.github.com/repos/loevstroem/Sylius","forks_url":"https://api.github.com/repos/loevstroem/Sylius/forks","keys_url":"https://api.github.com/repos/loevstroem/Sylius/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loevstroem/Sylius/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loevstroem/Sylius/teams","hooks_url":"https://api.github.com/repos/loevstroem/Sylius/hooks","issue_events_url":"https://api.github.com/repos/loevstroem/Sylius/issues/events{/number}","events_url":"https://api.github.com/repos/loevstroem/Sylius/events","assignees_url":"https://api.github.com/repos/loevstroem/Sylius/assignees{/user}","branches_url":"https://api.github.com/repos/loevstroem/Sylius/branches{/branch}","tags_url":"https://api.github.com/repos/loevstroem/Sylius/tags","blobs_url":"https://api.github.com/repos/loevstroem/Sylius/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loevstroem/Sylius/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loevstroem/Sylius/git/refs{/sha}","trees_url":"https://api.github.com/repos/loevstroem/Sylius/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loevstroem/Sylius/statuses/{sha}","languages_url":"https://api.github.com/repos/loevstroem/Sylius/languages","stargazers_url":"https://api.github.com/repos/loevstroem/Sylius/stargazers","contributors_url":"https://api.github.com/repos/loevstroem/Sylius/contributors","subscribers_url":"https://api.github.com/repos/loevstroem/Sylius/subscribers","subscription_url":"https://api.github.com/repos/loevstroem/Sylius/subscription","commits_url":"https://api.github.com/repos/loevstroem/Sylius/commits{/sha}","git_commits_url":"https://api.github.com/repos/loevstroem/Sylius/git/commits{/sha}","comments_url":"https://api.github.com/repos/loevstroem/Sylius/comments{/number}","issue_comment_url":"https://api.github.com/repos/loevstroem/Sylius/issues/comments/{number}","contents_url":"https://api.github.com/repos/loevstroem/Sylius/contents/{+path}","compare_url":"https://api.github.com/repos/loevstroem/Sylius/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loevstroem/Sylius/merges","archive_url":"https://api.github.com/repos/loevstroem/Sylius/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loevstroem/Sylius/downloads","issues_url":"https://api.github.com/repos/loevstroem/Sylius/issues{/number}","pulls_url":"https://api.github.com/repos/loevstroem/Sylius/pulls{/number}","milestones_url":"https://api.github.com/repos/loevstroem/Sylius/milestones{/number}","notifications_url":"https://api.github.com/repos/loevstroem/Sylius/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loevstroem/Sylius/labels{/name}","releases_url":"https://api.github.com/repos/loevstroem/Sylius/releases{/id}","created_at":"2015-01-23T12:23:52Z","updated_at":"2015-01-23T12:23:59Z","pushed_at":"2015-01-30T04:45:11Z","git_url":"git://github.com/loevstroem/Sylius.git","ssh_url":"git@github.com:loevstroem/Sylius.git","clone_url":"https://github.com/loevstroem/Sylius.git","svn_url":"https://github.com/loevstroem/Sylius","homepage":"Sylius.org","size":15370,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Sylius:master","ref":"master","sha":"fbcd17ac503c5d1b6669316e288f98c25cf4ae5f","user":{"login":"Sylius","id":719423,"avatar_url":"https://avatars.githubusercontent.com/u/719423?v=3","gravatar_id":"","url":"https://api.github.com/users/Sylius","html_url":"https://github.com/Sylius","followers_url":"https://api.github.com/users/Sylius/followers","following_url":"https://api.github.com/users/Sylius/following{/other_user}","gists_url":"https://api.github.com/users/Sylius/gists{/gist_id}","starred_url":"https://api.github.com/users/Sylius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sylius/subscriptions","organizations_url":"https://api.github.com/users/Sylius/orgs","repos_url":"https://api.github.com/users/Sylius/repos","events_url":"https://api.github.com/users/Sylius/events{/privacy}","received_events_url":"https://api.github.com/users/Sylius/received_events","type":"Organization","site_admin":false},"repo":{"id":2717549,"name":"Sylius","full_name":"Sylius/Sylius","owner":{"login":"Sylius","id":719423,"avatar_url":"https://avatars.githubusercontent.com/u/719423?v=3","gravatar_id":"","url":"https://api.github.com/users/Sylius","html_url":"https://github.com/Sylius","followers_url":"https://api.github.com/users/Sylius/followers","following_url":"https://api.github.com/users/Sylius/following{/other_user}","gists_url":"https://api.github.com/users/Sylius/gists{/gist_id}","starred_url":"https://api.github.com/users/Sylius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sylius/subscriptions","organizations_url":"https://api.github.com/users/Sylius/orgs","repos_url":"https://api.github.com/users/Sylius/repos","events_url":"https://api.github.com/users/Sylius/events{/privacy}","received_events_url":"https://api.github.com/users/Sylius/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sylius/Sylius","description":"Modern e-commerce for PHP, based on the Symfony2 framework.","fork":false,"url":"https://api.github.com/repos/Sylius/Sylius","forks_url":"https://api.github.com/repos/Sylius/Sylius/forks","keys_url":"https://api.github.com/repos/Sylius/Sylius/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sylius/Sylius/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sylius/Sylius/teams","hooks_url":"https://api.github.com/repos/Sylius/Sylius/hooks","issue_events_url":"https://api.github.com/repos/Sylius/Sylius/issues/events{/number}","events_url":"https://api.github.com/repos/Sylius/Sylius/events","assignees_url":"https://api.github.com/repos/Sylius/Sylius/assignees{/user}","branches_url":"https://api.github.com/repos/Sylius/Sylius/branches{/branch}","tags_url":"https://api.github.com/repos/Sylius/Sylius/tags","blobs_url":"https://api.github.com/repos/Sylius/Sylius/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sylius/Sylius/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sylius/Sylius/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sylius/Sylius/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sylius/Sylius/statuses/{sha}","languages_url":"https://api.github.com/repos/Sylius/Sylius/languages","stargazers_url":"https://api.github.com/repos/Sylius/Sylius/stargazers","contributors_url":"https://api.github.com/repos/Sylius/Sylius/contributors","subscribers_url":"https://api.github.com/repos/Sylius/Sylius/subscribers","subscription_url":"https://api.github.com/repos/Sylius/Sylius/subscription","commits_url":"https://api.github.com/repos/Sylius/Sylius/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sylius/Sylius/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sylius/Sylius/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sylius/Sylius/issues/comments/{number}","contents_url":"https://api.github.com/repos/Sylius/Sylius/contents/{+path}","compare_url":"https://api.github.com/repos/Sylius/Sylius/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sylius/Sylius/merges","archive_url":"https://api.github.com/repos/Sylius/Sylius/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sylius/Sylius/downloads","issues_url":"https://api.github.com/repos/Sylius/Sylius/issues{/number}","pulls_url":"https://api.github.com/repos/Sylius/Sylius/pulls{/number}","milestones_url":"https://api.github.com/repos/Sylius/Sylius/milestones{/number}","notifications_url":"https://api.github.com/repos/Sylius/Sylius/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sylius/Sylius/labels{/name}","releases_url":"https://api.github.com/repos/Sylius/Sylius/releases{/id}","created_at":"2011-11-05T22:05:52Z","updated_at":"2015-01-29T23:08:36Z","pushed_at":"2015-01-29T23:08:36Z","git_url":"git://github.com/Sylius/Sylius.git","ssh_url":"git@github.com:Sylius/Sylius.git","clone_url":"https://github.com/Sylius/Sylius.git","svn_url":"https://github.com/Sylius/Sylius","homepage":"Sylius.org","size":40153,"stargazers_count":1566,"watchers_count":1566,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":530,"mirror_url":null,"open_issues_count":378,"forks":530,"open_issues":378,"watchers":1566,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/2395"},"html":{"href":"https://github.com/Sylius/Sylius/pull/2395"},"issue":{"href":"https://api.github.com/repos/Sylius/Sylius/issues/2395"},"comments":{"href":"https://api.github.com/repos/Sylius/Sylius/issues/2395/comments"},"review_comments":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/2395/comments"},"review_comment":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Sylius/Sylius/pulls/2395/commits"},"statuses":{"href":"https://api.github.com/repos/Sylius/Sylius/statuses/655fbea024a01a4ac4510484ff2c9efecf96418b"}}}}