{"action":"created","comment":{"url":"https://api.github.com/repos/gcovr/gcovr/pulls/comments/168958463","pull_request_review_id":97409565,"id":168958463,"diff_hunk":"@@ -29,1024 +29,23 @@\n # $Date$\n #\n \n-try:\n-    import html\n-except ImportError:\n-    import cgi as html\n import copy\n import os\n import re\n-import subprocess\n import sys\n-import time\n-import xml.dom.minidom\n-import datetime\n-import zlib\n \n from optparse import Option, OptionParser, OptionValueError\n-from string import Template\n from os.path import normpath\n \n-try:\n-    xrange\n-except NameError:\n-    xrange = range\n+from .gcov import get_datafiles, process_existing_gcov_file, process_datafile\n+from .utils import get_global_stats, build_filter\n+from .version import __version__, version_str  # noqa: F401 unused __version__","path":"gcovr/__main__.py","position":28,"original_position":28,"commit_id":"3a40043a4dab668ea40aafb9c0c77687b5b55f6f","original_commit_id":"3a40043a4dab668ea40aafb9c0c77687b5b55f6f","user":{"login":"mayeut","id":9768336,"avatar_url":"https://avatars3.githubusercontent.com/u/9768336?v=4","gravatar_id":"","url":"https://api.github.com/users/mayeut","html_url":"https://github.com/mayeut","followers_url":"https://api.github.com/users/mayeut/followers","following_url":"https://api.github.com/users/mayeut/following{/other_user}","gists_url":"https://api.github.com/users/mayeut/gists{/gist_id}","starred_url":"https://api.github.com/users/mayeut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayeut/subscriptions","organizations_url":"https://api.github.com/users/mayeut/orgs","repos_url":"https://api.github.com/users/mayeut/repos","events_url":"https://api.github.com/users/mayeut/events{/privacy}","received_events_url":"https://api.github.com/users/mayeut/received_events","type":"User","site_admin":false},"body":"Why import `__version__` that requires `# noqa: F401 unused __version__` ?","created_at":"2018-02-18T17:11:55Z","updated_at":"2018-02-18T17:12:25Z","html_url":"https://github.com/gcovr/gcovr/pull/225#discussion_r168958463","pull_request_url":"https://api.github.com/repos/gcovr/gcovr/pulls/225","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/gcovr/gcovr/pulls/comments/168958463"},"html":{"href":"https://github.com/gcovr/gcovr/pull/225#discussion_r168958463"},"pull_request":{"href":"https://api.github.com/repos/gcovr/gcovr/pulls/225"}}},"pull_request":{"url":"https://api.github.com/repos/gcovr/gcovr/pulls/225","id":169830613,"html_url":"https://github.com/gcovr/gcovr/pull/225","diff_url":"https://github.com/gcovr/gcovr/pull/225.diff","patch_url":"https://github.com/gcovr/gcovr/pull/225.patch","issue_url":"https://api.github.com/repos/gcovr/gcovr/issues/225","number":225,"state":"open","locked":false,"title":"Modularization","user":{"login":"latk","id":1782927,"avatar_url":"https://avatars3.githubusercontent.com/u/1782927?v=4","gravatar_id":"","url":"https://api.github.com/users/latk","html_url":"https://github.com/latk","followers_url":"https://api.github.com/users/latk/followers","following_url":"https://api.github.com/users/latk/following{/other_user}","gists_url":"https://api.github.com/users/latk/gists{/gist_id}","starred_url":"https://api.github.com/users/latk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latk/subscriptions","organizations_url":"https://api.github.com/users/latk/orgs","repos_url":"https://api.github.com/users/latk/repos","events_url":"https://api.github.com/users/latk/events{/privacy}","received_events_url":"https://api.github.com/users/latk/received_events","type":"User","site_admin":false},"body":"This PR splits the gcovr script into multiple modules, as discussed in #215.","created_at":"2018-02-18T13:34:05Z","updated_at":"2018-02-18T17:12:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"935128565069eac07de767b8e59a4050039b5e1b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":39711548,"url":"https://api.github.com/repos/gcovr/gcovr/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"300DFF","default":false},{"id":788982074,"url":"https://api.github.com/repos/gcovr/gcovr/labels/needs%20review","name":"needs review","color":"006b75","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/gcovr/gcovr/pulls/225/commits","review_comments_url":"https://api.github.com/repos/gcovr/gcovr/pulls/225/comments","review_comment_url":"https://api.github.com/repos/gcovr/gcovr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gcovr/gcovr/issues/225/comments","statuses_url":"https://api.github.com/repos/gcovr/gcovr/statuses/3a40043a4dab668ea40aafb9c0c77687b5b55f6f","head":{"label":"latk:modularization","ref":"modularization","sha":"3a40043a4dab668ea40aafb9c0c77687b5b55f6f","user":{"login":"latk","id":1782927,"avatar_url":"https://avatars3.githubusercontent.com/u/1782927?v=4","gravatar_id":"","url":"https://api.github.com/users/latk","html_url":"https://github.com/latk","followers_url":"https://api.github.com/users/latk/followers","following_url":"https://api.github.com/users/latk/following{/other_user}","gists_url":"https://api.github.com/users/latk/gists{/gist_id}","starred_url":"https://api.github.com/users/latk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latk/subscriptions","organizations_url":"https://api.github.com/users/latk/orgs","repos_url":"https://api.github.com/users/latk/repos","events_url":"https://api.github.com/users/latk/events{/privacy}","received_events_url":"https://api.github.com/users/latk/received_events","type":"User","site_admin":false},"repo":{"id":77646751,"name":"gcovr","full_name":"latk/gcovr","owner":{"login":"latk","id":1782927,"avatar_url":"https://avatars3.githubusercontent.com/u/1782927?v=4","gravatar_id":"","url":"https://api.github.com/users/latk","html_url":"https://github.com/latk","followers_url":"https://api.github.com/users/latk/followers","following_url":"https://api.github.com/users/latk/following{/other_user}","gists_url":"https://api.github.com/users/latk/gists{/gist_id}","starred_url":"https://api.github.com/users/latk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latk/subscriptions","organizations_url":"https://api.github.com/users/latk/orgs","repos_url":"https://api.github.com/users/latk/repos","events_url":"https://api.github.com/users/latk/events{/privacy}","received_events_url":"https://api.github.com/users/latk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/latk/gcovr","description":"Main gcovr repository (See http://gcovr.com)","fork":true,"url":"https://api.github.com/repos/latk/gcovr","forks_url":"https://api.github.com/repos/latk/gcovr/forks","keys_url":"https://api.github.com/repos/latk/gcovr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/latk/gcovr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/latk/gcovr/teams","hooks_url":"https://api.github.com/repos/latk/gcovr/hooks","issue_events_url":"https://api.github.com/repos/latk/gcovr/issues/events{/number}","events_url":"https://api.github.com/repos/latk/gcovr/events","assignees_url":"https://api.github.com/repos/latk/gcovr/assignees{/user}","branches_url":"https://api.github.com/repos/latk/gcovr/branches{/branch}","tags_url":"https://api.github.com/repos/latk/gcovr/tags","blobs_url":"https://api.github.com/repos/latk/gcovr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/latk/gcovr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/latk/gcovr/git/refs{/sha}","trees_url":"https://api.github.com/repos/latk/gcovr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/latk/gcovr/statuses/{sha}","languages_url":"https://api.github.com/repos/latk/gcovr/languages","stargazers_url":"https://api.github.com/repos/latk/gcovr/stargazers","contributors_url":"https://api.github.com/repos/latk/gcovr/contributors","subscribers_url":"https://api.github.com/repos/latk/gcovr/subscribers","subscription_url":"https://api.github.com/repos/latk/gcovr/subscription","commits_url":"https://api.github.com/repos/latk/gcovr/commits{/sha}","git_commits_url":"https://api.github.com/repos/latk/gcovr/git/commits{/sha}","comments_url":"https://api.github.com/repos/latk/gcovr/comments{/number}","issue_comment_url":"https://api.github.com/repos/latk/gcovr/issues/comments{/number}","contents_url":"https://api.github.com/repos/latk/gcovr/contents/{+path}","compare_url":"https://api.github.com/repos/latk/gcovr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/latk/gcovr/merges","archive_url":"https://api.github.com/repos/latk/gcovr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/latk/gcovr/downloads","issues_url":"https://api.github.com/repos/latk/gcovr/issues{/number}","pulls_url":"https://api.github.com/repos/latk/gcovr/pulls{/number}","milestones_url":"https://api.github.com/repos/latk/gcovr/milestones{/number}","notifications_url":"https://api.github.com/repos/latk/gcovr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/latk/gcovr/labels{/name}","releases_url":"https://api.github.com/repos/latk/gcovr/releases{/id}","deployments_url":"https://api.github.com/repos/latk/gcovr/deployments","created_at":"2016-12-29T23:47:48Z","updated_at":"2018-01-06T20:09:24Z","pushed_at":"2018-02-18T13:26:11Z","git_url":"git://github.com/latk/gcovr.git","ssh_url":"git@github.com:latk/gcovr.git","clone_url":"https://github.com/latk/gcovr.git","svn_url":"https://github.com/latk/gcovr","homepage":"","size":1380,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"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":"gcovr:master","ref":"master","sha":"8a77ff3011c29a11c0e7af95fc5c1c7d8535dd8a","user":{"login":"gcovr","id":4433154,"avatar_url":"https://avatars2.githubusercontent.com/u/4433154?v=4","gravatar_id":"","url":"https://api.github.com/users/gcovr","html_url":"https://github.com/gcovr","followers_url":"https://api.github.com/users/gcovr/followers","following_url":"https://api.github.com/users/gcovr/following{/other_user}","gists_url":"https://api.github.com/users/gcovr/gists{/gist_id}","starred_url":"https://api.github.com/users/gcovr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcovr/subscriptions","organizations_url":"https://api.github.com/users/gcovr/orgs","repos_url":"https://api.github.com/users/gcovr/repos","events_url":"https://api.github.com/users/gcovr/events{/privacy}","received_events_url":"https://api.github.com/users/gcovr/received_events","type":"Organization","site_admin":false},"repo":{"id":10068798,"name":"gcovr","full_name":"gcovr/gcovr","owner":{"login":"gcovr","id":4433154,"avatar_url":"https://avatars2.githubusercontent.com/u/4433154?v=4","gravatar_id":"","url":"https://api.github.com/users/gcovr","html_url":"https://github.com/gcovr","followers_url":"https://api.github.com/users/gcovr/followers","following_url":"https://api.github.com/users/gcovr/following{/other_user}","gists_url":"https://api.github.com/users/gcovr/gists{/gist_id}","starred_url":"https://api.github.com/users/gcovr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcovr/subscriptions","organizations_url":"https://api.github.com/users/gcovr/orgs","repos_url":"https://api.github.com/users/gcovr/repos","events_url":"https://api.github.com/users/gcovr/events{/privacy}","received_events_url":"https://api.github.com/users/gcovr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gcovr/gcovr","description":"generate code coverage reports with gcc/gcov","fork":false,"url":"https://api.github.com/repos/gcovr/gcovr","forks_url":"https://api.github.com/repos/gcovr/gcovr/forks","keys_url":"https://api.github.com/repos/gcovr/gcovr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gcovr/gcovr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gcovr/gcovr/teams","hooks_url":"https://api.github.com/repos/gcovr/gcovr/hooks","issue_events_url":"https://api.github.com/repos/gcovr/gcovr/issues/events{/number}","events_url":"https://api.github.com/repos/gcovr/gcovr/events","assignees_url":"https://api.github.com/repos/gcovr/gcovr/assignees{/user}","branches_url":"https://api.github.com/repos/gcovr/gcovr/branches{/branch}","tags_url":"https://api.github.com/repos/gcovr/gcovr/tags","blobs_url":"https://api.github.com/repos/gcovr/gcovr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gcovr/gcovr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gcovr/gcovr/git/refs{/sha}","trees_url":"https://api.github.com/repos/gcovr/gcovr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gcovr/gcovr/statuses/{sha}","languages_url":"https://api.github.com/repos/gcovr/gcovr/languages","stargazers_url":"https://api.github.com/repos/gcovr/gcovr/stargazers","contributors_url":"https://api.github.com/repos/gcovr/gcovr/contributors","subscribers_url":"https://api.github.com/repos/gcovr/gcovr/subscribers","subscription_url":"https://api.github.com/repos/gcovr/gcovr/subscription","commits_url":"https://api.github.com/repos/gcovr/gcovr/commits{/sha}","git_commits_url":"https://api.github.com/repos/gcovr/gcovr/git/commits{/sha}","comments_url":"https://api.github.com/repos/gcovr/gcovr/comments{/number}","issue_comment_url":"https://api.github.com/repos/gcovr/gcovr/issues/comments{/number}","contents_url":"https://api.github.com/repos/gcovr/gcovr/contents/{+path}","compare_url":"https://api.github.com/repos/gcovr/gcovr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gcovr/gcovr/merges","archive_url":"https://api.github.com/repos/gcovr/gcovr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gcovr/gcovr/downloads","issues_url":"https://api.github.com/repos/gcovr/gcovr/issues{/number}","pulls_url":"https://api.github.com/repos/gcovr/gcovr/pulls{/number}","milestones_url":"https://api.github.com/repos/gcovr/gcovr/milestones{/number}","notifications_url":"https://api.github.com/repos/gcovr/gcovr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gcovr/gcovr/labels{/name}","releases_url":"https://api.github.com/repos/gcovr/gcovr/releases{/id}","deployments_url":"https://api.github.com/repos/gcovr/gcovr/deployments","created_at":"2013-05-15T01:45:20Z","updated_at":"2018-02-17T12:55:50Z","pushed_at":"2018-02-18T13:34:06Z","git_url":"git://github.com/gcovr/gcovr.git","ssh_url":"git@github.com:gcovr/gcovr.git","clone_url":"https://github.com/gcovr/gcovr.git","svn_url":"https://github.com/gcovr/gcovr","homepage":"http://gcovr.com/","size":1357,"stargazers_count":213,"watchers_count":213,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":122,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":122,"open_issues":47,"watchers":213,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gcovr/gcovr/pulls/225"},"html":{"href":"https://github.com/gcovr/gcovr/pull/225"},"issue":{"href":"https://api.github.com/repos/gcovr/gcovr/issues/225"},"comments":{"href":"https://api.github.com/repos/gcovr/gcovr/issues/225/comments"},"review_comments":{"href":"https://api.github.com/repos/gcovr/gcovr/pulls/225/comments"},"review_comment":{"href":"https://api.github.com/repos/gcovr/gcovr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gcovr/gcovr/pulls/225/commits"},"statuses":{"href":"https://api.github.com/repos/gcovr/gcovr/statuses/3a40043a4dab668ea40aafb9c0c77687b5b55f6f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"mayeut"}}