{"action":"created","comment":{"url":"https://api.github.com/repos/edx/ecommerce-scripts/pulls/comments/100384767","pull_request_review_id":21091209,"id":100384767,"diff_hunk":"@@ -0,0 +1,114 @@\n+import argparse\n+import datetime\n+from dateutil.parser import parse\n+import json\n+import logging\n+import os\n+\n+import logging\n+\n+from edx_rest_api_client.client import EdxRestApiClient\n+\n+\n+logger = logging.getLogger()\n+\n+\n+class CatalogApiService(object):","path":"course_discovery/populate_course_run_reporting_type_and_announcement.py","position":16,"original_position":16,"commit_id":"6ca12f2a6ca4266d057f45db67cbbde4e4ab36f7","original_commit_id":"6ca12f2a6ca4266d057f45db67cbbde4e4ab36f7","user":{"login":"clintonb","id":910510,"avatar_url":"https://avatars.githubusercontent.com/u/910510?v=3","gravatar_id":"","url":"https://api.github.com/users/clintonb","html_url":"https://github.com/clintonb","followers_url":"https://api.github.com/users/clintonb/followers","following_url":"https://api.github.com/users/clintonb/following{/other_user}","gists_url":"https://api.github.com/users/clintonb/gists{/gist_id}","starred_url":"https://api.github.com/users/clintonb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintonb/subscriptions","organizations_url":"https://api.github.com/users/clintonb/orgs","repos_url":"https://api.github.com/users/clintonb/repos","events_url":"https://api.github.com/users/clintonb/events{/privacy}","received_events_url":"https://api.github.com/users/clintonb/received_events","type":"User","site_admin":false},"body":"Move this to its own module, `services.py`.","created_at":"2017-02-09T19:04:20Z","updated_at":"2017-02-09T19:22:20Z","html_url":"https://github.com/edx/ecommerce-scripts/pull/46#discussion_r100384767","pull_request_url":"https://api.github.com/repos/edx/ecommerce-scripts/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/edx/ecommerce-scripts/pulls/comments/100384767"},"html":{"href":"https://github.com/edx/ecommerce-scripts/pull/46#discussion_r100384767"},"pull_request":{"href":"https://api.github.com/repos/edx/ecommerce-scripts/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/edx/ecommerce-scripts/pulls/46","id":105322342,"html_url":"https://github.com/edx/ecommerce-scripts/pull/46","diff_url":"https://github.com/edx/ecommerce-scripts/pull/46.diff","patch_url":"https://github.com/edx/ecommerce-scripts/pull/46.patch","issue_url":"https://api.github.com/repos/edx/ecommerce-scripts/issues/46","number":46,"state":"open","locked":false,"title":"ECOM-6899 Populate reporting_type and announcement fields on course runs","user":{"login":"MatthewPiatetsky","id":5958221,"avatar_url":"https://avatars.githubusercontent.com/u/5958221?v=3","gravatar_id":"","url":"https://api.github.com/users/MatthewPiatetsky","html_url":"https://github.com/MatthewPiatetsky","followers_url":"https://api.github.com/users/MatthewPiatetsky/followers","following_url":"https://api.github.com/users/MatthewPiatetsky/following{/other_user}","gists_url":"https://api.github.com/users/MatthewPiatetsky/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewPiatetsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewPiatetsky/subscriptions","organizations_url":"https://api.github.com/users/MatthewPiatetsky/orgs","repos_url":"https://api.github.com/users/MatthewPiatetsky/repos","events_url":"https://api.github.com/users/MatthewPiatetsky/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewPiatetsky/received_events","type":"User","site_admin":false},"body":"@edx/ecommerce ","created_at":"2017-02-08T22:43:37Z","updated_at":"2017-02-09T19:22:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01be605b408c5111093cb1c51c522f6cb1ef2b8b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/edx/ecommerce-scripts/pulls/46/commits","review_comments_url":"https://api.github.com/repos/edx/ecommerce-scripts/pulls/46/comments","review_comment_url":"https://api.github.com/repos/edx/ecommerce-scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/ecommerce-scripts/issues/46/comments","statuses_url":"https://api.github.com/repos/edx/ecommerce-scripts/statuses/6ca12f2a6ca4266d057f45db67cbbde4e4ab36f7","head":{"label":"edx:ECOM-6899","ref":"ECOM-6899","sha":"6ca12f2a6ca4266d057f45db67cbbde4e4ab36f7","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":38325946,"name":"ecommerce-scripts","full_name":"edx/ecommerce-scripts","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/ecommerce-scripts","description":null,"fork":false,"url":"https://api.github.com/repos/edx/ecommerce-scripts","forks_url":"https://api.github.com/repos/edx/ecommerce-scripts/forks","keys_url":"https://api.github.com/repos/edx/ecommerce-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/ecommerce-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/ecommerce-scripts/teams","hooks_url":"https://api.github.com/repos/edx/ecommerce-scripts/hooks","issue_events_url":"https://api.github.com/repos/edx/ecommerce-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/edx/ecommerce-scripts/events","assignees_url":"https://api.github.com/repos/edx/ecommerce-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/edx/ecommerce-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/edx/ecommerce-scripts/tags","blobs_url":"https://api.github.com/repos/edx/ecommerce-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/ecommerce-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/ecommerce-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/ecommerce-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/ecommerce-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/ecommerce-scripts/languages","stargazers_url":"https://api.github.com/repos/edx/ecommerce-scripts/stargazers","contributors_url":"https://api.github.com/repos/edx/ecommerce-scripts/contributors","subscribers_url":"https://api.github.com/repos/edx/ecommerce-scripts/subscribers","subscription_url":"https://api.github.com/repos/edx/ecommerce-scripts/subscription","commits_url":"https://api.github.com/repos/edx/ecommerce-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/ecommerce-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/ecommerce-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/ecommerce-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/ecommerce-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/edx/ecommerce-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/ecommerce-scripts/merges","archive_url":"https://api.github.com/repos/edx/ecommerce-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/ecommerce-scripts/downloads","issues_url":"https://api.github.com/repos/edx/ecommerce-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/edx/ecommerce-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/ecommerce-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/ecommerce-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/ecommerce-scripts/labels{/name}","releases_url":"https://api.github.com/repos/edx/ecommerce-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/edx/ecommerce-scripts/deployments","created_at":"2015-06-30T18:27:03Z","updated_at":"2017-02-01T17:43:14Z","pushed_at":"2017-02-09T18:59:36Z","git_url":"git://github.com/edx/ecommerce-scripts.git","ssh_url":"git@github.com:edx/ecommerce-scripts.git","clone_url":"https://github.com/edx/ecommerce-scripts.git","svn_url":"https://github.com/edx/ecommerce-scripts","homepage":null,"size":174,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"f4692998b037cf937452d7163c77bb1110195931","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":38325946,"name":"ecommerce-scripts","full_name":"edx/ecommerce-scripts","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/ecommerce-scripts","description":null,"fork":false,"url":"https://api.github.com/repos/edx/ecommerce-scripts","forks_url":"https://api.github.com/repos/edx/ecommerce-scripts/forks","keys_url":"https://api.github.com/repos/edx/ecommerce-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/ecommerce-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/ecommerce-scripts/teams","hooks_url":"https://api.github.com/repos/edx/ecommerce-scripts/hooks","issue_events_url":"https://api.github.com/repos/edx/ecommerce-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/edx/ecommerce-scripts/events","assignees_url":"https://api.github.com/repos/edx/ecommerce-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/edx/ecommerce-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/edx/ecommerce-scripts/tags","blobs_url":"https://api.github.com/repos/edx/ecommerce-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/ecommerce-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/ecommerce-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/ecommerce-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/ecommerce-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/ecommerce-scripts/languages","stargazers_url":"https://api.github.com/repos/edx/ecommerce-scripts/stargazers","contributors_url":"https://api.github.com/repos/edx/ecommerce-scripts/contributors","subscribers_url":"https://api.github.com/repos/edx/ecommerce-scripts/subscribers","subscription_url":"https://api.github.com/repos/edx/ecommerce-scripts/subscription","commits_url":"https://api.github.com/repos/edx/ecommerce-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/ecommerce-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/ecommerce-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/ecommerce-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/ecommerce-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/edx/ecommerce-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/ecommerce-scripts/merges","archive_url":"https://api.github.com/repos/edx/ecommerce-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/ecommerce-scripts/downloads","issues_url":"https://api.github.com/repos/edx/ecommerce-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/edx/ecommerce-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/ecommerce-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/ecommerce-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/ecommerce-scripts/labels{/name}","releases_url":"https://api.github.com/repos/edx/ecommerce-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/edx/ecommerce-scripts/deployments","created_at":"2015-06-30T18:27:03Z","updated_at":"2017-02-01T17:43:14Z","pushed_at":"2017-02-09T18:59:36Z","git_url":"git://github.com/edx/ecommerce-scripts.git","ssh_url":"git@github.com:edx/ecommerce-scripts.git","clone_url":"https://github.com/edx/ecommerce-scripts.git","svn_url":"https://github.com/edx/ecommerce-scripts","homepage":null,"size":174,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/ecommerce-scripts/pulls/46"},"html":{"href":"https://github.com/edx/ecommerce-scripts/pull/46"},"issue":{"href":"https://api.github.com/repos/edx/ecommerce-scripts/issues/46"},"comments":{"href":"https://api.github.com/repos/edx/ecommerce-scripts/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/ecommerce-scripts/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/ecommerce-scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/ecommerce-scripts/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/edx/ecommerce-scripts/statuses/6ca12f2a6ca4266d057f45db67cbbde4e4ab36f7"}}}}
{"actor":{"display_login":"clintonb"}}