{"action":"opened","number":38,"pull_request":{"url":"https://api.github.com/repos/mozilla/build-tools/pulls/38","id":217311962,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MzExOTYy","html_url":"https://github.com/mozilla/build-tools/pull/38","diff_url":"https://github.com/mozilla/build-tools/pull/38.diff","patch_url":"https://github.com/mozilla/build-tools/pull/38.patch","issue_url":"https://api.github.com/repos/mozilla/build-tools/issues/38","number":38,"state":"open","locked":false,"title":"Remove dead code from tools repo","user":{"login":"mozbhearsum","id":49649,"node_id":"MDQ6VXNlcjQ5NjQ5","avatar_url":"https://avatars0.githubusercontent.com/u/49649?v=4","gravatar_id":"","url":"https://api.github.com/users/mozbhearsum","html_url":"https://github.com/mozbhearsum","followers_url":"https://api.github.com/users/mozbhearsum/followers","following_url":"https://api.github.com/users/mozbhearsum/following{/other_user}","gists_url":"https://api.github.com/users/mozbhearsum/gists{/gist_id}","starred_url":"https://api.github.com/users/mozbhearsum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozbhearsum/subscriptions","organizations_url":"https://api.github.com/users/mozbhearsum/orgs","repos_url":"https://api.github.com/users/mozbhearsum/repos","events_url":"https://api.github.com/users/mozbhearsum/events{/privacy}","received_events_url":"https://api.github.com/users/mozbhearsum/received_events","type":"User","site_admin":false},"body":"This removes what I think is all the dead code (and no undead code!) from the tools repo. The goal here is to make it easier to see what actually matters, so we know what we need to relocate before getting rid of the repo. Most of what was removed was directly buildbot related (eg: manage-masters.py) or indirectly buildbot related (eg: hgtool.py). The things that remain are:\r\n* Balrog submission library\r\n* Update verify\r\n* Final verify\r\n* Signing server scripts + libs\r\n* MINIDUMP_STACKWALK binaries\r\n* gittool.py\r\n\r\nThis patch _is_ removing some things currently referenced by in-tree code, but I think that code is also dead. Eg: the antivirus mozharness script uses extract_and_run_command.py, but we don't run it anymore. Periodic file updates talk about the tools repo, but don't use it (we imported that code into the tree). Merge day scripts reference tools repo but don't use anything from it in any way that I can find.","created_at":"2018-09-21T14:59:04Z","updated_at":"2018-09-21T14:59:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/build-tools/pulls/38/commits","review_comments_url":"https://api.github.com/repos/mozilla/build-tools/pulls/38/comments","review_comment_url":"https://api.github.com/repos/mozilla/build-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/build-tools/issues/38/comments","statuses_url":"https://api.github.com/repos/mozilla/build-tools/statuses/b5ec682697ac1a7481708febf3754aca825ddb46","head":{"label":"mozbhearsum:dead-code","ref":"dead-code","sha":"b5ec682697ac1a7481708febf3754aca825ddb46","user":{"login":"mozbhearsum","id":49649,"node_id":"MDQ6VXNlcjQ5NjQ5","avatar_url":"https://avatars0.githubusercontent.com/u/49649?v=4","gravatar_id":"","url":"https://api.github.com/users/mozbhearsum","html_url":"https://github.com/mozbhearsum","followers_url":"https://api.github.com/users/mozbhearsum/followers","following_url":"https://api.github.com/users/mozbhearsum/following{/other_user}","gists_url":"https://api.github.com/users/mozbhearsum/gists{/gist_id}","starred_url":"https://api.github.com/users/mozbhearsum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozbhearsum/subscriptions","organizations_url":"https://api.github.com/users/mozbhearsum/orgs","repos_url":"https://api.github.com/users/mozbhearsum/repos","events_url":"https://api.github.com/users/mozbhearsum/events{/privacy}","received_events_url":"https://api.github.com/users/mozbhearsum/received_events","type":"User","site_admin":false},"repo":{"id":108161260,"node_id":"MDEwOlJlcG9zaXRvcnkxMDgxNjEyNjA=","name":"build-tools","full_name":"mozbhearsum/build-tools","private":false,"owner":{"login":"mozbhearsum","id":49649,"node_id":"MDQ6VXNlcjQ5NjQ5","avatar_url":"https://avatars0.githubusercontent.com/u/49649?v=4","gravatar_id":"","url":"https://api.github.com/users/mozbhearsum","html_url":"https://github.com/mozbhearsum","followers_url":"https://api.github.com/users/mozbhearsum/followers","following_url":"https://api.github.com/users/mozbhearsum/following{/other_user}","gists_url":"https://api.github.com/users/mozbhearsum/gists{/gist_id}","starred_url":"https://api.github.com/users/mozbhearsum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozbhearsum/subscriptions","organizations_url":"https://api.github.com/users/mozbhearsum/orgs","repos_url":"https://api.github.com/users/mozbhearsum/repos","events_url":"https://api.github.com/users/mozbhearsum/events{/privacy}","received_events_url":"https://api.github.com/users/mozbhearsum/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mozbhearsum/build-tools","description":null,"fork":true,"url":"https://api.github.com/repos/mozbhearsum/build-tools","forks_url":"https://api.github.com/repos/mozbhearsum/build-tools/forks","keys_url":"https://api.github.com/repos/mozbhearsum/build-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozbhearsum/build-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozbhearsum/build-tools/teams","hooks_url":"https://api.github.com/repos/mozbhearsum/build-tools/hooks","issue_events_url":"https://api.github.com/repos/mozbhearsum/build-tools/issues/events{/number}","events_url":"https://api.github.com/repos/mozbhearsum/build-tools/events","assignees_url":"https://api.github.com/repos/mozbhearsum/build-tools/assignees{/user}","branches_url":"https://api.github.com/repos/mozbhearsum/build-tools/branches{/branch}","tags_url":"https://api.github.com/repos/mozbhearsum/build-tools/tags","blobs_url":"https://api.github.com/repos/mozbhearsum/build-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozbhearsum/build-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozbhearsum/build-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozbhearsum/build-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozbhearsum/build-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/mozbhearsum/build-tools/languages","stargazers_url":"https://api.github.com/repos/mozbhearsum/build-tools/stargazers","contributors_url":"https://api.github.com/repos/mozbhearsum/build-tools/contributors","subscribers_url":"https://api.github.com/repos/mozbhearsum/build-tools/subscribers","subscription_url":"https://api.github.com/repos/mozbhearsum/build-tools/subscription","commits_url":"https://api.github.com/repos/mozbhearsum/build-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozbhearsum/build-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozbhearsum/build-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozbhearsum/build-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozbhearsum/build-tools/contents/{+path}","compare_url":"https://api.github.com/repos/mozbhearsum/build-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozbhearsum/build-tools/merges","archive_url":"https://api.github.com/repos/mozbhearsum/build-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozbhearsum/build-tools/downloads","issues_url":"https://api.github.com/repos/mozbhearsum/build-tools/issues{/number}","pulls_url":"https://api.github.com/repos/mozbhearsum/build-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/mozbhearsum/build-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/mozbhearsum/build-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozbhearsum/build-tools/labels{/name}","releases_url":"https://api.github.com/repos/mozbhearsum/build-tools/releases{/id}","deployments_url":"https://api.github.com/repos/mozbhearsum/build-tools/deployments","created_at":"2017-10-24T17:32:17Z","updated_at":"2017-10-24T17:32:22Z","pushed_at":"2018-09-21T14:26:19Z","git_url":"git://github.com/mozbhearsum/build-tools.git","ssh_url":"git@github.com:mozbhearsum/build-tools.git","clone_url":"https://github.com/mozbhearsum/build-tools.git","svn_url":"https://github.com/mozbhearsum/build-tools","homepage":null,"size":32189,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"3c6934233b01d258c589e7fd1de95b32736709ed","user":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":6298444,"node_id":"MDEwOlJlcG9zaXRvcnk2Mjk4NDQ0","name":"build-tools","full_name":"mozilla/build-tools","private":false,"owner":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mozilla/build-tools","description":null,"fork":false,"url":"https://api.github.com/repos/mozilla/build-tools","forks_url":"https://api.github.com/repos/mozilla/build-tools/forks","keys_url":"https://api.github.com/repos/mozilla/build-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/build-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/build-tools/teams","hooks_url":"https://api.github.com/repos/mozilla/build-tools/hooks","issue_events_url":"https://api.github.com/repos/mozilla/build-tools/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/build-tools/events","assignees_url":"https://api.github.com/repos/mozilla/build-tools/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/build-tools/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/build-tools/tags","blobs_url":"https://api.github.com/repos/mozilla/build-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/build-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/build-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/build-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/build-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/build-tools/languages","stargazers_url":"https://api.github.com/repos/mozilla/build-tools/stargazers","contributors_url":"https://api.github.com/repos/mozilla/build-tools/contributors","subscribers_url":"https://api.github.com/repos/mozilla/build-tools/subscribers","subscription_url":"https://api.github.com/repos/mozilla/build-tools/subscription","commits_url":"https://api.github.com/repos/mozilla/build-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/build-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/build-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/build-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/build-tools/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/build-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/build-tools/merges","archive_url":"https://api.github.com/repos/mozilla/build-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/build-tools/downloads","issues_url":"https://api.github.com/repos/mozilla/build-tools/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/build-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/build-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/build-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/build-tools/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/build-tools/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/build-tools/deployments","created_at":"2012-10-19T17:00:30Z","updated_at":"2018-09-14T12:12:22Z","pushed_at":"2018-09-07T07:03:24Z","git_url":"git://github.com/mozilla/build-tools.git","ssh_url":"git@github.com:mozilla/build-tools.git","clone_url":"https://github.com/mozilla/build-tools.git","svn_url":"https://github.com/mozilla/build-tools","homepage":null,"size":35025,"stargazers_count":38,"watchers_count":38,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":47,"open_issues":1,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/build-tools/pulls/38"},"html":{"href":"https://github.com/mozilla/build-tools/pull/38"},"issue":{"href":"https://api.github.com/repos/mozilla/build-tools/issues/38"},"comments":{"href":"https://api.github.com/repos/mozilla/build-tools/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/build-tools/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/build-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/build-tools/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/build-tools/statuses/b5ec682697ac1a7481708febf3754aca825ddb46"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":6,"additions":259,"deletions":69560,"changed_files":385}}
{"actor":{"display_login":"mozbhearsum"}}