{"action":"created","comment":{"url":"https://api.github.com/repos/labgrid-project/labgrid/pulls/comments/103429401","pull_request_review_id":24212599,"id":103429401,"diff_hunk":"@@ -0,0 +1,34 @@\n+import logging\n+import requests\n+\n+import attr\n+\n+from ..factory import target_factory\n+from ..resource import OneWirePort\n+from .common import Driver\n+\n+@target_factory.reg_driver\n+@attr.s\n+class OneWireDriver(Driver):","path":"labgrid/driver/onewiredriver.py","position":12,"original_position":12,"commit_id":"a922b15024218ee660fb3bf708a0faa8a72b47fc","original_commit_id":"a922b15024218ee660fb3bf708a0faa8a72b47fc","user":{"login":"jluebbe","id":3678062,"avatar_url":"https://avatars.githubusercontent.com/u/3678062?v=3","gravatar_id":"","url":"https://api.github.com/users/jluebbe","html_url":"https://github.com/jluebbe","followers_url":"https://api.github.com/users/jluebbe/followers","following_url":"https://api.github.com/users/jluebbe/following{/other_user}","gists_url":"https://api.github.com/users/jluebbe/gists{/gist_id}","starred_url":"https://api.github.com/users/jluebbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jluebbe/subscriptions","organizations_url":"https://api.github.com/users/jluebbe/orgs","repos_url":"https://api.github.com/users/jluebbe/repos","events_url":"https://api.github.com/users/jluebbe/events{/privacy}","received_events_url":"https://api.github.com/users/jluebbe/received_events","type":"User","site_admin":false},"body":"Corresponding to the change to the Protocol, this should be a OneWirePIODriver, implementing the DigitalOutput protocol.","created_at":"2017-02-28T11:04:55Z","updated_at":"2017-02-28T11:08:28Z","html_url":"https://github.com/labgrid-project/labgrid/pull/6#discussion_r103429401","pull_request_url":"https://api.github.com/repos/labgrid-project/labgrid/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/labgrid-project/labgrid/pulls/comments/103429401"},"html":{"href":"https://github.com/labgrid-project/labgrid/pull/6#discussion_r103429401"},"pull_request":{"href":"https://api.github.com/repos/labgrid-project/labgrid/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/labgrid-project/labgrid/pulls/6","id":108170679,"html_url":"https://github.com/labgrid-project/labgrid/pull/6","diff_url":"https://github.com/labgrid-project/labgrid/pull/6.diff","patch_url":"https://github.com/labgrid-project/labgrid/pull/6.patch","issue_url":"https://api.github.com/repos/labgrid-project/labgrid/issues/6","number":6,"state":"open","locked":false,"title":"[WIP] Topic/onewire","user":{"login":"Emantor","id":934284,"avatar_url":"https://avatars.githubusercontent.com/u/934284?v=3","gravatar_id":"","url":"https://api.github.com/users/Emantor","html_url":"https://github.com/Emantor","followers_url":"https://api.github.com/users/Emantor/followers","following_url":"https://api.github.com/users/Emantor/following{/other_user}","gists_url":"https://api.github.com/users/Emantor/gists{/gist_id}","starred_url":"https://api.github.com/users/Emantor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emantor/subscriptions","organizations_url":"https://api.github.com/users/Emantor/orgs","repos_url":"https://api.github.com/users/Emantor/repos","events_url":"https://api.github.com/users/Emantor/events{/privacy}","received_events_url":"https://api.github.com/users/Emantor/received_events","type":"User","site_admin":false},"body":"Add onewire support to labgrid, needs a running onewire server at the moment.\r\n\r\nWIP:\r\n* Convert to managedResource\r\n* Add to exporter\r\n* Test over network","created_at":"2017-02-27T18:13:49Z","updated_at":"2017-02-28T11:08:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ef2f7f7b9a66a217306a2b97a77cdb3b01e84eb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/labgrid-project/labgrid/pulls/6/commits","review_comments_url":"https://api.github.com/repos/labgrid-project/labgrid/pulls/6/comments","review_comment_url":"https://api.github.com/repos/labgrid-project/labgrid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/labgrid-project/labgrid/issues/6/comments","statuses_url":"https://api.github.com/repos/labgrid-project/labgrid/statuses/a922b15024218ee660fb3bf708a0faa8a72b47fc","head":{"label":"Emantor:topic/onewire","ref":"topic/onewire","sha":"a922b15024218ee660fb3bf708a0faa8a72b47fc","user":{"login":"Emantor","id":934284,"avatar_url":"https://avatars.githubusercontent.com/u/934284?v=3","gravatar_id":"","url":"https://api.github.com/users/Emantor","html_url":"https://github.com/Emantor","followers_url":"https://api.github.com/users/Emantor/followers","following_url":"https://api.github.com/users/Emantor/following{/other_user}","gists_url":"https://api.github.com/users/Emantor/gists{/gist_id}","starred_url":"https://api.github.com/users/Emantor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emantor/subscriptions","organizations_url":"https://api.github.com/users/Emantor/orgs","repos_url":"https://api.github.com/users/Emantor/repos","events_url":"https://api.github.com/users/Emantor/events{/privacy}","received_events_url":"https://api.github.com/users/Emantor/received_events","type":"User","site_admin":false},"repo":{"id":82652754,"name":"labgrid","full_name":"Emantor/labgrid","owner":{"login":"Emantor","id":934284,"avatar_url":"https://avatars.githubusercontent.com/u/934284?v=3","gravatar_id":"","url":"https://api.github.com/users/Emantor","html_url":"https://github.com/Emantor","followers_url":"https://api.github.com/users/Emantor/followers","following_url":"https://api.github.com/users/Emantor/following{/other_user}","gists_url":"https://api.github.com/users/Emantor/gists{/gist_id}","starred_url":"https://api.github.com/users/Emantor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emantor/subscriptions","organizations_url":"https://api.github.com/users/Emantor/orgs","repos_url":"https://api.github.com/users/Emantor/repos","events_url":"https://api.github.com/users/Emantor/events{/privacy}","received_events_url":"https://api.github.com/users/Emantor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Emantor/labgrid","description":null,"fork":true,"url":"https://api.github.com/repos/Emantor/labgrid","forks_url":"https://api.github.com/repos/Emantor/labgrid/forks","keys_url":"https://api.github.com/repos/Emantor/labgrid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Emantor/labgrid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Emantor/labgrid/teams","hooks_url":"https://api.github.com/repos/Emantor/labgrid/hooks","issue_events_url":"https://api.github.com/repos/Emantor/labgrid/issues/events{/number}","events_url":"https://api.github.com/repos/Emantor/labgrid/events","assignees_url":"https://api.github.com/repos/Emantor/labgrid/assignees{/user}","branches_url":"https://api.github.com/repos/Emantor/labgrid/branches{/branch}","tags_url":"https://api.github.com/repos/Emantor/labgrid/tags","blobs_url":"https://api.github.com/repos/Emantor/labgrid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Emantor/labgrid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Emantor/labgrid/git/refs{/sha}","trees_url":"https://api.github.com/repos/Emantor/labgrid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Emantor/labgrid/statuses/{sha}","languages_url":"https://api.github.com/repos/Emantor/labgrid/languages","stargazers_url":"https://api.github.com/repos/Emantor/labgrid/stargazers","contributors_url":"https://api.github.com/repos/Emantor/labgrid/contributors","subscribers_url":"https://api.github.com/repos/Emantor/labgrid/subscribers","subscription_url":"https://api.github.com/repos/Emantor/labgrid/subscription","commits_url":"https://api.github.com/repos/Emantor/labgrid/commits{/sha}","git_commits_url":"https://api.github.com/repos/Emantor/labgrid/git/commits{/sha}","comments_url":"https://api.github.com/repos/Emantor/labgrid/comments{/number}","issue_comment_url":"https://api.github.com/repos/Emantor/labgrid/issues/comments{/number}","contents_url":"https://api.github.com/repos/Emantor/labgrid/contents/{+path}","compare_url":"https://api.github.com/repos/Emantor/labgrid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Emantor/labgrid/merges","archive_url":"https://api.github.com/repos/Emantor/labgrid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Emantor/labgrid/downloads","issues_url":"https://api.github.com/repos/Emantor/labgrid/issues{/number}","pulls_url":"https://api.github.com/repos/Emantor/labgrid/pulls{/number}","milestones_url":"https://api.github.com/repos/Emantor/labgrid/milestones{/number}","notifications_url":"https://api.github.com/repos/Emantor/labgrid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Emantor/labgrid/labels{/name}","releases_url":"https://api.github.com/repos/Emantor/labgrid/releases{/id}","deployments_url":"https://api.github.com/repos/Emantor/labgrid/deployments","created_at":"2017-02-21T08:01:57Z","updated_at":"2017-02-21T08:01:59Z","pushed_at":"2017-02-28T09:25:03Z","git_url":"git://github.com/Emantor/labgrid.git","ssh_url":"git@github.com:Emantor/labgrid.git","clone_url":"https://github.com/Emantor/labgrid.git","svn_url":"https://github.com/Emantor/labgrid","homepage":"https://labgrid.readthedocs.io/","size":277,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"labgrid-project:master","ref":"master","sha":"71c65b04e0dbc3bba74fe2555285e9e8d6c93b3c","user":{"login":"labgrid-project","id":25842093,"avatar_url":"https://avatars.githubusercontent.com/u/25842093?v=3","gravatar_id":"","url":"https://api.github.com/users/labgrid-project","html_url":"https://github.com/labgrid-project","followers_url":"https://api.github.com/users/labgrid-project/followers","following_url":"https://api.github.com/users/labgrid-project/following{/other_user}","gists_url":"https://api.github.com/users/labgrid-project/gists{/gist_id}","starred_url":"https://api.github.com/users/labgrid-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labgrid-project/subscriptions","organizations_url":"https://api.github.com/users/labgrid-project/orgs","repos_url":"https://api.github.com/users/labgrid-project/repos","events_url":"https://api.github.com/users/labgrid-project/events{/privacy}","received_events_url":"https://api.github.com/users/labgrid-project/received_events","type":"Organization","site_admin":false},"repo":{"id":82293105,"name":"labgrid","full_name":"labgrid-project/labgrid","owner":{"login":"labgrid-project","id":25842093,"avatar_url":"https://avatars.githubusercontent.com/u/25842093?v=3","gravatar_id":"","url":"https://api.github.com/users/labgrid-project","html_url":"https://github.com/labgrid-project","followers_url":"https://api.github.com/users/labgrid-project/followers","following_url":"https://api.github.com/users/labgrid-project/following{/other_user}","gists_url":"https://api.github.com/users/labgrid-project/gists{/gist_id}","starred_url":"https://api.github.com/users/labgrid-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labgrid-project/subscriptions","organizations_url":"https://api.github.com/users/labgrid-project/orgs","repos_url":"https://api.github.com/users/labgrid-project/repos","events_url":"https://api.github.com/users/labgrid-project/events{/privacy}","received_events_url":"https://api.github.com/users/labgrid-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/labgrid-project/labgrid","description":null,"fork":false,"url":"https://api.github.com/repos/labgrid-project/labgrid","forks_url":"https://api.github.com/repos/labgrid-project/labgrid/forks","keys_url":"https://api.github.com/repos/labgrid-project/labgrid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/labgrid-project/labgrid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/labgrid-project/labgrid/teams","hooks_url":"https://api.github.com/repos/labgrid-project/labgrid/hooks","issue_events_url":"https://api.github.com/repos/labgrid-project/labgrid/issues/events{/number}","events_url":"https://api.github.com/repos/labgrid-project/labgrid/events","assignees_url":"https://api.github.com/repos/labgrid-project/labgrid/assignees{/user}","branches_url":"https://api.github.com/repos/labgrid-project/labgrid/branches{/branch}","tags_url":"https://api.github.com/repos/labgrid-project/labgrid/tags","blobs_url":"https://api.github.com/repos/labgrid-project/labgrid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/labgrid-project/labgrid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/labgrid-project/labgrid/git/refs{/sha}","trees_url":"https://api.github.com/repos/labgrid-project/labgrid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/labgrid-project/labgrid/statuses/{sha}","languages_url":"https://api.github.com/repos/labgrid-project/labgrid/languages","stargazers_url":"https://api.github.com/repos/labgrid-project/labgrid/stargazers","contributors_url":"https://api.github.com/repos/labgrid-project/labgrid/contributors","subscribers_url":"https://api.github.com/repos/labgrid-project/labgrid/subscribers","subscription_url":"https://api.github.com/repos/labgrid-project/labgrid/subscription","commits_url":"https://api.github.com/repos/labgrid-project/labgrid/commits{/sha}","git_commits_url":"https://api.github.com/repos/labgrid-project/labgrid/git/commits{/sha}","comments_url":"https://api.github.com/repos/labgrid-project/labgrid/comments{/number}","issue_comment_url":"https://api.github.com/repos/labgrid-project/labgrid/issues/comments{/number}","contents_url":"https://api.github.com/repos/labgrid-project/labgrid/contents/{+path}","compare_url":"https://api.github.com/repos/labgrid-project/labgrid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/labgrid-project/labgrid/merges","archive_url":"https://api.github.com/repos/labgrid-project/labgrid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/labgrid-project/labgrid/downloads","issues_url":"https://api.github.com/repos/labgrid-project/labgrid/issues{/number}","pulls_url":"https://api.github.com/repos/labgrid-project/labgrid/pulls{/number}","milestones_url":"https://api.github.com/repos/labgrid-project/labgrid/milestones{/number}","notifications_url":"https://api.github.com/repos/labgrid-project/labgrid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/labgrid-project/labgrid/labels{/name}","releases_url":"https://api.github.com/repos/labgrid-project/labgrid/releases{/id}","deployments_url":"https://api.github.com/repos/labgrid-project/labgrid/deployments","created_at":"2017-02-17T11:59:20Z","updated_at":"2017-02-21T16:05:26Z","pushed_at":"2017-02-28T10:58:44Z","git_url":"git://github.com/labgrid-project/labgrid.git","ssh_url":"git@github.com:labgrid-project/labgrid.git","clone_url":"https://github.com/labgrid-project/labgrid.git","svn_url":"https://github.com/labgrid-project/labgrid","homepage":"https://labgrid.readthedocs.io/","size":271,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/labgrid-project/labgrid/pulls/6"},"html":{"href":"https://github.com/labgrid-project/labgrid/pull/6"},"issue":{"href":"https://api.github.com/repos/labgrid-project/labgrid/issues/6"},"comments":{"href":"https://api.github.com/repos/labgrid-project/labgrid/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/labgrid-project/labgrid/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/labgrid-project/labgrid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/labgrid-project/labgrid/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/labgrid-project/labgrid/statuses/a922b15024218ee660fb3bf708a0faa8a72b47fc"}}}}
{"actor":{"display_login":"jluebbe"}}