{"action":"opened","number":968,"pull_request":{"url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/pulls/968","id":197125485,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MTI1NDg1","html_url":"https://github.com/tiny-dnn/tiny-dnn/pull/968","diff_url":"https://github.com/tiny-dnn/tiny-dnn/pull/968.diff","patch_url":"https://github.com/tiny-dnn/tiny-dnn/pull/968.patch","issue_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/968","number":968,"state":"open","locked":false,"title":"Optionally use system-wide installation of gtest/gmock if available","user":{"login":"morxa","id":4573064,"node_id":"MDQ6VXNlcjQ1NzMwNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4573064?v=4","gravatar_id":"","url":"https://api.github.com/users/morxa","html_url":"https://github.com/morxa","followers_url":"https://api.github.com/users/morxa/followers","following_url":"https://api.github.com/users/morxa/following{/other_user}","gists_url":"https://api.github.com/users/morxa/gists{/gist_id}","starred_url":"https://api.github.com/users/morxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morxa/subscriptions","organizations_url":"https://api.github.com/users/morxa/orgs","repos_url":"https://api.github.com/users/morxa/repos","events_url":"https://api.github.com/users/morxa/events{/privacy}","received_events_url":"https://api.github.com/users/morxa/received_events","type":"User","site_admin":false},"body":"Distributions such as Fedora do not allow internet access while building a package. Thus, add an option to use the system's gtest/gmock for testing. The default is to fetch a copy, as before. If `USE_SYS_GTEST` is set to `ON`, look for a system-wide installation of gtest and gmock, and use that if available. Otherwise, fall back to using the local copy.\r\n\r\nThis is part of an effort to package tiny-dnn for Fedora.\r\n\r\nThe PR is based on the latest alpha release, I can rebase if necessary.","created_at":"2018-06-25T14:08:38Z","updated_at":"2018-06-25T14:08:38Z","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/tiny-dnn/tiny-dnn/pulls/968/commits","review_comments_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/pulls/968/comments","review_comment_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/968/comments","statuses_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/statuses/8be4a10b2d7d7e594ac13223087b904607747fb2","head":{"label":"morxa:distro-gtest","ref":"distro-gtest","sha":"8be4a10b2d7d7e594ac13223087b904607747fb2","user":{"login":"morxa","id":4573064,"node_id":"MDQ6VXNlcjQ1NzMwNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4573064?v=4","gravatar_id":"","url":"https://api.github.com/users/morxa","html_url":"https://github.com/morxa","followers_url":"https://api.github.com/users/morxa/followers","following_url":"https://api.github.com/users/morxa/following{/other_user}","gists_url":"https://api.github.com/users/morxa/gists{/gist_id}","starred_url":"https://api.github.com/users/morxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morxa/subscriptions","organizations_url":"https://api.github.com/users/morxa/orgs","repos_url":"https://api.github.com/users/morxa/repos","events_url":"https://api.github.com/users/morxa/events{/privacy}","received_events_url":"https://api.github.com/users/morxa/received_events","type":"User","site_admin":false},"repo":{"id":138602973,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg2MDI5NzM=","name":"tiny-dnn","full_name":"morxa/tiny-dnn","owner":{"login":"morxa","id":4573064,"node_id":"MDQ6VXNlcjQ1NzMwNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4573064?v=4","gravatar_id":"","url":"https://api.github.com/users/morxa","html_url":"https://github.com/morxa","followers_url":"https://api.github.com/users/morxa/followers","following_url":"https://api.github.com/users/morxa/following{/other_user}","gists_url":"https://api.github.com/users/morxa/gists{/gist_id}","starred_url":"https://api.github.com/users/morxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morxa/subscriptions","organizations_url":"https://api.github.com/users/morxa/orgs","repos_url":"https://api.github.com/users/morxa/repos","events_url":"https://api.github.com/users/morxa/events{/privacy}","received_events_url":"https://api.github.com/users/morxa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/morxa/tiny-dnn","description":"header only, dependency-free deep learning framework in C++14","fork":true,"url":"https://api.github.com/repos/morxa/tiny-dnn","forks_url":"https://api.github.com/repos/morxa/tiny-dnn/forks","keys_url":"https://api.github.com/repos/morxa/tiny-dnn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/morxa/tiny-dnn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/morxa/tiny-dnn/teams","hooks_url":"https://api.github.com/repos/morxa/tiny-dnn/hooks","issue_events_url":"https://api.github.com/repos/morxa/tiny-dnn/issues/events{/number}","events_url":"https://api.github.com/repos/morxa/tiny-dnn/events","assignees_url":"https://api.github.com/repos/morxa/tiny-dnn/assignees{/user}","branches_url":"https://api.github.com/repos/morxa/tiny-dnn/branches{/branch}","tags_url":"https://api.github.com/repos/morxa/tiny-dnn/tags","blobs_url":"https://api.github.com/repos/morxa/tiny-dnn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/morxa/tiny-dnn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/morxa/tiny-dnn/git/refs{/sha}","trees_url":"https://api.github.com/repos/morxa/tiny-dnn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/morxa/tiny-dnn/statuses/{sha}","languages_url":"https://api.github.com/repos/morxa/tiny-dnn/languages","stargazers_url":"https://api.github.com/repos/morxa/tiny-dnn/stargazers","contributors_url":"https://api.github.com/repos/morxa/tiny-dnn/contributors","subscribers_url":"https://api.github.com/repos/morxa/tiny-dnn/subscribers","subscription_url":"https://api.github.com/repos/morxa/tiny-dnn/subscription","commits_url":"https://api.github.com/repos/morxa/tiny-dnn/commits{/sha}","git_commits_url":"https://api.github.com/repos/morxa/tiny-dnn/git/commits{/sha}","comments_url":"https://api.github.com/repos/morxa/tiny-dnn/comments{/number}","issue_comment_url":"https://api.github.com/repos/morxa/tiny-dnn/issues/comments{/number}","contents_url":"https://api.github.com/repos/morxa/tiny-dnn/contents/{+path}","compare_url":"https://api.github.com/repos/morxa/tiny-dnn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/morxa/tiny-dnn/merges","archive_url":"https://api.github.com/repos/morxa/tiny-dnn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/morxa/tiny-dnn/downloads","issues_url":"https://api.github.com/repos/morxa/tiny-dnn/issues{/number}","pulls_url":"https://api.github.com/repos/morxa/tiny-dnn/pulls{/number}","milestones_url":"https://api.github.com/repos/morxa/tiny-dnn/milestones{/number}","notifications_url":"https://api.github.com/repos/morxa/tiny-dnn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/morxa/tiny-dnn/labels{/name}","releases_url":"https://api.github.com/repos/morxa/tiny-dnn/releases{/id}","deployments_url":"https://api.github.com/repos/morxa/tiny-dnn/deployments","created_at":"2018-06-25T14:02:55Z","updated_at":"2018-06-25T14:02:59Z","pushed_at":"2018-06-25T14:04:09Z","git_url":"git://github.com/morxa/tiny-dnn.git","ssh_url":"git@github.com:morxa/tiny-dnn.git","clone_url":"https://github.com/morxa/tiny-dnn.git","svn_url":"https://github.com/morxa/tiny-dnn","homepage":"http://tiny-dnn.readthedocs.io","size":25380,"stargazers_count":0,"watchers_count":0,"language":"C++","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":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tiny-dnn:master","ref":"master","sha":"1c5259477b8b4eab376cc19fd1d55ae965ef5e5a","user":{"login":"tiny-dnn","id":20644649,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjQ0NjQ5","avatar_url":"https://avatars3.githubusercontent.com/u/20644649?v=4","gravatar_id":"","url":"https://api.github.com/users/tiny-dnn","html_url":"https://github.com/tiny-dnn","followers_url":"https://api.github.com/users/tiny-dnn/followers","following_url":"https://api.github.com/users/tiny-dnn/following{/other_user}","gists_url":"https://api.github.com/users/tiny-dnn/gists{/gist_id}","starred_url":"https://api.github.com/users/tiny-dnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiny-dnn/subscriptions","organizations_url":"https://api.github.com/users/tiny-dnn/orgs","repos_url":"https://api.github.com/users/tiny-dnn/repos","events_url":"https://api.github.com/users/tiny-dnn/events{/privacy}","received_events_url":"https://api.github.com/users/tiny-dnn/received_events","type":"Organization","site_admin":false},"repo":{"id":7205740,"node_id":"MDEwOlJlcG9zaXRvcnk3MjA1NzQw","name":"tiny-dnn","full_name":"tiny-dnn/tiny-dnn","owner":{"login":"tiny-dnn","id":20644649,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNjQ0NjQ5","avatar_url":"https://avatars3.githubusercontent.com/u/20644649?v=4","gravatar_id":"","url":"https://api.github.com/users/tiny-dnn","html_url":"https://github.com/tiny-dnn","followers_url":"https://api.github.com/users/tiny-dnn/followers","following_url":"https://api.github.com/users/tiny-dnn/following{/other_user}","gists_url":"https://api.github.com/users/tiny-dnn/gists{/gist_id}","starred_url":"https://api.github.com/users/tiny-dnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiny-dnn/subscriptions","organizations_url":"https://api.github.com/users/tiny-dnn/orgs","repos_url":"https://api.github.com/users/tiny-dnn/repos","events_url":"https://api.github.com/users/tiny-dnn/events{/privacy}","received_events_url":"https://api.github.com/users/tiny-dnn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tiny-dnn/tiny-dnn","description":"header only, dependency-free deep learning framework in C++14","fork":false,"url":"https://api.github.com/repos/tiny-dnn/tiny-dnn","forks_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/forks","keys_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/teams","hooks_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/hooks","issue_events_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/events{/number}","events_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/events","assignees_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/assignees{/user}","branches_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/branches{/branch}","tags_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/tags","blobs_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/git/refs{/sha}","trees_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/statuses/{sha}","languages_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/languages","stargazers_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/stargazers","contributors_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/contributors","subscribers_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/subscribers","subscription_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/subscription","commits_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/commits{/sha}","git_commits_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/git/commits{/sha}","comments_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/comments{/number}","issue_comment_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/comments{/number}","contents_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/contents/{+path}","compare_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/merges","archive_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/downloads","issues_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues{/number}","pulls_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/pulls{/number}","milestones_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/milestones{/number}","notifications_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/labels{/name}","releases_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/releases{/id}","deployments_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/deployments","created_at":"2012-12-17T14:08:06Z","updated_at":"2018-06-25T00:31:05Z","pushed_at":"2018-04-19T00:06:57Z","git_url":"git://github.com/tiny-dnn/tiny-dnn.git","ssh_url":"git@github.com:tiny-dnn/tiny-dnn.git","clone_url":"https://github.com/tiny-dnn/tiny-dnn.git","svn_url":"https://github.com/tiny-dnn/tiny-dnn","homepage":"http://tiny-dnn.readthedocs.io","size":25380,"stargazers_count":4200,"watchers_count":4200,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1114,"mirror_url":null,"archived":false,"open_issues_count":265,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1114,"open_issues":265,"watchers":4200,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tiny-dnn/tiny-dnn/pulls/968"},"html":{"href":"https://github.com/tiny-dnn/tiny-dnn/pull/968"},"issue":{"href":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/968"},"comments":{"href":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/968/comments"},"review_comments":{"href":"https://api.github.com/repos/tiny-dnn/tiny-dnn/pulls/968/comments"},"review_comment":{"href":"https://api.github.com/repos/tiny-dnn/tiny-dnn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tiny-dnn/tiny-dnn/pulls/968/commits"},"statuses":{"href":"https://api.github.com/repos/tiny-dnn/tiny-dnn/statuses/8be4a10b2d7d7e594ac13223087b904607747fb2"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":42,"deletions":12,"changed_files":2}}
{"actor":{"display_login":"morxa"}}