{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/labgrid-project/labgrid/pulls/1","id":107190577,"html_url":"https://github.com/labgrid-project/labgrid/pull/1","diff_url":"https://github.com/labgrid-project/labgrid/pull/1.diff","patch_url":"https://github.com/labgrid-project/labgrid/pull/1.patch","issue_url":"https://api.github.com/repos/labgrid-project/labgrid/issues/1","number":1,"state":"open","locked":false,"title":"usbstick: only use basename if the destination is not specified","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":"The USBStick.put_file() call supports a default destination parameter, if no\r\nexplicit destination is set, use only the basename of the uploadded file to copy\r\nit to the root of the virtual usbstick.\r\n\r\nSigned-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>","created_at":"2017-02-21T13:43:56Z","updated_at":"2017-02-21T13:43:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/labgrid-project/labgrid/pulls/1/commits","review_comments_url":"https://api.github.com/repos/labgrid-project/labgrid/pulls/1/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/1/comments","statuses_url":"https://api.github.com/repos/labgrid-project/labgrid/statuses/b9a4b9c13aa88306ecd20f649f51f3d812061be1","head":{"label":"Emantor:fix/usbstick-put-file","ref":"fix/usbstick-put-file","sha":"b9a4b9c13aa88306ecd20f649f51f3d812061be1","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-21T13:43:19Z","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":245,"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":"346e7b661bb440cf34b8262a00ee4be560ee0021","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-21T13:23:46Z","pushed_at":"2017-02-20T17:47:58Z","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":245,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/labgrid-project/labgrid/pulls/1"},"html":{"href":"https://github.com/labgrid-project/labgrid/pull/1"},"issue":{"href":"https://api.github.com/repos/labgrid-project/labgrid/issues/1"},"comments":{"href":"https://api.github.com/repos/labgrid-project/labgrid/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/labgrid-project/labgrid/pulls/1/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/1/commits"},"statuses":{"href":"https://api.github.com/repos/labgrid-project/labgrid/statuses/b9a4b9c13aa88306ecd20f649f51f3d812061be1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"Emantor"}}