{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/packaging/pulls/comments/62944598","id":62944598,"diff_hunk":"@@ -0,0 +1,24 @@\n+namespace :vanagon do\n+  desc \"Check for tagged components in vanagon projects\"\n+  task :check_tags do\n+    unless Pkg::Config.vanagon_project\n+      puts \"This is not a vanagon project\"\n+      return\n+    end\n+    puts \"\\n**********************************************************************\\n\\n\"\n+    Pkg::Util.in_project_root do\n+      Pkg::Util::File.files_with_ext(\"configs/components\", \".json\").each do |json_file|\n+        puts Pkg::Util::Version.report_json_tags(json_file)\n+      end\n+    end\n+  end\n+\n+  desc \"Run component tag reports, if the report is okay, run an uber_build\"\n+  task :build_all, [:poll_interval] do |t, args|\n+    args.with_defaults(:poll_interval => 0)\n+    Rake::Task[\"vanagon:check_tags\"].invoke\n+    puts \"Does this look correct?\"\n+    return unless Pkg::Util.ask_yes_or_no\n+    Rake::Task[\"pl:jenkins:uber_build\"].invoke(args.poll_interval)\n+  end\n+end","path":"tasks/vanagon.rake","position":24,"original_position":24,"commit_id":"040c9393884ebdcad5c47c5a609cfcdae0d836ee","original_commit_id":"040c9393884ebdcad5c47c5a609cfcdae0d836ee","user":{"login":"underscorgan","id":553464,"avatar_url":"https://avatars.githubusercontent.com/u/553464?v=3","gravatar_id":"","url":"https://api.github.com/users/underscorgan","html_url":"https://github.com/underscorgan","followers_url":"https://api.github.com/users/underscorgan/followers","following_url":"https://api.github.com/users/underscorgan/following{/other_user}","gists_url":"https://api.github.com/users/underscorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/underscorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/underscorgan/subscriptions","organizations_url":"https://api.github.com/users/underscorgan/orgs","repos_url":"https://api.github.com/users/underscorgan/repos","events_url":"https://api.github.com/users/underscorgan/events{/privacy}","received_events_url":"https://api.github.com/users/underscorgan/received_events","type":"User","site_admin":false},"body":"Missing newline","created_at":"2016-05-11T23:32:40Z","updated_at":"2016-05-11T23:32:40Z","html_url":"https://github.com/puppetlabs/packaging/pull/546#discussion_r62944598","pull_request_url":"https://api.github.com/repos/puppetlabs/packaging/pulls/546","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/packaging/pulls/comments/62944598"},"html":{"href":"https://github.com/puppetlabs/packaging/pull/546#discussion_r62944598"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/packaging/pulls/546"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/packaging/pulls/546","id":69430099,"html_url":"https://github.com/puppetlabs/packaging/pull/546","diff_url":"https://github.com/puppetlabs/packaging/pull/546.diff","patch_url":"https://github.com/puppetlabs/packaging/pull/546.patch","issue_url":"https://api.github.com/repos/puppetlabs/packaging/issues/546","number":546,"state":"open","locked":false,"title":"(RE-6989) Add component tag check","user":{"login":"McdonaldSeanp","id":6415932,"avatar_url":"https://avatars.githubusercontent.com/u/6415932?v=3","gravatar_id":"","url":"https://api.github.com/users/McdonaldSeanp","html_url":"https://github.com/McdonaldSeanp","followers_url":"https://api.github.com/users/McdonaldSeanp/followers","following_url":"https://api.github.com/users/McdonaldSeanp/following{/other_user}","gists_url":"https://api.github.com/users/McdonaldSeanp/gists{/gist_id}","starred_url":"https://api.github.com/users/McdonaldSeanp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/McdonaldSeanp/subscriptions","organizations_url":"https://api.github.com/users/McdonaldSeanp/orgs","repos_url":"https://api.github.com/users/McdonaldSeanp/repos","events_url":"https://api.github.com/users/McdonaldSeanp/events{/privacy}","received_events_url":"https://api.github.com/users/McdonaldSeanp/received_events","type":"User","site_admin":false},"body":"This adds a component tagging check for packaging. This (for now) is only a\r\nhuman check and not a barrier for any CI jobs or builds using\r\npl:jenkins:uber_build. This function will only occur with an existing\r\nCHECK_VANAGON_COMPONENT_TAGS environment variable.\r\n\r\nBasically this is a human checklist, meant to notify the user if something\r\n\"looks tagged\". It will not prevent shipment or builds, it will simply output\r\nwhat \"looks tagged\" and then ask if this looks correct.","created_at":"2016-05-09T23:57:25Z","updated_at":"2016-05-11T23:32:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7072a591d40e8de29a14845b5afe2295d917498c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/packaging/pulls/546/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/packaging/pulls/546/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/packaging/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/packaging/issues/546/comments","statuses_url":"https://api.github.com/repos/puppetlabs/packaging/statuses/040c9393884ebdcad5c47c5a609cfcdae0d836ee","head":{"label":"McdonaldSeanp:RE-6989/add_vanagon_component_tag_test","ref":"RE-6989/add_vanagon_component_tag_test","sha":"040c9393884ebdcad5c47c5a609cfcdae0d836ee","user":{"login":"McdonaldSeanp","id":6415932,"avatar_url":"https://avatars.githubusercontent.com/u/6415932?v=3","gravatar_id":"","url":"https://api.github.com/users/McdonaldSeanp","html_url":"https://github.com/McdonaldSeanp","followers_url":"https://api.github.com/users/McdonaldSeanp/followers","following_url":"https://api.github.com/users/McdonaldSeanp/following{/other_user}","gists_url":"https://api.github.com/users/McdonaldSeanp/gists{/gist_id}","starred_url":"https://api.github.com/users/McdonaldSeanp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/McdonaldSeanp/subscriptions","organizations_url":"https://api.github.com/users/McdonaldSeanp/orgs","repos_url":"https://api.github.com/users/McdonaldSeanp/repos","events_url":"https://api.github.com/users/McdonaldSeanp/events{/privacy}","received_events_url":"https://api.github.com/users/McdonaldSeanp/received_events","type":"User","site_admin":false},"repo":{"id":48391400,"name":"packaging","full_name":"McdonaldSeanp/packaging","owner":{"login":"McdonaldSeanp","id":6415932,"avatar_url":"https://avatars.githubusercontent.com/u/6415932?v=3","gravatar_id":"","url":"https://api.github.com/users/McdonaldSeanp","html_url":"https://github.com/McdonaldSeanp","followers_url":"https://api.github.com/users/McdonaldSeanp/followers","following_url":"https://api.github.com/users/McdonaldSeanp/following{/other_user}","gists_url":"https://api.github.com/users/McdonaldSeanp/gists{/gist_id}","starred_url":"https://api.github.com/users/McdonaldSeanp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/McdonaldSeanp/subscriptions","organizations_url":"https://api.github.com/users/McdonaldSeanp/orgs","repos_url":"https://api.github.com/users/McdonaldSeanp/repos","events_url":"https://api.github.com/users/McdonaldSeanp/events{/privacy}","received_events_url":"https://api.github.com/users/McdonaldSeanp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/McdonaldSeanp/packaging","description":"","fork":true,"url":"https://api.github.com/repos/McdonaldSeanp/packaging","forks_url":"https://api.github.com/repos/McdonaldSeanp/packaging/forks","keys_url":"https://api.github.com/repos/McdonaldSeanp/packaging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/McdonaldSeanp/packaging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/McdonaldSeanp/packaging/teams","hooks_url":"https://api.github.com/repos/McdonaldSeanp/packaging/hooks","issue_events_url":"https://api.github.com/repos/McdonaldSeanp/packaging/issues/events{/number}","events_url":"https://api.github.com/repos/McdonaldSeanp/packaging/events","assignees_url":"https://api.github.com/repos/McdonaldSeanp/packaging/assignees{/user}","branches_url":"https://api.github.com/repos/McdonaldSeanp/packaging/branches{/branch}","tags_url":"https://api.github.com/repos/McdonaldSeanp/packaging/tags","blobs_url":"https://api.github.com/repos/McdonaldSeanp/packaging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/McdonaldSeanp/packaging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/McdonaldSeanp/packaging/git/refs{/sha}","trees_url":"https://api.github.com/repos/McdonaldSeanp/packaging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/McdonaldSeanp/packaging/statuses/{sha}","languages_url":"https://api.github.com/repos/McdonaldSeanp/packaging/languages","stargazers_url":"https://api.github.com/repos/McdonaldSeanp/packaging/stargazers","contributors_url":"https://api.github.com/repos/McdonaldSeanp/packaging/contributors","subscribers_url":"https://api.github.com/repos/McdonaldSeanp/packaging/subscribers","subscription_url":"https://api.github.com/repos/McdonaldSeanp/packaging/subscription","commits_url":"https://api.github.com/repos/McdonaldSeanp/packaging/commits{/sha}","git_commits_url":"https://api.github.com/repos/McdonaldSeanp/packaging/git/commits{/sha}","comments_url":"https://api.github.com/repos/McdonaldSeanp/packaging/comments{/number}","issue_comment_url":"https://api.github.com/repos/McdonaldSeanp/packaging/issues/comments{/number}","contents_url":"https://api.github.com/repos/McdonaldSeanp/packaging/contents/{+path}","compare_url":"https://api.github.com/repos/McdonaldSeanp/packaging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/McdonaldSeanp/packaging/merges","archive_url":"https://api.github.com/repos/McdonaldSeanp/packaging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/McdonaldSeanp/packaging/downloads","issues_url":"https://api.github.com/repos/McdonaldSeanp/packaging/issues{/number}","pulls_url":"https://api.github.com/repos/McdonaldSeanp/packaging/pulls{/number}","milestones_url":"https://api.github.com/repos/McdonaldSeanp/packaging/milestones{/number}","notifications_url":"https://api.github.com/repos/McdonaldSeanp/packaging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/McdonaldSeanp/packaging/labels{/name}","releases_url":"https://api.github.com/repos/McdonaldSeanp/packaging/releases{/id}","deployments_url":"https://api.github.com/repos/McdonaldSeanp/packaging/deployments","created_at":"2015-12-21T19:59:22Z","updated_at":"2016-01-20T00:39:21Z","pushed_at":"2016-05-11T19:59:02Z","git_url":"git://github.com/McdonaldSeanp/packaging.git","ssh_url":"git@github.com:McdonaldSeanp/packaging.git","clone_url":"https://github.com/McdonaldSeanp/packaging.git","svn_url":"https://github.com/McdonaldSeanp/packaging","homepage":null,"size":1882,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"puppetlabs:master","ref":"master","sha":"e83cdc70f3cf32188269438794bb6f7850431379","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":5209001,"name":"packaging","full_name":"puppetlabs/packaging","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/packaging","description":"","fork":false,"url":"https://api.github.com/repos/puppetlabs/packaging","forks_url":"https://api.github.com/repos/puppetlabs/packaging/forks","keys_url":"https://api.github.com/repos/puppetlabs/packaging/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/packaging/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/packaging/teams","hooks_url":"https://api.github.com/repos/puppetlabs/packaging/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/packaging/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/packaging/events","assignees_url":"https://api.github.com/repos/puppetlabs/packaging/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/packaging/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/packaging/tags","blobs_url":"https://api.github.com/repos/puppetlabs/packaging/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/packaging/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/packaging/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/packaging/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/packaging/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/packaging/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/packaging/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/packaging/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/packaging/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/packaging/subscription","commits_url":"https://api.github.com/repos/puppetlabs/packaging/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/packaging/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/packaging/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/packaging/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/packaging/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/packaging/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/packaging/merges","archive_url":"https://api.github.com/repos/puppetlabs/packaging/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/packaging/downloads","issues_url":"https://api.github.com/repos/puppetlabs/packaging/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/packaging/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/packaging/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/packaging/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/packaging/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/packaging/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/packaging/deployments","created_at":"2012-07-27T20:18:19Z","updated_at":"2016-03-21T15:56:49Z","pushed_at":"2016-05-11T19:59:03Z","git_url":"git://github.com/puppetlabs/packaging.git","ssh_url":"git@github.com:puppetlabs/packaging.git","clone_url":"https://github.com/puppetlabs/packaging.git","svn_url":"https://github.com/puppetlabs/packaging","homepage":null,"size":2091,"stargazers_count":31,"watchers_count":31,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":3,"forks":53,"open_issues":3,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/packaging/pulls/546"},"html":{"href":"https://github.com/puppetlabs/packaging/pull/546"},"issue":{"href":"https://api.github.com/repos/puppetlabs/packaging/issues/546"},"comments":{"href":"https://api.github.com/repos/puppetlabs/packaging/issues/546/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/packaging/pulls/546/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/packaging/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/packaging/pulls/546/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/packaging/statuses/040c9393884ebdcad5c47c5a609cfcdae0d836ee"}}}}