{"action":"created","comment":{"url":"https://api.github.com/repos/clearlinux/swupd-client/pulls/comments/56364948","id":56364948,"diff_hunk":"@@ -0,0 +1,10 @@\n+#!/bin/bash\n+\n+set -e\n+\n+rm -f web-dir/*/*.tar\n+touch target-dir/test-file","path":"test/functional/search/content-check-negfull-path/setup.sh","position":6,"original_position":6,"commit_id":"43928a1cb72dacc92b32884023693f9bbed7cf41","original_commit_id":"43928a1cb72dacc92b32884023693f9bbed7cf41","user":{"login":"phmccarty","id":1093718,"avatar_url":"https://avatars.githubusercontent.com/u/1093718?v=3","gravatar_id":"","url":"https://api.github.com/users/phmccarty","html_url":"https://github.com/phmccarty","followers_url":"https://api.github.com/users/phmccarty/followers","following_url":"https://api.github.com/users/phmccarty/following{/other_user}","gists_url":"https://api.github.com/users/phmccarty/gists{/gist_id}","starred_url":"https://api.github.com/users/phmccarty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phmccarty/subscriptions","organizations_url":"https://api.github.com/users/phmccarty/orgs","repos_url":"https://api.github.com/users/phmccarty/repos","events_url":"https://api.github.com/users/phmccarty/events{/privacy}","received_events_url":"https://api.github.com/users/phmccarty/received_events","type":"User","site_admin":false},"body":"The guideline to follow here is: If files need to be added/removed at runtime for the test, the reverse operation should be applied in teardown.sh. Otherwise, the files should be committed to the tree.\r\n\r\nIn this case, it appears that \"target-dir/test-file\" is unused by the test, so this line can be removed entirely.","created_at":"2016-03-16T16:21:56Z","updated_at":"2016-03-16T16:21:56Z","html_url":"https://github.com/clearlinux/swupd-client/pull/18#discussion_r56364948","pull_request_url":"https://api.github.com/repos/clearlinux/swupd-client/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/clearlinux/swupd-client/pulls/comments/56364948"},"html":{"href":"https://github.com/clearlinux/swupd-client/pull/18#discussion_r56364948"},"pull_request":{"href":"https://api.github.com/repos/clearlinux/swupd-client/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/clearlinux/swupd-client/pulls/18","id":62979754,"html_url":"https://github.com/clearlinux/swupd-client/pull/18","diff_url":"https://github.com/clearlinux/swupd-client/pull/18.diff","patch_url":"https://github.com/clearlinux/swupd-client/pull/18.patch","issue_url":"https://api.github.com/repos/clearlinux/swupd-client/issues/18","number":18,"state":"open","locked":false,"title":"Search testing","user":{"login":"bradTpeters","id":1105989,"avatar_url":"https://avatars.githubusercontent.com/u/1105989?v=3","gravatar_id":"","url":"https://api.github.com/users/bradTpeters","html_url":"https://github.com/bradTpeters","followers_url":"https://api.github.com/users/bradTpeters/followers","following_url":"https://api.github.com/users/bradTpeters/following{/other_user}","gists_url":"https://api.github.com/users/bradTpeters/gists{/gist_id}","starred_url":"https://api.github.com/users/bradTpeters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradTpeters/subscriptions","organizations_url":"https://api.github.com/users/bradTpeters/orgs","repos_url":"https://api.github.com/users/bradTpeters/repos","events_url":"https://api.github.com/users/bradTpeters/events{/privacy}","received_events_url":"https://api.github.com/users/bradTpeters/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-15T21:27:15Z","updated_at":"2016-03-16T16:21:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c4bb8aa5c423d02f3976e8995124d8fb83a19fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clearlinux/swupd-client/pulls/18/commits","review_comments_url":"https://api.github.com/repos/clearlinux/swupd-client/pulls/18/comments","review_comment_url":"https://api.github.com/repos/clearlinux/swupd-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clearlinux/swupd-client/issues/18/comments","statuses_url":"https://api.github.com/repos/clearlinux/swupd-client/statuses/43928a1cb72dacc92b32884023693f9bbed7cf41","head":{"label":"clearlinux:search_testing","ref":"search_testing","sha":"43928a1cb72dacc92b32884023693f9bbed7cf41","user":{"login":"clearlinux","id":12545216,"avatar_url":"https://avatars.githubusercontent.com/u/12545216?v=3","gravatar_id":"","url":"https://api.github.com/users/clearlinux","html_url":"https://github.com/clearlinux","followers_url":"https://api.github.com/users/clearlinux/followers","following_url":"https://api.github.com/users/clearlinux/following{/other_user}","gists_url":"https://api.github.com/users/clearlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/clearlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clearlinux/subscriptions","organizations_url":"https://api.github.com/users/clearlinux/orgs","repos_url":"https://api.github.com/users/clearlinux/repos","events_url":"https://api.github.com/users/clearlinux/events{/privacy}","received_events_url":"https://api.github.com/users/clearlinux/received_events","type":"Organization","site_admin":false},"repo":{"id":52470178,"name":"swupd-client","full_name":"clearlinux/swupd-client","owner":{"login":"clearlinux","id":12545216,"avatar_url":"https://avatars.githubusercontent.com/u/12545216?v=3","gravatar_id":"","url":"https://api.github.com/users/clearlinux","html_url":"https://github.com/clearlinux","followers_url":"https://api.github.com/users/clearlinux/followers","following_url":"https://api.github.com/users/clearlinux/following{/other_user}","gists_url":"https://api.github.com/users/clearlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/clearlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clearlinux/subscriptions","organizations_url":"https://api.github.com/users/clearlinux/orgs","repos_url":"https://api.github.com/users/clearlinux/repos","events_url":"https://api.github.com/users/clearlinux/events{/privacy}","received_events_url":"https://api.github.com/users/clearlinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clearlinux/swupd-client","description":"Software update client","fork":false,"url":"https://api.github.com/repos/clearlinux/swupd-client","forks_url":"https://api.github.com/repos/clearlinux/swupd-client/forks","keys_url":"https://api.github.com/repos/clearlinux/swupd-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clearlinux/swupd-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clearlinux/swupd-client/teams","hooks_url":"https://api.github.com/repos/clearlinux/swupd-client/hooks","issue_events_url":"https://api.github.com/repos/clearlinux/swupd-client/issues/events{/number}","events_url":"https://api.github.com/repos/clearlinux/swupd-client/events","assignees_url":"https://api.github.com/repos/clearlinux/swupd-client/assignees{/user}","branches_url":"https://api.github.com/repos/clearlinux/swupd-client/branches{/branch}","tags_url":"https://api.github.com/repos/clearlinux/swupd-client/tags","blobs_url":"https://api.github.com/repos/clearlinux/swupd-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clearlinux/swupd-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clearlinux/swupd-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/clearlinux/swupd-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clearlinux/swupd-client/statuses/{sha}","languages_url":"https://api.github.com/repos/clearlinux/swupd-client/languages","stargazers_url":"https://api.github.com/repos/clearlinux/swupd-client/stargazers","contributors_url":"https://api.github.com/repos/clearlinux/swupd-client/contributors","subscribers_url":"https://api.github.com/repos/clearlinux/swupd-client/subscribers","subscription_url":"https://api.github.com/repos/clearlinux/swupd-client/subscription","commits_url":"https://api.github.com/repos/clearlinux/swupd-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/clearlinux/swupd-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/clearlinux/swupd-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/clearlinux/swupd-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/clearlinux/swupd-client/contents/{+path}","compare_url":"https://api.github.com/repos/clearlinux/swupd-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clearlinux/swupd-client/merges","archive_url":"https://api.github.com/repos/clearlinux/swupd-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clearlinux/swupd-client/downloads","issues_url":"https://api.github.com/repos/clearlinux/swupd-client/issues{/number}","pulls_url":"https://api.github.com/repos/clearlinux/swupd-client/pulls{/number}","milestones_url":"https://api.github.com/repos/clearlinux/swupd-client/milestones{/number}","notifications_url":"https://api.github.com/repos/clearlinux/swupd-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clearlinux/swupd-client/labels{/name}","releases_url":"https://api.github.com/repos/clearlinux/swupd-client/releases{/id}","deployments_url":"https://api.github.com/repos/clearlinux/swupd-client/deployments","created_at":"2016-02-24T19:54:13Z","updated_at":"2016-02-24T19:57:58Z","pushed_at":"2016-03-15T23:04:22Z","git_url":"git://github.com/clearlinux/swupd-client.git","ssh_url":"git@github.com:clearlinux/swupd-client.git","clone_url":"https://github.com/clearlinux/swupd-client.git","svn_url":"https://github.com/clearlinux/swupd-client","homepage":null,"size":362,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"clearlinux:master","ref":"master","sha":"92211a6c7da48cccd85a64dc395f55f0f2a15aac","user":{"login":"clearlinux","id":12545216,"avatar_url":"https://avatars.githubusercontent.com/u/12545216?v=3","gravatar_id":"","url":"https://api.github.com/users/clearlinux","html_url":"https://github.com/clearlinux","followers_url":"https://api.github.com/users/clearlinux/followers","following_url":"https://api.github.com/users/clearlinux/following{/other_user}","gists_url":"https://api.github.com/users/clearlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/clearlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clearlinux/subscriptions","organizations_url":"https://api.github.com/users/clearlinux/orgs","repos_url":"https://api.github.com/users/clearlinux/repos","events_url":"https://api.github.com/users/clearlinux/events{/privacy}","received_events_url":"https://api.github.com/users/clearlinux/received_events","type":"Organization","site_admin":false},"repo":{"id":52470178,"name":"swupd-client","full_name":"clearlinux/swupd-client","owner":{"login":"clearlinux","id":12545216,"avatar_url":"https://avatars.githubusercontent.com/u/12545216?v=3","gravatar_id":"","url":"https://api.github.com/users/clearlinux","html_url":"https://github.com/clearlinux","followers_url":"https://api.github.com/users/clearlinux/followers","following_url":"https://api.github.com/users/clearlinux/following{/other_user}","gists_url":"https://api.github.com/users/clearlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/clearlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clearlinux/subscriptions","organizations_url":"https://api.github.com/users/clearlinux/orgs","repos_url":"https://api.github.com/users/clearlinux/repos","events_url":"https://api.github.com/users/clearlinux/events{/privacy}","received_events_url":"https://api.github.com/users/clearlinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clearlinux/swupd-client","description":"Software update client","fork":false,"url":"https://api.github.com/repos/clearlinux/swupd-client","forks_url":"https://api.github.com/repos/clearlinux/swupd-client/forks","keys_url":"https://api.github.com/repos/clearlinux/swupd-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clearlinux/swupd-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clearlinux/swupd-client/teams","hooks_url":"https://api.github.com/repos/clearlinux/swupd-client/hooks","issue_events_url":"https://api.github.com/repos/clearlinux/swupd-client/issues/events{/number}","events_url":"https://api.github.com/repos/clearlinux/swupd-client/events","assignees_url":"https://api.github.com/repos/clearlinux/swupd-client/assignees{/user}","branches_url":"https://api.github.com/repos/clearlinux/swupd-client/branches{/branch}","tags_url":"https://api.github.com/repos/clearlinux/swupd-client/tags","blobs_url":"https://api.github.com/repos/clearlinux/swupd-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clearlinux/swupd-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clearlinux/swupd-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/clearlinux/swupd-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clearlinux/swupd-client/statuses/{sha}","languages_url":"https://api.github.com/repos/clearlinux/swupd-client/languages","stargazers_url":"https://api.github.com/repos/clearlinux/swupd-client/stargazers","contributors_url":"https://api.github.com/repos/clearlinux/swupd-client/contributors","subscribers_url":"https://api.github.com/repos/clearlinux/swupd-client/subscribers","subscription_url":"https://api.github.com/repos/clearlinux/swupd-client/subscription","commits_url":"https://api.github.com/repos/clearlinux/swupd-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/clearlinux/swupd-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/clearlinux/swupd-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/clearlinux/swupd-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/clearlinux/swupd-client/contents/{+path}","compare_url":"https://api.github.com/repos/clearlinux/swupd-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clearlinux/swupd-client/merges","archive_url":"https://api.github.com/repos/clearlinux/swupd-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clearlinux/swupd-client/downloads","issues_url":"https://api.github.com/repos/clearlinux/swupd-client/issues{/number}","pulls_url":"https://api.github.com/repos/clearlinux/swupd-client/pulls{/number}","milestones_url":"https://api.github.com/repos/clearlinux/swupd-client/milestones{/number}","notifications_url":"https://api.github.com/repos/clearlinux/swupd-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clearlinux/swupd-client/labels{/name}","releases_url":"https://api.github.com/repos/clearlinux/swupd-client/releases{/id}","deployments_url":"https://api.github.com/repos/clearlinux/swupd-client/deployments","created_at":"2016-02-24T19:54:13Z","updated_at":"2016-02-24T19:57:58Z","pushed_at":"2016-03-15T23:04:22Z","git_url":"git://github.com/clearlinux/swupd-client.git","ssh_url":"git@github.com:clearlinux/swupd-client.git","clone_url":"https://github.com/clearlinux/swupd-client.git","svn_url":"https://github.com/clearlinux/swupd-client","homepage":null,"size":362,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clearlinux/swupd-client/pulls/18"},"html":{"href":"https://github.com/clearlinux/swupd-client/pull/18"},"issue":{"href":"https://api.github.com/repos/clearlinux/swupd-client/issues/18"},"comments":{"href":"https://api.github.com/repos/clearlinux/swupd-client/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/clearlinux/swupd-client/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/clearlinux/swupd-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clearlinux/swupd-client/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/clearlinux/swupd-client/statuses/43928a1cb72dacc92b32884023693f9bbed7cf41"}}}}