{"action":"created","comment":{"url":"https://api.github.com/repos/remind101/stacker/pulls/comments/43959252","id":43959252,"diff_hunk":"@@ -28,6 +28,22 @@ def should_update(stack):\n     return True\n \n \n+def should_submit(stack):\n+    \"\"\"Tests whether a stack should be submitted to CF for update/create\n+\n+    Args:\n+        stack (stacker.stack.Stack): The stack object to check.\n+\n+    Returns:\n+        bool: If the stack should be updated, return True.","path":"stacker/actions/build.py","position":11,"original_position":11,"commit_id":"f0c73e3566deb6917bdfe0597a8d1ff6340eb2d6","original_commit_id":"f0c73e3566deb6917bdfe0597a8d1ff6340eb2d6","user":{"login":"phobologic","id":517334,"avatar_url":"https://avatars.githubusercontent.com/u/517334?v=3","gravatar_id":"","url":"https://api.github.com/users/phobologic","html_url":"https://github.com/phobologic","followers_url":"https://api.github.com/users/phobologic/followers","following_url":"https://api.github.com/users/phobologic/following{/other_user}","gists_url":"https://api.github.com/users/phobologic/gists{/gist_id}","starred_url":"https://api.github.com/users/phobologic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phobologic/subscriptions","organizations_url":"https://api.github.com/users/phobologic/orgs","repos_url":"https://api.github.com/users/phobologic/repos","events_url":"https://api.github.com/users/phobologic/events{/privacy}","received_events_url":"https://api.github.com/users/phobologic/received_events","type":"User","site_admin":false},"body":"nit: updated -> submitted","created_at":"2015-11-04T23:54:22Z","updated_at":"2015-11-04T23:54:22Z","html_url":"https://github.com/remind101/stacker/pull/115#discussion_r43959252","pull_request_url":"https://api.github.com/repos/remind101/stacker/pulls/115","_links":{"self":{"href":"https://api.github.com/repos/remind101/stacker/pulls/comments/43959252"},"html":{"href":"https://github.com/remind101/stacker/pull/115#discussion_r43959252"},"pull_request":{"href":"https://api.github.com/repos/remind101/stacker/pulls/115"}}},"pull_request":{"url":"https://api.github.com/repos/remind101/stacker/pulls/115","id":49740404,"html_url":"https://github.com/remind101/stacker/pull/115","diff_url":"https://github.com/remind101/stacker/pull/115.diff","patch_url":"https://github.com/remind101/stacker/pull/115.patch","issue_url":"https://api.github.com/repos/remind101/stacker/issues/115","number":115,"state":"open","locked":false,"title":"Adt add enabled flag v2","user":{"login":"synfinatic","id":1075352,"avatar_url":"https://avatars.githubusercontent.com/u/1075352?v=3","gravatar_id":"","url":"https://api.github.com/users/synfinatic","html_url":"https://github.com/synfinatic","followers_url":"https://api.github.com/users/synfinatic/followers","following_url":"https://api.github.com/users/synfinatic/following{/other_user}","gists_url":"https://api.github.com/users/synfinatic/gists{/gist_id}","starred_url":"https://api.github.com/users/synfinatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synfinatic/subscriptions","organizations_url":"https://api.github.com/users/synfinatic/orgs","repos_url":"https://api.github.com/users/synfinatic/repos","events_url":"https://api.github.com/users/synfinatic/events{/privacy}","received_events_url":"https://api.github.com/users/synfinatic/received_events","type":"User","site_admin":false},"body":"Would be nice to use a single yaml file for multiple envs and pick certain stacks to deploy on a per-env basis.","created_at":"2015-11-04T20:24:45Z","updated_at":"2015-11-04T23:54:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d82ecca2c9995ef0712b3354c5d0447826b5d1e5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/remind101/stacker/pulls/115/commits","review_comments_url":"https://api.github.com/repos/remind101/stacker/pulls/115/comments","review_comment_url":"https://api.github.com/repos/remind101/stacker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/remind101/stacker/issues/115/comments","statuses_url":"https://api.github.com/repos/remind101/stacker/statuses/f0c73e3566deb6917bdfe0597a8d1ff6340eb2d6","head":{"label":"synfinatic:adt-add-enabled-flag-v2","ref":"adt-add-enabled-flag-v2","sha":"f0c73e3566deb6917bdfe0597a8d1ff6340eb2d6","user":{"login":"synfinatic","id":1075352,"avatar_url":"https://avatars.githubusercontent.com/u/1075352?v=3","gravatar_id":"","url":"https://api.github.com/users/synfinatic","html_url":"https://github.com/synfinatic","followers_url":"https://api.github.com/users/synfinatic/followers","following_url":"https://api.github.com/users/synfinatic/following{/other_user}","gists_url":"https://api.github.com/users/synfinatic/gists{/gist_id}","starred_url":"https://api.github.com/users/synfinatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synfinatic/subscriptions","organizations_url":"https://api.github.com/users/synfinatic/orgs","repos_url":"https://api.github.com/users/synfinatic/repos","events_url":"https://api.github.com/users/synfinatic/events{/privacy}","received_events_url":"https://api.github.com/users/synfinatic/received_events","type":"User","site_admin":false},"repo":{"id":45276052,"name":"stacker","full_name":"synfinatic/stacker","owner":{"login":"synfinatic","id":1075352,"avatar_url":"https://avatars.githubusercontent.com/u/1075352?v=3","gravatar_id":"","url":"https://api.github.com/users/synfinatic","html_url":"https://github.com/synfinatic","followers_url":"https://api.github.com/users/synfinatic/followers","following_url":"https://api.github.com/users/synfinatic/following{/other_user}","gists_url":"https://api.github.com/users/synfinatic/gists{/gist_id}","starred_url":"https://api.github.com/users/synfinatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synfinatic/subscriptions","organizations_url":"https://api.github.com/users/synfinatic/orgs","repos_url":"https://api.github.com/users/synfinatic/repos","events_url":"https://api.github.com/users/synfinatic/events{/privacy}","received_events_url":"https://api.github.com/users/synfinatic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/synfinatic/stacker","description":"An opinionated AWS CloudFormation Stack builder.","fork":true,"url":"https://api.github.com/repos/synfinatic/stacker","forks_url":"https://api.github.com/repos/synfinatic/stacker/forks","keys_url":"https://api.github.com/repos/synfinatic/stacker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/synfinatic/stacker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/synfinatic/stacker/teams","hooks_url":"https://api.github.com/repos/synfinatic/stacker/hooks","issue_events_url":"https://api.github.com/repos/synfinatic/stacker/issues/events{/number}","events_url":"https://api.github.com/repos/synfinatic/stacker/events","assignees_url":"https://api.github.com/repos/synfinatic/stacker/assignees{/user}","branches_url":"https://api.github.com/repos/synfinatic/stacker/branches{/branch}","tags_url":"https://api.github.com/repos/synfinatic/stacker/tags","blobs_url":"https://api.github.com/repos/synfinatic/stacker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/synfinatic/stacker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/synfinatic/stacker/git/refs{/sha}","trees_url":"https://api.github.com/repos/synfinatic/stacker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/synfinatic/stacker/statuses/{sha}","languages_url":"https://api.github.com/repos/synfinatic/stacker/languages","stargazers_url":"https://api.github.com/repos/synfinatic/stacker/stargazers","contributors_url":"https://api.github.com/repos/synfinatic/stacker/contributors","subscribers_url":"https://api.github.com/repos/synfinatic/stacker/subscribers","subscription_url":"https://api.github.com/repos/synfinatic/stacker/subscription","commits_url":"https://api.github.com/repos/synfinatic/stacker/commits{/sha}","git_commits_url":"https://api.github.com/repos/synfinatic/stacker/git/commits{/sha}","comments_url":"https://api.github.com/repos/synfinatic/stacker/comments{/number}","issue_comment_url":"https://api.github.com/repos/synfinatic/stacker/issues/comments{/number}","contents_url":"https://api.github.com/repos/synfinatic/stacker/contents/{+path}","compare_url":"https://api.github.com/repos/synfinatic/stacker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/synfinatic/stacker/merges","archive_url":"https://api.github.com/repos/synfinatic/stacker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/synfinatic/stacker/downloads","issues_url":"https://api.github.com/repos/synfinatic/stacker/issues{/number}","pulls_url":"https://api.github.com/repos/synfinatic/stacker/pulls{/number}","milestones_url":"https://api.github.com/repos/synfinatic/stacker/milestones{/number}","notifications_url":"https://api.github.com/repos/synfinatic/stacker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/synfinatic/stacker/labels{/name}","releases_url":"https://api.github.com/repos/synfinatic/stacker/releases{/id}","created_at":"2015-10-30T20:54:29Z","updated_at":"2015-10-30T20:54:30Z","pushed_at":"2015-11-04T21:50:59Z","git_url":"git://github.com/synfinatic/stacker.git","ssh_url":"git@github.com:synfinatic/stacker.git","clone_url":"https://github.com/synfinatic/stacker.git","svn_url":"https://github.com/synfinatic/stacker","homepage":null,"size":1262,"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":"master"}},"base":{"label":"remind101:master","ref":"master","sha":"d3b47a1f0ea2a71d925e5cb2a57c61a0fbfeaf70","user":{"login":"remind101","id":376343,"avatar_url":"https://avatars.githubusercontent.com/u/376343?v=3","gravatar_id":"","url":"https://api.github.com/users/remind101","html_url":"https://github.com/remind101","followers_url":"https://api.github.com/users/remind101/followers","following_url":"https://api.github.com/users/remind101/following{/other_user}","gists_url":"https://api.github.com/users/remind101/gists{/gist_id}","starred_url":"https://api.github.com/users/remind101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remind101/subscriptions","organizations_url":"https://api.github.com/users/remind101/orgs","repos_url":"https://api.github.com/users/remind101/repos","events_url":"https://api.github.com/users/remind101/events{/privacy}","received_events_url":"https://api.github.com/users/remind101/received_events","type":"Organization","site_admin":false},"repo":{"id":28885080,"name":"stacker","full_name":"remind101/stacker","owner":{"login":"remind101","id":376343,"avatar_url":"https://avatars.githubusercontent.com/u/376343?v=3","gravatar_id":"","url":"https://api.github.com/users/remind101","html_url":"https://github.com/remind101","followers_url":"https://api.github.com/users/remind101/followers","following_url":"https://api.github.com/users/remind101/following{/other_user}","gists_url":"https://api.github.com/users/remind101/gists{/gist_id}","starred_url":"https://api.github.com/users/remind101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remind101/subscriptions","organizations_url":"https://api.github.com/users/remind101/orgs","repos_url":"https://api.github.com/users/remind101/repos","events_url":"https://api.github.com/users/remind101/events{/privacy}","received_events_url":"https://api.github.com/users/remind101/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/remind101/stacker","description":"An opinionated AWS CloudFormation Stack builder.","fork":false,"url":"https://api.github.com/repos/remind101/stacker","forks_url":"https://api.github.com/repos/remind101/stacker/forks","keys_url":"https://api.github.com/repos/remind101/stacker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/remind101/stacker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/remind101/stacker/teams","hooks_url":"https://api.github.com/repos/remind101/stacker/hooks","issue_events_url":"https://api.github.com/repos/remind101/stacker/issues/events{/number}","events_url":"https://api.github.com/repos/remind101/stacker/events","assignees_url":"https://api.github.com/repos/remind101/stacker/assignees{/user}","branches_url":"https://api.github.com/repos/remind101/stacker/branches{/branch}","tags_url":"https://api.github.com/repos/remind101/stacker/tags","blobs_url":"https://api.github.com/repos/remind101/stacker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/remind101/stacker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/remind101/stacker/git/refs{/sha}","trees_url":"https://api.github.com/repos/remind101/stacker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/remind101/stacker/statuses/{sha}","languages_url":"https://api.github.com/repos/remind101/stacker/languages","stargazers_url":"https://api.github.com/repos/remind101/stacker/stargazers","contributors_url":"https://api.github.com/repos/remind101/stacker/contributors","subscribers_url":"https://api.github.com/repos/remind101/stacker/subscribers","subscription_url":"https://api.github.com/repos/remind101/stacker/subscription","commits_url":"https://api.github.com/repos/remind101/stacker/commits{/sha}","git_commits_url":"https://api.github.com/repos/remind101/stacker/git/commits{/sha}","comments_url":"https://api.github.com/repos/remind101/stacker/comments{/number}","issue_comment_url":"https://api.github.com/repos/remind101/stacker/issues/comments{/number}","contents_url":"https://api.github.com/repos/remind101/stacker/contents/{+path}","compare_url":"https://api.github.com/repos/remind101/stacker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/remind101/stacker/merges","archive_url":"https://api.github.com/repos/remind101/stacker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/remind101/stacker/downloads","issues_url":"https://api.github.com/repos/remind101/stacker/issues{/number}","pulls_url":"https://api.github.com/repos/remind101/stacker/pulls{/number}","milestones_url":"https://api.github.com/repos/remind101/stacker/milestones{/number}","notifications_url":"https://api.github.com/repos/remind101/stacker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/remind101/stacker/labels{/name}","releases_url":"https://api.github.com/repos/remind101/stacker/releases{/id}","created_at":"2015-01-06T21:46:05Z","updated_at":"2015-10-22T14:42:05Z","pushed_at":"2015-11-04T21:51:00Z","git_url":"git://github.com/remind101/stacker.git","ssh_url":"git@github.com:remind101/stacker.git","clone_url":"https://github.com/remind101/stacker.git","svn_url":"https://github.com/remind101/stacker","homepage":null,"size":1208,"stargazers_count":38,"watchers_count":38,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":23,"forks":13,"open_issues":23,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/remind101/stacker/pulls/115"},"html":{"href":"https://github.com/remind101/stacker/pull/115"},"issue":{"href":"https://api.github.com/repos/remind101/stacker/issues/115"},"comments":{"href":"https://api.github.com/repos/remind101/stacker/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/remind101/stacker/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/remind101/stacker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/remind101/stacker/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/remind101/stacker/statuses/f0c73e3566deb6917bdfe0597a8d1ff6340eb2d6"}}}}