{"action":"opened","number":549,"pull_request":{"url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/pulls/549","id":276652184,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc2NjUyMTg0","html_url":"https://github.com/MozillaSecurity/FuzzManager/pull/549","diff_url":"https://github.com/MozillaSecurity/FuzzManager/pull/549.diff","patch_url":"https://github.com/MozillaSecurity/FuzzManager/pull/549.patch","issue_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/issues/549","number":549,"state":"open","locked":false,"title":"Internal task for creating weekly coverage reports automatically.","user":{"login":"choller","id":1140686,"node_id":"MDQ6VXNlcjExNDA2ODY=","avatar_url":"https://avatars2.githubusercontent.com/u/1140686?v=4","gravatar_id":"","url":"https://api.github.com/users/choller","html_url":"https://github.com/choller","followers_url":"https://api.github.com/users/choller/followers","following_url":"https://api.github.com/users/choller/following{/other_user}","gists_url":"https://api.github.com/users/choller/gists{/gist_id}","starred_url":"https://api.github.com/users/choller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choller/subscriptions","organizations_url":"https://api.github.com/users/choller/orgs","repos_url":"https://api.github.com/users/choller/repos","events_url":"https://api.github.com/users/choller/events{/privacy}","received_events_url":"https://api.github.com/users/choller/received_events","type":"User","site_admin":false},"body":"This is the initial draft for #548. I did not add any `server.py` configuration because it is unlikely that a user would want to enable this as-is. Nevertheless, it is easiest for us to have this code in the main repo (and it may serve as a template for others that want to do something similar).\r\n\r\nI've factored out `create_weekly_report_mc` because I'd like to be able to call it for past reports as well, independent of the current week (and in rare occasions we might want to do this again, e.g. when reports arrived later than anticipated, runs had to be repeated etc.).\r\n\r\nThis code currently cannot detect if runs are missing because there is no list of expected runs available. It also does not check for \"broken\" runs (whatever the definition of broken might be here). So this code is overall not too resistant to missing/invalid weekly reports but I don't see an easily solution for this in the near future.","created_at":"2019-05-07T15:33:25Z","updated_at":"2019-05-07T15:33:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"choller","id":1140686,"node_id":"MDQ6VXNlcjExNDA2ODY=","avatar_url":"https://avatars2.githubusercontent.com/u/1140686?v=4","gravatar_id":"","url":"https://api.github.com/users/choller","html_url":"https://github.com/choller","followers_url":"https://api.github.com/users/choller/followers","following_url":"https://api.github.com/users/choller/following{/other_user}","gists_url":"https://api.github.com/users/choller/gists{/gist_id}","starred_url":"https://api.github.com/users/choller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choller/subscriptions","organizations_url":"https://api.github.com/users/choller/orgs","repos_url":"https://api.github.com/users/choller/repos","events_url":"https://api.github.com/users/choller/events{/privacy}","received_events_url":"https://api.github.com/users/choller/received_events","type":"User","site_admin":false},"assignees":[{"login":"choller","id":1140686,"node_id":"MDQ6VXNlcjExNDA2ODY=","avatar_url":"https://avatars2.githubusercontent.com/u/1140686?v=4","gravatar_id":"","url":"https://api.github.com/users/choller","html_url":"https://github.com/choller","followers_url":"https://api.github.com/users/choller/followers","following_url":"https://api.github.com/users/choller/following{/other_user}","gists_url":"https://api.github.com/users/choller/gists{/gist_id}","starred_url":"https://api.github.com/users/choller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choller/subscriptions","organizations_url":"https://api.github.com/users/choller/orgs","repos_url":"https://api.github.com/users/choller/repos","events_url":"https://api.github.com/users/choller/events{/privacy}","received_events_url":"https://api.github.com/users/choller/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"jschwartzentruber","id":4673461,"node_id":"MDQ6VXNlcjQ2NzM0NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/4673461?v=4","gravatar_id":"","url":"https://api.github.com/users/jschwartzentruber","html_url":"https://github.com/jschwartzentruber","followers_url":"https://api.github.com/users/jschwartzentruber/followers","following_url":"https://api.github.com/users/jschwartzentruber/following{/other_user}","gists_url":"https://api.github.com/users/jschwartzentruber/gists{/gist_id}","starred_url":"https://api.github.com/users/jschwartzentruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jschwartzentruber/subscriptions","organizations_url":"https://api.github.com/users/jschwartzentruber/orgs","repos_url":"https://api.github.com/users/jschwartzentruber/repos","events_url":"https://api.github.com/users/jschwartzentruber/events{/privacy}","received_events_url":"https://api.github.com/users/jschwartzentruber/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":134140971,"node_id":"MDU6TGFiZWwxMzQxNDA5NzE=","url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/pulls/549/commits","review_comments_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/pulls/549/comments","review_comment_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/issues/549/comments","statuses_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/statuses/e7199e678ad32490f717d9d33dd1e4cd684002b2","head":{"label":"MozillaSecurity:cov-weekly-report-cron","ref":"cov-weekly-report-cron","sha":"e7199e678ad32490f717d9d33dd1e4cd684002b2","user":{"login":"MozillaSecurity","id":7916837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MTY4Mzc=","avatar_url":"https://avatars3.githubusercontent.com/u/7916837?v=4","gravatar_id":"","url":"https://api.github.com/users/MozillaSecurity","html_url":"https://github.com/MozillaSecurity","followers_url":"https://api.github.com/users/MozillaSecurity/followers","following_url":"https://api.github.com/users/MozillaSecurity/following{/other_user}","gists_url":"https://api.github.com/users/MozillaSecurity/gists{/gist_id}","starred_url":"https://api.github.com/users/MozillaSecurity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MozillaSecurity/subscriptions","organizations_url":"https://api.github.com/users/MozillaSecurity/orgs","repos_url":"https://api.github.com/users/MozillaSecurity/repos","events_url":"https://api.github.com/users/MozillaSecurity/events{/privacy}","received_events_url":"https://api.github.com/users/MozillaSecurity/received_events","type":"Organization","site_admin":false},"repo":{"id":24696800,"node_id":"MDEwOlJlcG9zaXRvcnkyNDY5NjgwMA==","name":"FuzzManager","full_name":"MozillaSecurity/FuzzManager","private":false,"owner":{"login":"MozillaSecurity","id":7916837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MTY4Mzc=","avatar_url":"https://avatars3.githubusercontent.com/u/7916837?v=4","gravatar_id":"","url":"https://api.github.com/users/MozillaSecurity","html_url":"https://github.com/MozillaSecurity","followers_url":"https://api.github.com/users/MozillaSecurity/followers","following_url":"https://api.github.com/users/MozillaSecurity/following{/other_user}","gists_url":"https://api.github.com/users/MozillaSecurity/gists{/gist_id}","starred_url":"https://api.github.com/users/MozillaSecurity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MozillaSecurity/subscriptions","organizations_url":"https://api.github.com/users/MozillaSecurity/orgs","repos_url":"https://api.github.com/users/MozillaSecurity/repos","events_url":"https://api.github.com/users/MozillaSecurity/events{/privacy}","received_events_url":"https://api.github.com/users/MozillaSecurity/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MozillaSecurity/FuzzManager","description":"A fuzzing management tools collection","fork":false,"url":"https://api.github.com/repos/MozillaSecurity/FuzzManager","forks_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/forks","keys_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/teams","hooks_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/hooks","issue_events_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/issues/events{/number}","events_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/events","assignees_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/assignees{/user}","branches_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/branches{/branch}","tags_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/tags","blobs_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/git/refs{/sha}","trees_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/statuses/{sha}","languages_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/languages","stargazers_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/stargazers","contributors_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/contributors","subscribers_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/subscribers","subscription_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/subscription","commits_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/commits{/sha}","git_commits_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/git/commits{/sha}","comments_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/comments{/number}","issue_comment_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/issues/comments{/number}","contents_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/contents/{+path}","compare_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/merges","archive_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/downloads","issues_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/issues{/number}","pulls_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/pulls{/number}","milestones_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/milestones{/number}","notifications_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/labels{/name}","releases_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/releases{/id}","deployments_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/deployments","created_at":"2014-10-01T21:52:13Z","updated_at":"2019-05-07T10:33:14Z","pushed_at":"2019-05-07T15:20:58Z","git_url":"git://github.com/MozillaSecurity/FuzzManager.git","ssh_url":"git@github.com:MozillaSecurity/FuzzManager.git","clone_url":"https://github.com/MozillaSecurity/FuzzManager.git","svn_url":"https://github.com/MozillaSecurity/FuzzManager","homepage":null,"size":4785,"stargazers_count":100,"watchers_count":100,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":71,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":42,"open_issues":71,"watchers":100,"default_branch":"master"}},"base":{"label":"MozillaSecurity:master","ref":"master","sha":"a20fbc84857dfd39be5df4d4a62e5ab6052df983","user":{"login":"MozillaSecurity","id":7916837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MTY4Mzc=","avatar_url":"https://avatars3.githubusercontent.com/u/7916837?v=4","gravatar_id":"","url":"https://api.github.com/users/MozillaSecurity","html_url":"https://github.com/MozillaSecurity","followers_url":"https://api.github.com/users/MozillaSecurity/followers","following_url":"https://api.github.com/users/MozillaSecurity/following{/other_user}","gists_url":"https://api.github.com/users/MozillaSecurity/gists{/gist_id}","starred_url":"https://api.github.com/users/MozillaSecurity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MozillaSecurity/subscriptions","organizations_url":"https://api.github.com/users/MozillaSecurity/orgs","repos_url":"https://api.github.com/users/MozillaSecurity/repos","events_url":"https://api.github.com/users/MozillaSecurity/events{/privacy}","received_events_url":"https://api.github.com/users/MozillaSecurity/received_events","type":"Organization","site_admin":false},"repo":{"id":24696800,"node_id":"MDEwOlJlcG9zaXRvcnkyNDY5NjgwMA==","name":"FuzzManager","full_name":"MozillaSecurity/FuzzManager","private":false,"owner":{"login":"MozillaSecurity","id":7916837,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MTY4Mzc=","avatar_url":"https://avatars3.githubusercontent.com/u/7916837?v=4","gravatar_id":"","url":"https://api.github.com/users/MozillaSecurity","html_url":"https://github.com/MozillaSecurity","followers_url":"https://api.github.com/users/MozillaSecurity/followers","following_url":"https://api.github.com/users/MozillaSecurity/following{/other_user}","gists_url":"https://api.github.com/users/MozillaSecurity/gists{/gist_id}","starred_url":"https://api.github.com/users/MozillaSecurity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MozillaSecurity/subscriptions","organizations_url":"https://api.github.com/users/MozillaSecurity/orgs","repos_url":"https://api.github.com/users/MozillaSecurity/repos","events_url":"https://api.github.com/users/MozillaSecurity/events{/privacy}","received_events_url":"https://api.github.com/users/MozillaSecurity/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MozillaSecurity/FuzzManager","description":"A fuzzing management tools collection","fork":false,"url":"https://api.github.com/repos/MozillaSecurity/FuzzManager","forks_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/forks","keys_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/teams","hooks_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/hooks","issue_events_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/issues/events{/number}","events_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/events","assignees_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/assignees{/user}","branches_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/branches{/branch}","tags_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/tags","blobs_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/git/refs{/sha}","trees_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/statuses/{sha}","languages_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/languages","stargazers_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/stargazers","contributors_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/contributors","subscribers_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/subscribers","subscription_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/subscription","commits_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/commits{/sha}","git_commits_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/git/commits{/sha}","comments_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/comments{/number}","issue_comment_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/issues/comments{/number}","contents_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/contents/{+path}","compare_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/merges","archive_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/downloads","issues_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/issues{/number}","pulls_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/pulls{/number}","milestones_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/milestones{/number}","notifications_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/labels{/name}","releases_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/releases{/id}","deployments_url":"https://api.github.com/repos/MozillaSecurity/FuzzManager/deployments","created_at":"2014-10-01T21:52:13Z","updated_at":"2019-05-07T10:33:14Z","pushed_at":"2019-05-07T15:20:58Z","git_url":"git://github.com/MozillaSecurity/FuzzManager.git","ssh_url":"git@github.com:MozillaSecurity/FuzzManager.git","clone_url":"https://github.com/MozillaSecurity/FuzzManager.git","svn_url":"https://github.com/MozillaSecurity/FuzzManager","homepage":null,"size":4785,"stargazers_count":100,"watchers_count":100,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":71,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":42,"open_issues":71,"watchers":100,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MozillaSecurity/FuzzManager/pulls/549"},"html":{"href":"https://github.com/MozillaSecurity/FuzzManager/pull/549"},"issue":{"href":"https://api.github.com/repos/MozillaSecurity/FuzzManager/issues/549"},"comments":{"href":"https://api.github.com/repos/MozillaSecurity/FuzzManager/issues/549/comments"},"review_comments":{"href":"https://api.github.com/repos/MozillaSecurity/FuzzManager/pulls/549/comments"},"review_comment":{"href":"https://api.github.com/repos/MozillaSecurity/FuzzManager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MozillaSecurity/FuzzManager/pulls/549/commits"},"statuses":{"href":"https://api.github.com/repos/MozillaSecurity/FuzzManager/statuses/e7199e678ad32490f717d9d33dd1e4cd684002b2"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":77,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"choller"}}