{"action":"opened","number":543,"pull_request":{"url":"https://api.github.com/repos/savoirfairelinux/sous-chef/pulls/543","id":96206730,"html_url":"https://github.com/savoirfairelinux/sous-chef/pull/543","diff_url":"https://github.com/savoirfairelinux/sous-chef/pull/543.diff","patch_url":"https://github.com/savoirfairelinux/sous-chef/pull/543.patch","issue_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues/543","number":543,"state":"open","locked":false,"title":"fix529 Pick Sides Ingredients separately","user":{"login":"lamontfr","id":8512608,"avatar_url":"https://avatars.githubusercontent.com/u/8512608?v=3","gravatar_id":"","url":"https://api.github.com/users/lamontfr","html_url":"https://github.com/lamontfr","followers_url":"https://api.github.com/users/lamontfr/followers","following_url":"https://api.github.com/users/lamontfr/following{/other_user}","gists_url":"https://api.github.com/users/lamontfr/gists{/gist_id}","starred_url":"https://api.github.com/users/lamontfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamontfr/subscriptions","organizations_url":"https://api.github.com/users/lamontfr/orgs","repos_url":"https://api.github.com/users/lamontfr/repos","events_url":"https://api.github.com/users/lamontfr/events{/privacy}","received_events_url":"https://api.github.com/users/lamontfr/received_events","type":"User","site_admin":false},"body":"## Fixes #529.\r\n\r\n### Changes proposed in this pull request:\r\n\r\n* delivery / fixtures / sample_data : added one component having component group \"Sides\" for use in tests.\r\n* delivery / forms , delivery / templates / ingredients : new field and validation\r\n* delivery / views : handle Sides ingredients, save them in today's menu (for clash detection to be added in the meal labels generation - this will be covered by fixing Issue #531.)\r\n* meal / models : new component group choice = 'sides'.\r\n* order / models : in order creation, skip component group choice = 'sides'. \r\n* src / meallabels.pdf : delete file such that it will not be tracked by git anymore.\r\n\r\n### Status\r\n\r\n- [X] READY\r\n\r\n### How to verify this change\r\n\r\n* In Django Admin, create a new Component named \"Day s Sides\" and set its component group = \"Sides\". (Do this only once).\r\n* In Kitchen Count step 2, choose Sides ingredients, click \"Next - Print Kitchen Count\", go in Django Admin look for the Component names \"Day s Sides\", see its Component Ingredients for today's date.\r\n","created_at":"2016-12-02T01:46:06Z","updated_at":"2016-12-02T01:46:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cee035f159cd616d95fd6e6a9df79b3344afc012","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/pulls/543/commits","review_comments_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/pulls/543/comments","review_comment_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/pulls/comments{/number}","comments_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues/543/comments","statuses_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/statuses/dc2133df06f4ee3621dbafab5df8a7382124ac56","head":{"label":"lamontfr:fix529","ref":"fix529","sha":"dc2133df06f4ee3621dbafab5df8a7382124ac56","user":{"login":"lamontfr","id":8512608,"avatar_url":"https://avatars.githubusercontent.com/u/8512608?v=3","gravatar_id":"","url":"https://api.github.com/users/lamontfr","html_url":"https://github.com/lamontfr","followers_url":"https://api.github.com/users/lamontfr/followers","following_url":"https://api.github.com/users/lamontfr/following{/other_user}","gists_url":"https://api.github.com/users/lamontfr/gists{/gist_id}","starred_url":"https://api.github.com/users/lamontfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamontfr/subscriptions","organizations_url":"https://api.github.com/users/lamontfr/orgs","repos_url":"https://api.github.com/users/lamontfr/repos","events_url":"https://api.github.com/users/lamontfr/events{/privacy}","received_events_url":"https://api.github.com/users/lamontfr/received_events","type":"User","site_admin":false},"repo":{"id":59017374,"name":"sous-chef","full_name":"lamontfr/sous-chef","owner":{"login":"lamontfr","id":8512608,"avatar_url":"https://avatars.githubusercontent.com/u/8512608?v=3","gravatar_id":"","url":"https://api.github.com/users/lamontfr","html_url":"https://github.com/lamontfr","followers_url":"https://api.github.com/users/lamontfr/followers","following_url":"https://api.github.com/users/lamontfr/following{/other_user}","gists_url":"https://api.github.com/users/lamontfr/gists{/gist_id}","starred_url":"https://api.github.com/users/lamontfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamontfr/subscriptions","organizations_url":"https://api.github.com/users/lamontfr/orgs","repos_url":"https://api.github.com/users/lamontfr/repos","events_url":"https://api.github.com/users/lamontfr/events{/privacy}","received_events_url":"https://api.github.com/users/lamontfr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lamontfr/sous-chef","description":"Feast plateform","fork":true,"url":"https://api.github.com/repos/lamontfr/sous-chef","forks_url":"https://api.github.com/repos/lamontfr/sous-chef/forks","keys_url":"https://api.github.com/repos/lamontfr/sous-chef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lamontfr/sous-chef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lamontfr/sous-chef/teams","hooks_url":"https://api.github.com/repos/lamontfr/sous-chef/hooks","issue_events_url":"https://api.github.com/repos/lamontfr/sous-chef/issues/events{/number}","events_url":"https://api.github.com/repos/lamontfr/sous-chef/events","assignees_url":"https://api.github.com/repos/lamontfr/sous-chef/assignees{/user}","branches_url":"https://api.github.com/repos/lamontfr/sous-chef/branches{/branch}","tags_url":"https://api.github.com/repos/lamontfr/sous-chef/tags","blobs_url":"https://api.github.com/repos/lamontfr/sous-chef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lamontfr/sous-chef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lamontfr/sous-chef/git/refs{/sha}","trees_url":"https://api.github.com/repos/lamontfr/sous-chef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lamontfr/sous-chef/statuses/{sha}","languages_url":"https://api.github.com/repos/lamontfr/sous-chef/languages","stargazers_url":"https://api.github.com/repos/lamontfr/sous-chef/stargazers","contributors_url":"https://api.github.com/repos/lamontfr/sous-chef/contributors","subscribers_url":"https://api.github.com/repos/lamontfr/sous-chef/subscribers","subscription_url":"https://api.github.com/repos/lamontfr/sous-chef/subscription","commits_url":"https://api.github.com/repos/lamontfr/sous-chef/commits{/sha}","git_commits_url":"https://api.github.com/repos/lamontfr/sous-chef/git/commits{/sha}","comments_url":"https://api.github.com/repos/lamontfr/sous-chef/comments{/number}","issue_comment_url":"https://api.github.com/repos/lamontfr/sous-chef/issues/comments{/number}","contents_url":"https://api.github.com/repos/lamontfr/sous-chef/contents/{+path}","compare_url":"https://api.github.com/repos/lamontfr/sous-chef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lamontfr/sous-chef/merges","archive_url":"https://api.github.com/repos/lamontfr/sous-chef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lamontfr/sous-chef/downloads","issues_url":"https://api.github.com/repos/lamontfr/sous-chef/issues{/number}","pulls_url":"https://api.github.com/repos/lamontfr/sous-chef/pulls{/number}","milestones_url":"https://api.github.com/repos/lamontfr/sous-chef/milestones{/number}","notifications_url":"https://api.github.com/repos/lamontfr/sous-chef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lamontfr/sous-chef/labels{/name}","releases_url":"https://api.github.com/repos/lamontfr/sous-chef/releases{/id}","deployments_url":"https://api.github.com/repos/lamontfr/sous-chef/deployments","created_at":"2016-05-17T11:43:57Z","updated_at":"2016-10-31T00:48:24Z","pushed_at":"2016-12-02T01:23:30Z","git_url":"git://github.com/lamontfr/sous-chef.git","ssh_url":"git@github.com:lamontfr/sous-chef.git","clone_url":"https://github.com/lamontfr/sous-chef.git","svn_url":"https://github.com/lamontfr/sous-chef","homepage":null,"size":8229,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"dev"}},"base":{"label":"savoirfairelinux:dev","ref":"dev","sha":"976e237bd135b26766b1358741c84a883c8cca65","user":{"login":"savoirfairelinux","id":2735545,"avatar_url":"https://avatars.githubusercontent.com/u/2735545?v=3","gravatar_id":"","url":"https://api.github.com/users/savoirfairelinux","html_url":"https://github.com/savoirfairelinux","followers_url":"https://api.github.com/users/savoirfairelinux/followers","following_url":"https://api.github.com/users/savoirfairelinux/following{/other_user}","gists_url":"https://api.github.com/users/savoirfairelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/savoirfairelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savoirfairelinux/subscriptions","organizations_url":"https://api.github.com/users/savoirfairelinux/orgs","repos_url":"https://api.github.com/users/savoirfairelinux/repos","events_url":"https://api.github.com/users/savoirfairelinux/events{/privacy}","received_events_url":"https://api.github.com/users/savoirfairelinux/received_events","type":"Organization","site_admin":false},"repo":{"id":50676845,"name":"sous-chef","full_name":"savoirfairelinux/sous-chef","owner":{"login":"savoirfairelinux","id":2735545,"avatar_url":"https://avatars.githubusercontent.com/u/2735545?v=3","gravatar_id":"","url":"https://api.github.com/users/savoirfairelinux","html_url":"https://github.com/savoirfairelinux","followers_url":"https://api.github.com/users/savoirfairelinux/followers","following_url":"https://api.github.com/users/savoirfairelinux/following{/other_user}","gists_url":"https://api.github.com/users/savoirfairelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/savoirfairelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savoirfairelinux/subscriptions","organizations_url":"https://api.github.com/users/savoirfairelinux/orgs","repos_url":"https://api.github.com/users/savoirfairelinux/repos","events_url":"https://api.github.com/users/savoirfairelinux/events{/privacy}","received_events_url":"https://api.github.com/users/savoirfairelinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/savoirfairelinux/sous-chef","description":"Sous-Chef is a web application to help organizations to plan and deliver meals, and to manage clients files.","fork":false,"url":"https://api.github.com/repos/savoirfairelinux/sous-chef","forks_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/forks","keys_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/teams","hooks_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/hooks","issue_events_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues/events{/number}","events_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/events","assignees_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/assignees{/user}","branches_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/branches{/branch}","tags_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/tags","blobs_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/git/refs{/sha}","trees_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/statuses/{sha}","languages_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/languages","stargazers_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/stargazers","contributors_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/contributors","subscribers_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/subscribers","subscription_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/subscription","commits_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/commits{/sha}","git_commits_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/git/commits{/sha}","comments_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/comments{/number}","issue_comment_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues/comments{/number}","contents_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/contents/{+path}","compare_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/merges","archive_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/downloads","issues_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues{/number}","pulls_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/pulls{/number}","milestones_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/milestones{/number}","notifications_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/labels{/name}","releases_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/releases{/id}","deployments_url":"https://api.github.com/repos/savoirfairelinux/sous-chef/deployments","created_at":"2016-01-29T16:56:04Z","updated_at":"2016-11-21T16:24:38Z","pushed_at":"2016-12-02T01:46:06Z","git_url":"git://github.com/savoirfairelinux/sous-chef.git","ssh_url":"git@github.com:savoirfairelinux/sous-chef.git","clone_url":"https://github.com/savoirfairelinux/sous-chef.git","svn_url":"https://github.com/savoirfairelinux/sous-chef","homepage":"","size":9340,"stargazers_count":25,"watchers_count":25,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":36,"mirror_url":null,"open_issues_count":43,"forks":36,"open_issues":43,"watchers":25,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/savoirfairelinux/sous-chef/pulls/543"},"html":{"href":"https://github.com/savoirfairelinux/sous-chef/pull/543"},"issue":{"href":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues/543"},"comments":{"href":"https://api.github.com/repos/savoirfairelinux/sous-chef/issues/543/comments"},"review_comments":{"href":"https://api.github.com/repos/savoirfairelinux/sous-chef/pulls/543/comments"},"review_comment":{"href":"https://api.github.com/repos/savoirfairelinux/sous-chef/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/savoirfairelinux/sous-chef/pulls/543/commits"},"statuses":{"href":"https://api.github.com/repos/savoirfairelinux/sous-chef/statuses/dc2133df06f4ee3621dbafab5df8a7382124ac56"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":92,"deletions":29,"changed_files":8}}
{"actor":{"display_login":"lamontfr"}}