{"action":"created","comment":{"url":"https://api.github.com/repos/fedora-infra/bodhi/pulls/comments/210323995","pull_request_review_id":146511806,"id":210323995,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDMyMzk5NQ==","diff_hunk":"@@ -985,6 +985,90 @@ def info_release(name, url, **kwargs):\n         print_release(res)\n \n \n+@releases.group(name='critpath')\n+def critpath_pkgs():\n+    # Docs that show in the --help\n+    \"\"\"Interact with critical path packages of a release.\"\"\"\n+    # Developer Docs\n+    \"\"\"Manage the critical path packages of a release.\"\"\"\n+    pass  # pragma: no cover\n+\n+\n+@critpath_pkgs.command(name='list')\n+@handle_errors\n+@click.argument('name')\n+@url_option\n+@staging_option\n+def list_critpath_packages(name, url, **kwargs):\n+    \"\"\"\n+    List critical path packages of a release.\n+\n+    NAME: Release name (e.g. F27)\n+    \"\"\"\n+    client = bindings.BodhiClient(base_url=url, staging=kwargs['staging'])\n+\n+    res = client.send_request('releases/{}/critpath-packages'.format(name), verb='GET', auth=False)\n+\n+    if 'errors' in res:\n+        print_errors(res)\n+    else:\n+        print_critpath_pkgs(res)\n+\n+\n+@critpath_pkgs.command(name='add')\n+@handle_errors\n+@click.argument('name')\n+@click.argument('packages', nargs=-1)\n+@url_option\n+@staging_option\n+def add_critpath_packages(name, packages, url, **kwargs):\n+    \"\"\"\n+    Add critical path packages to a release.\n+\n+    NAME: Release name (e.g. F27)\n+\n+    [PACKAGES]: List of packages to add (e.g. firefox vim python)","path":"bodhi/client/__init__.py","position":46,"original_position":46,"commit_id":"c9b22c1584e65b7f116c57a48ab7995ead0db22d","original_commit_id":"c9b22c1584e65b7f116c57a48ab7995ead0db22d","user":{"login":"bowlofeggs","id":354506,"node_id":"MDQ6VXNlcjM1NDUwNg==","avatar_url":"https://avatars2.githubusercontent.com/u/354506?v=4","gravatar_id":"","url":"https://api.github.com/users/bowlofeggs","html_url":"https://github.com/bowlofeggs","followers_url":"https://api.github.com/users/bowlofeggs/followers","following_url":"https://api.github.com/users/bowlofeggs/following{/other_user}","gists_url":"https://api.github.com/users/bowlofeggs/gists{/gist_id}","starred_url":"https://api.github.com/users/bowlofeggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowlofeggs/subscriptions","organizations_url":"https://api.github.com/users/bowlofeggs/orgs","repos_url":"https://api.github.com/users/bowlofeggs/repos","events_url":"https://api.github.com/users/bowlofeggs/events{/privacy}","received_events_url":"https://api.github.com/users/bowlofeggs/received_events","type":"User","site_admin":false},"body":"s/List/Space-separated list/","created_at":"2018-08-15T16:18:15Z","updated_at":"2018-08-15T16:45:01Z","html_url":"https://github.com/fedora-infra/bodhi/pull/2476#discussion_r210323995","pull_request_url":"https://api.github.com/repos/fedora-infra/bodhi/pulls/2476","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/fedora-infra/bodhi/pulls/comments/210323995"},"html":{"href":"https://github.com/fedora-infra/bodhi/pull/2476#discussion_r210323995"},"pull_request":{"href":"https://api.github.com/repos/fedora-infra/bodhi/pulls/2476"}}},"pull_request":{"url":"https://api.github.com/repos/fedora-infra/bodhi/pulls/2476","id":201144927,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMTQ0OTI3","html_url":"https://github.com/fedora-infra/bodhi/pull/2476","diff_url":"https://github.com/fedora-infra/bodhi/pull/2476.diff","patch_url":"https://github.com/fedora-infra/bodhi/pull/2476.patch","issue_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/2476","number":2476,"state":"open","locked":false,"title":"Added mapping for critical packages for a release.","user":{"login":"vismay-golwala","id":15652962,"node_id":"MDQ6VXNlcjE1NjUyOTYy","avatar_url":"https://avatars2.githubusercontent.com/u/15652962?v=4","gravatar_id":"","url":"https://api.github.com/users/vismay-golwala","html_url":"https://github.com/vismay-golwala","followers_url":"https://api.github.com/users/vismay-golwala/followers","following_url":"https://api.github.com/users/vismay-golwala/following{/other_user}","gists_url":"https://api.github.com/users/vismay-golwala/gists{/gist_id}","starred_url":"https://api.github.com/users/vismay-golwala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vismay-golwala/subscriptions","organizations_url":"https://api.github.com/users/vismay-golwala/orgs","repos_url":"https://api.github.com/users/vismay-golwala/repos","events_url":"https://api.github.com/users/vismay-golwala/events{/privacy}","received_events_url":"https://api.github.com/users/vismay-golwala/received_events","type":"User","site_admin":false},"body":"fixes #2433\r\n\r\nSigned-off-by: Vismay Golwala <vgolwala@redhat.com>","created_at":"2018-07-12T22:41:07Z","updated_at":"2018-08-15T16:45:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8874af13aceb4b7ac6faf61e608bf4ecac48bd2c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fedora-infra/bodhi/pulls/2476/commits","review_comments_url":"https://api.github.com/repos/fedora-infra/bodhi/pulls/2476/comments","review_comment_url":"https://api.github.com/repos/fedora-infra/bodhi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/2476/comments","statuses_url":"https://api.github.com/repos/fedora-infra/bodhi/statuses/c9b22c1584e65b7f116c57a48ab7995ead0db22d","head":{"label":"vismay-golwala:critpath_integration","ref":"critpath_integration","sha":"c9b22c1584e65b7f116c57a48ab7995ead0db22d","user":{"login":"vismay-golwala","id":15652962,"node_id":"MDQ6VXNlcjE1NjUyOTYy","avatar_url":"https://avatars2.githubusercontent.com/u/15652962?v=4","gravatar_id":"","url":"https://api.github.com/users/vismay-golwala","html_url":"https://github.com/vismay-golwala","followers_url":"https://api.github.com/users/vismay-golwala/followers","following_url":"https://api.github.com/users/vismay-golwala/following{/other_user}","gists_url":"https://api.github.com/users/vismay-golwala/gists{/gist_id}","starred_url":"https://api.github.com/users/vismay-golwala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vismay-golwala/subscriptions","organizations_url":"https://api.github.com/users/vismay-golwala/orgs","repos_url":"https://api.github.com/users/vismay-golwala/repos","events_url":"https://api.github.com/users/vismay-golwala/events{/privacy}","received_events_url":"https://api.github.com/users/vismay-golwala/received_events","type":"User","site_admin":false},"repo":{"id":135496339,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0OTYzMzk=","name":"bodhi","full_name":"vismay-golwala/bodhi","owner":{"login":"vismay-golwala","id":15652962,"node_id":"MDQ6VXNlcjE1NjUyOTYy","avatar_url":"https://avatars2.githubusercontent.com/u/15652962?v=4","gravatar_id":"","url":"https://api.github.com/users/vismay-golwala","html_url":"https://github.com/vismay-golwala","followers_url":"https://api.github.com/users/vismay-golwala/followers","following_url":"https://api.github.com/users/vismay-golwala/following{/other_user}","gists_url":"https://api.github.com/users/vismay-golwala/gists{/gist_id}","starred_url":"https://api.github.com/users/vismay-golwala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vismay-golwala/subscriptions","organizations_url":"https://api.github.com/users/vismay-golwala/orgs","repos_url":"https://api.github.com/users/vismay-golwala/repos","events_url":"https://api.github.com/users/vismay-golwala/events{/privacy}","received_events_url":"https://api.github.com/users/vismay-golwala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vismay-golwala/bodhi","description":"Bodhi is a web-system that facilitates the process of publishing updates for a Fedora-based software distribution.","fork":true,"url":"https://api.github.com/repos/vismay-golwala/bodhi","forks_url":"https://api.github.com/repos/vismay-golwala/bodhi/forks","keys_url":"https://api.github.com/repos/vismay-golwala/bodhi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vismay-golwala/bodhi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vismay-golwala/bodhi/teams","hooks_url":"https://api.github.com/repos/vismay-golwala/bodhi/hooks","issue_events_url":"https://api.github.com/repos/vismay-golwala/bodhi/issues/events{/number}","events_url":"https://api.github.com/repos/vismay-golwala/bodhi/events","assignees_url":"https://api.github.com/repos/vismay-golwala/bodhi/assignees{/user}","branches_url":"https://api.github.com/repos/vismay-golwala/bodhi/branches{/branch}","tags_url":"https://api.github.com/repos/vismay-golwala/bodhi/tags","blobs_url":"https://api.github.com/repos/vismay-golwala/bodhi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vismay-golwala/bodhi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vismay-golwala/bodhi/git/refs{/sha}","trees_url":"https://api.github.com/repos/vismay-golwala/bodhi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vismay-golwala/bodhi/statuses/{sha}","languages_url":"https://api.github.com/repos/vismay-golwala/bodhi/languages","stargazers_url":"https://api.github.com/repos/vismay-golwala/bodhi/stargazers","contributors_url":"https://api.github.com/repos/vismay-golwala/bodhi/contributors","subscribers_url":"https://api.github.com/repos/vismay-golwala/bodhi/subscribers","subscription_url":"https://api.github.com/repos/vismay-golwala/bodhi/subscription","commits_url":"https://api.github.com/repos/vismay-golwala/bodhi/commits{/sha}","git_commits_url":"https://api.github.com/repos/vismay-golwala/bodhi/git/commits{/sha}","comments_url":"https://api.github.com/repos/vismay-golwala/bodhi/comments{/number}","issue_comment_url":"https://api.github.com/repos/vismay-golwala/bodhi/issues/comments{/number}","contents_url":"https://api.github.com/repos/vismay-golwala/bodhi/contents/{+path}","compare_url":"https://api.github.com/repos/vismay-golwala/bodhi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vismay-golwala/bodhi/merges","archive_url":"https://api.github.com/repos/vismay-golwala/bodhi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vismay-golwala/bodhi/downloads","issues_url":"https://api.github.com/repos/vismay-golwala/bodhi/issues{/number}","pulls_url":"https://api.github.com/repos/vismay-golwala/bodhi/pulls{/number}","milestones_url":"https://api.github.com/repos/vismay-golwala/bodhi/milestones{/number}","notifications_url":"https://api.github.com/repos/vismay-golwala/bodhi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vismay-golwala/bodhi/labels{/name}","releases_url":"https://api.github.com/repos/vismay-golwala/bodhi/releases{/id}","deployments_url":"https://api.github.com/repos/vismay-golwala/bodhi/deployments","created_at":"2018-05-30T20:51:34Z","updated_at":"2018-06-06T15:36:41Z","pushed_at":"2018-08-14T22:36:37Z","git_url":"git://github.com/vismay-golwala/bodhi.git","ssh_url":"git@github.com:vismay-golwala/bodhi.git","clone_url":"https://github.com/vismay-golwala/bodhi.git","svn_url":"https://github.com/vismay-golwala/bodhi","homepage":"https://bodhi.fedoraproject.org","size":41877,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"fedora-infra:develop","ref":"develop","sha":"baa24ee4e10c0d6ef11259b99746a1b799c9bc3e","user":{"login":"fedora-infra","id":3316637,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMTY2Mzc=","avatar_url":"https://avatars1.githubusercontent.com/u/3316637?v=4","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"repo":{"id":123299,"node_id":"MDEwOlJlcG9zaXRvcnkxMjMyOTk=","name":"bodhi","full_name":"fedora-infra/bodhi","owner":{"login":"fedora-infra","id":3316637,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMTY2Mzc=","avatar_url":"https://avatars1.githubusercontent.com/u/3316637?v=4","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fedora-infra/bodhi","description":"Bodhi is a web-system that facilitates the process of publishing updates for a Fedora-based software distribution.","fork":false,"url":"https://api.github.com/repos/fedora-infra/bodhi","forks_url":"https://api.github.com/repos/fedora-infra/bodhi/forks","keys_url":"https://api.github.com/repos/fedora-infra/bodhi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fedora-infra/bodhi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fedora-infra/bodhi/teams","hooks_url":"https://api.github.com/repos/fedora-infra/bodhi/hooks","issue_events_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/events{/number}","events_url":"https://api.github.com/repos/fedora-infra/bodhi/events","assignees_url":"https://api.github.com/repos/fedora-infra/bodhi/assignees{/user}","branches_url":"https://api.github.com/repos/fedora-infra/bodhi/branches{/branch}","tags_url":"https://api.github.com/repos/fedora-infra/bodhi/tags","blobs_url":"https://api.github.com/repos/fedora-infra/bodhi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fedora-infra/bodhi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fedora-infra/bodhi/git/refs{/sha}","trees_url":"https://api.github.com/repos/fedora-infra/bodhi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fedora-infra/bodhi/statuses/{sha}","languages_url":"https://api.github.com/repos/fedora-infra/bodhi/languages","stargazers_url":"https://api.github.com/repos/fedora-infra/bodhi/stargazers","contributors_url":"https://api.github.com/repos/fedora-infra/bodhi/contributors","subscribers_url":"https://api.github.com/repos/fedora-infra/bodhi/subscribers","subscription_url":"https://api.github.com/repos/fedora-infra/bodhi/subscription","commits_url":"https://api.github.com/repos/fedora-infra/bodhi/commits{/sha}","git_commits_url":"https://api.github.com/repos/fedora-infra/bodhi/git/commits{/sha}","comments_url":"https://api.github.com/repos/fedora-infra/bodhi/comments{/number}","issue_comment_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/comments{/number}","contents_url":"https://api.github.com/repos/fedora-infra/bodhi/contents/{+path}","compare_url":"https://api.github.com/repos/fedora-infra/bodhi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fedora-infra/bodhi/merges","archive_url":"https://api.github.com/repos/fedora-infra/bodhi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fedora-infra/bodhi/downloads","issues_url":"https://api.github.com/repos/fedora-infra/bodhi/issues{/number}","pulls_url":"https://api.github.com/repos/fedora-infra/bodhi/pulls{/number}","milestones_url":"https://api.github.com/repos/fedora-infra/bodhi/milestones{/number}","notifications_url":"https://api.github.com/repos/fedora-infra/bodhi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fedora-infra/bodhi/labels{/name}","releases_url":"https://api.github.com/repos/fedora-infra/bodhi/releases{/id}","deployments_url":"https://api.github.com/repos/fedora-infra/bodhi/deployments","created_at":"2009-02-06T19:38:10Z","updated_at":"2018-08-15T16:37:40Z","pushed_at":"2018-08-15T16:37:34Z","git_url":"git://github.com/fedora-infra/bodhi.git","ssh_url":"git@github.com:fedora-infra/bodhi.git","clone_url":"https://github.com/fedora-infra/bodhi.git","svn_url":"https://github.com/fedora-infra/bodhi","homepage":"https://bodhi.fedoraproject.org","size":41931,"stargazers_count":79,"watchers_count":79,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":127,"mirror_url":null,"archived":false,"open_issues_count":327,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":127,"open_issues":327,"watchers":79,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/fedora-infra/bodhi/pulls/2476"},"html":{"href":"https://github.com/fedora-infra/bodhi/pull/2476"},"issue":{"href":"https://api.github.com/repos/fedora-infra/bodhi/issues/2476"},"comments":{"href":"https://api.github.com/repos/fedora-infra/bodhi/issues/2476/comments"},"review_comments":{"href":"https://api.github.com/repos/fedora-infra/bodhi/pulls/2476/comments"},"review_comment":{"href":"https://api.github.com/repos/fedora-infra/bodhi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fedora-infra/bodhi/pulls/2476/commits"},"statuses":{"href":"https://api.github.com/repos/fedora-infra/bodhi/statuses/c9b22c1584e65b7f116c57a48ab7995ead0db22d"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"bowlofeggs"}}