{"action":"created","comment":{"url":"https://api.github.com/repos/cmorikuni/TimeReport/pulls/comments/85814755","pull_request_review_id":6507806,"id":85814755,"diff_hunk":"@@ -200,8 +206,13 @@ def outputToExcel(ws, dayOfWeek, fteTime, contTime, ignoreList):\n \tparser = argparse.ArgumentParser(description=\"Calculate time reports.\")\n \tparser.add_argument(\"--date\", help=\"mm.dd.yyyy of date to gather\")\n \tparser.add_argument(\"--ignore\", help=\"comma seperated list of people to ignore\")\n+\tparser.add_argument(\"--interns\", help=\"Use JSON format as arguments for the intern's schedule. Example: {\\\"Aljon Preza\\\": [0,1,2]}\")","path":"TimeReport.py","position":17,"original_position":17,"commit_id":"8b5a86f3b438d8bc78dac2dd6e535d688722b003","original_commit_id":"8b5a86f3b438d8bc78dac2dd6e535d688722b003","user":{"login":"aharuki","id":14080557,"avatar_url":"https://avatars.githubusercontent.com/u/14080557?v=3","gravatar_id":"","url":"https://api.github.com/users/aharuki","html_url":"https://github.com/aharuki","followers_url":"https://api.github.com/users/aharuki/followers","following_url":"https://api.github.com/users/aharuki/following{/other_user}","gists_url":"https://api.github.com/users/aharuki/gists{/gist_id}","starred_url":"https://api.github.com/users/aharuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aharuki/subscriptions","organizations_url":"https://api.github.com/users/aharuki/orgs","repos_url":"https://api.github.com/users/aharuki/repos","events_url":"https://api.github.com/users/aharuki/events{/privacy}","received_events_url":"https://api.github.com/users/aharuki/received_events","type":"User","site_admin":false},"body":"Please look into using enums to allow the JSON to be formatted as 'M', 'T', 'W', etc. This helps greatly with readability.","created_at":"2016-10-31T19:30:05Z","updated_at":"2016-10-31T19:31:28Z","html_url":"https://github.com/cmorikuni/TimeReport/pull/3#discussion_r85814755","pull_request_url":"https://api.github.com/repos/cmorikuni/TimeReport/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/cmorikuni/TimeReport/pulls/comments/85814755"},"html":{"href":"https://github.com/cmorikuni/TimeReport/pull/3#discussion_r85814755"},"pull_request":{"href":"https://api.github.com/repos/cmorikuni/TimeReport/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/cmorikuni/TimeReport/pulls/3","id":91518964,"html_url":"https://github.com/cmorikuni/TimeReport/pull/3","diff_url":"https://github.com/cmorikuni/TimeReport/pull/3.diff","patch_url":"https://github.com/cmorikuni/TimeReport/pull/3.patch","issue_url":"https://api.github.com/repos/cmorikuni/TimeReport/issues/3","number":3,"state":"open","locked":false,"title":"--interns argument feature","user":{"login":"terrypalo","id":22992365,"avatar_url":"https://avatars.githubusercontent.com/u/22992365?v=3","gravatar_id":"","url":"https://api.github.com/users/terrypalo","html_url":"https://github.com/terrypalo","followers_url":"https://api.github.com/users/terrypalo/followers","following_url":"https://api.github.com/users/terrypalo/following{/other_user}","gists_url":"https://api.github.com/users/terrypalo/gists{/gist_id}","starred_url":"https://api.github.com/users/terrypalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrypalo/subscriptions","organizations_url":"https://api.github.com/users/terrypalo/orgs","repos_url":"https://api.github.com/users/terrypalo/repos","events_url":"https://api.github.com/users/terrypalo/events{/privacy}","received_events_url":"https://api.github.com/users/terrypalo/received_events","type":"User","site_admin":false},"body":"Aljon and I created the feature to add the \"--interns\" argument followed by a json string describing intern name and days worked. It is then checked in the \n\nThis works by loading the json argument into a dictionary in main and then in the PeopleTime there is a separate check for interns and is marked true when the particular has worked on a particular day.\n\nEx.\npython TimeReport.py --interns \"{\\\"Aljon Preza\\\": [0,1,2,3,4], \\\"Terry Palomares\\\": [0,1,3,4]}\"\nNOTE: You must escape the quotations (\\\")  to avoid reading the arguments incorrectly \n\nThis string denotes:\nAljon Preza works on Monday, Tuesday, Wednesday, Thursday, Friday.\nTerry Palomares works on Monday, Tuesday, Thursday, Friday.\n","created_at":"2016-10-30T11:34:42Z","updated_at":"2016-10-31T19:31:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7957ad3ee8d5113500295f6532f1847821712a9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cmorikuni/TimeReport/pulls/3/commits","review_comments_url":"https://api.github.com/repos/cmorikuni/TimeReport/pulls/3/comments","review_comment_url":"https://api.github.com/repos/cmorikuni/TimeReport/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cmorikuni/TimeReport/issues/3/comments","statuses_url":"https://api.github.com/repos/cmorikuni/TimeReport/statuses/8b5a86f3b438d8bc78dac2dd6e535d688722b003","head":{"label":"RevaComm:intern_test","ref":"intern_test","sha":"8b5a86f3b438d8bc78dac2dd6e535d688722b003","user":{"login":"RevaComm","id":7608215,"avatar_url":"https://avatars.githubusercontent.com/u/7608215?v=3","gravatar_id":"","url":"https://api.github.com/users/RevaComm","html_url":"https://github.com/RevaComm","followers_url":"https://api.github.com/users/RevaComm/followers","following_url":"https://api.github.com/users/RevaComm/following{/other_user}","gists_url":"https://api.github.com/users/RevaComm/gists{/gist_id}","starred_url":"https://api.github.com/users/RevaComm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RevaComm/subscriptions","organizations_url":"https://api.github.com/users/RevaComm/orgs","repos_url":"https://api.github.com/users/RevaComm/repos","events_url":"https://api.github.com/users/RevaComm/events{/privacy}","received_events_url":"https://api.github.com/users/RevaComm/received_events","type":"Organization","site_admin":false},"repo":{"id":69334866,"name":"TimeReport","full_name":"RevaComm/TimeReport","owner":{"login":"RevaComm","id":7608215,"avatar_url":"https://avatars.githubusercontent.com/u/7608215?v=3","gravatar_id":"","url":"https://api.github.com/users/RevaComm","html_url":"https://github.com/RevaComm","followers_url":"https://api.github.com/users/RevaComm/followers","following_url":"https://api.github.com/users/RevaComm/following{/other_user}","gists_url":"https://api.github.com/users/RevaComm/gists{/gist_id}","starred_url":"https://api.github.com/users/RevaComm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RevaComm/subscriptions","organizations_url":"https://api.github.com/users/RevaComm/orgs","repos_url":"https://api.github.com/users/RevaComm/repos","events_url":"https://api.github.com/users/RevaComm/events{/privacy}","received_events_url":"https://api.github.com/users/RevaComm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RevaComm/TimeReport","description":null,"fork":true,"url":"https://api.github.com/repos/RevaComm/TimeReport","forks_url":"https://api.github.com/repos/RevaComm/TimeReport/forks","keys_url":"https://api.github.com/repos/RevaComm/TimeReport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RevaComm/TimeReport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RevaComm/TimeReport/teams","hooks_url":"https://api.github.com/repos/RevaComm/TimeReport/hooks","issue_events_url":"https://api.github.com/repos/RevaComm/TimeReport/issues/events{/number}","events_url":"https://api.github.com/repos/RevaComm/TimeReport/events","assignees_url":"https://api.github.com/repos/RevaComm/TimeReport/assignees{/user}","branches_url":"https://api.github.com/repos/RevaComm/TimeReport/branches{/branch}","tags_url":"https://api.github.com/repos/RevaComm/TimeReport/tags","blobs_url":"https://api.github.com/repos/RevaComm/TimeReport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RevaComm/TimeReport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RevaComm/TimeReport/git/refs{/sha}","trees_url":"https://api.github.com/repos/RevaComm/TimeReport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RevaComm/TimeReport/statuses/{sha}","languages_url":"https://api.github.com/repos/RevaComm/TimeReport/languages","stargazers_url":"https://api.github.com/repos/RevaComm/TimeReport/stargazers","contributors_url":"https://api.github.com/repos/RevaComm/TimeReport/contributors","subscribers_url":"https://api.github.com/repos/RevaComm/TimeReport/subscribers","subscription_url":"https://api.github.com/repos/RevaComm/TimeReport/subscription","commits_url":"https://api.github.com/repos/RevaComm/TimeReport/commits{/sha}","git_commits_url":"https://api.github.com/repos/RevaComm/TimeReport/git/commits{/sha}","comments_url":"https://api.github.com/repos/RevaComm/TimeReport/comments{/number}","issue_comment_url":"https://api.github.com/repos/RevaComm/TimeReport/issues/comments{/number}","contents_url":"https://api.github.com/repos/RevaComm/TimeReport/contents/{+path}","compare_url":"https://api.github.com/repos/RevaComm/TimeReport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RevaComm/TimeReport/merges","archive_url":"https://api.github.com/repos/RevaComm/TimeReport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RevaComm/TimeReport/downloads","issues_url":"https://api.github.com/repos/RevaComm/TimeReport/issues{/number}","pulls_url":"https://api.github.com/repos/RevaComm/TimeReport/pulls{/number}","milestones_url":"https://api.github.com/repos/RevaComm/TimeReport/milestones{/number}","notifications_url":"https://api.github.com/repos/RevaComm/TimeReport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RevaComm/TimeReport/labels{/name}","releases_url":"https://api.github.com/repos/RevaComm/TimeReport/releases{/id}","deployments_url":"https://api.github.com/repos/RevaComm/TimeReport/deployments","created_at":"2016-09-27T08:20:28Z","updated_at":"2016-09-27T08:20:29Z","pushed_at":"2016-10-31T18:30:37Z","git_url":"git://github.com/RevaComm/TimeReport.git","ssh_url":"git@github.com:RevaComm/TimeReport.git","clone_url":"https://github.com/RevaComm/TimeReport.git","svn_url":"https://github.com/RevaComm/TimeReport","homepage":null,"size":185,"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":"cmorikuni:master","ref":"master","sha":"19837d289acc7a3cdc7fbb61be18a5fdededfcac","user":{"login":"cmorikuni","id":8099606,"avatar_url":"https://avatars.githubusercontent.com/u/8099606?v=3","gravatar_id":"","url":"https://api.github.com/users/cmorikuni","html_url":"https://github.com/cmorikuni","followers_url":"https://api.github.com/users/cmorikuni/followers","following_url":"https://api.github.com/users/cmorikuni/following{/other_user}","gists_url":"https://api.github.com/users/cmorikuni/gists{/gist_id}","starred_url":"https://api.github.com/users/cmorikuni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmorikuni/subscriptions","organizations_url":"https://api.github.com/users/cmorikuni/orgs","repos_url":"https://api.github.com/users/cmorikuni/repos","events_url":"https://api.github.com/users/cmorikuni/events{/privacy}","received_events_url":"https://api.github.com/users/cmorikuni/received_events","type":"User","site_admin":false},"repo":{"id":69280834,"name":"TimeReport","full_name":"cmorikuni/TimeReport","owner":{"login":"cmorikuni","id":8099606,"avatar_url":"https://avatars.githubusercontent.com/u/8099606?v=3","gravatar_id":"","url":"https://api.github.com/users/cmorikuni","html_url":"https://github.com/cmorikuni","followers_url":"https://api.github.com/users/cmorikuni/followers","following_url":"https://api.github.com/users/cmorikuni/following{/other_user}","gists_url":"https://api.github.com/users/cmorikuni/gists{/gist_id}","starred_url":"https://api.github.com/users/cmorikuni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmorikuni/subscriptions","organizations_url":"https://api.github.com/users/cmorikuni/orgs","repos_url":"https://api.github.com/users/cmorikuni/repos","events_url":"https://api.github.com/users/cmorikuni/events{/privacy}","received_events_url":"https://api.github.com/users/cmorikuni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmorikuni/TimeReport","description":null,"fork":false,"url":"https://api.github.com/repos/cmorikuni/TimeReport","forks_url":"https://api.github.com/repos/cmorikuni/TimeReport/forks","keys_url":"https://api.github.com/repos/cmorikuni/TimeReport/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmorikuni/TimeReport/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmorikuni/TimeReport/teams","hooks_url":"https://api.github.com/repos/cmorikuni/TimeReport/hooks","issue_events_url":"https://api.github.com/repos/cmorikuni/TimeReport/issues/events{/number}","events_url":"https://api.github.com/repos/cmorikuni/TimeReport/events","assignees_url":"https://api.github.com/repos/cmorikuni/TimeReport/assignees{/user}","branches_url":"https://api.github.com/repos/cmorikuni/TimeReport/branches{/branch}","tags_url":"https://api.github.com/repos/cmorikuni/TimeReport/tags","blobs_url":"https://api.github.com/repos/cmorikuni/TimeReport/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmorikuni/TimeReport/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmorikuni/TimeReport/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmorikuni/TimeReport/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmorikuni/TimeReport/statuses/{sha}","languages_url":"https://api.github.com/repos/cmorikuni/TimeReport/languages","stargazers_url":"https://api.github.com/repos/cmorikuni/TimeReport/stargazers","contributors_url":"https://api.github.com/repos/cmorikuni/TimeReport/contributors","subscribers_url":"https://api.github.com/repos/cmorikuni/TimeReport/subscribers","subscription_url":"https://api.github.com/repos/cmorikuni/TimeReport/subscription","commits_url":"https://api.github.com/repos/cmorikuni/TimeReport/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmorikuni/TimeReport/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmorikuni/TimeReport/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmorikuni/TimeReport/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmorikuni/TimeReport/contents/{+path}","compare_url":"https://api.github.com/repos/cmorikuni/TimeReport/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmorikuni/TimeReport/merges","archive_url":"https://api.github.com/repos/cmorikuni/TimeReport/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmorikuni/TimeReport/downloads","issues_url":"https://api.github.com/repos/cmorikuni/TimeReport/issues{/number}","pulls_url":"https://api.github.com/repos/cmorikuni/TimeReport/pulls{/number}","milestones_url":"https://api.github.com/repos/cmorikuni/TimeReport/milestones{/number}","notifications_url":"https://api.github.com/repos/cmorikuni/TimeReport/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmorikuni/TimeReport/labels{/name}","releases_url":"https://api.github.com/repos/cmorikuni/TimeReport/releases{/id}","deployments_url":"https://api.github.com/repos/cmorikuni/TimeReport/deployments","created_at":"2016-09-26T18:38:12Z","updated_at":"2016-09-26T18:39:55Z","pushed_at":"2016-10-30T11:34:42Z","git_url":"git://github.com/cmorikuni/TimeReport.git","ssh_url":"git@github.com:cmorikuni/TimeReport.git","clone_url":"https://github.com/cmorikuni/TimeReport.git","svn_url":"https://github.com/cmorikuni/TimeReport","homepage":null,"size":104,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cmorikuni/TimeReport/pulls/3"},"html":{"href":"https://github.com/cmorikuni/TimeReport/pull/3"},"issue":{"href":"https://api.github.com/repos/cmorikuni/TimeReport/issues/3"},"comments":{"href":"https://api.github.com/repos/cmorikuni/TimeReport/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/cmorikuni/TimeReport/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/cmorikuni/TimeReport/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cmorikuni/TimeReport/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/cmorikuni/TimeReport/statuses/8b5a86f3b438d8bc78dac2dd6e535d688722b003"}}}}
{"actor":{"display_login":"aharuki"}}