{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls/comments/79836880","id":79836880,"diff_hunk":"@@ -121,8 +121,9 @@ QStringList OscapScannerRemoteSsh::getCommandLineArgs() const\n     }\n     else\n     {\n+        QString userTailoringFile = mSession->getUserTailoringFilePath();\n         args += buildEvaluationArgs(mSession->getOpenedFilePath(),\n-            mSession->hasTailoring() ? mSession->getTailoringFilePath() : QString(),\n+            mSession->hasTailoring() ?  ( userTailoringFile.isEmpty() ? mSession->getTailoringFilePath() : userTailoringFile ): QString(),","path":"src/OscapScannerRemoteSsh.cpp","position":null,"original_position":7,"commit_id":"702b9fb714e882139cc421defbcbcf93a9ff68c0","original_commit_id":"4971039bf8021fcd943f9fa20b4070298129a417","user":{"login":"yuumasato","id":7460169,"avatar_url":"https://avatars.githubusercontent.com/u/7460169?v=3","gravatar_id":"","url":"https://api.github.com/users/yuumasato","html_url":"https://github.com/yuumasato","followers_url":"https://api.github.com/users/yuumasato/followers","following_url":"https://api.github.com/users/yuumasato/following{/other_user}","gists_url":"https://api.github.com/users/yuumasato/gists{/gist_id}","starred_url":"https://api.github.com/users/yuumasato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuumasato/subscriptions","organizations_url":"https://api.github.com/users/yuumasato/orgs","repos_url":"https://api.github.com/users/yuumasato/repos","events_url":"https://api.github.com/users/yuumasato/events{/privacy}","received_events_url":"https://api.github.com/users/yuumasato/received_events","type":"User","site_admin":false},"body":"Thank you for the suggestion. I followed the idea of a wrap method and ended up changing the use of getUserTailoringFilePath().","created_at":"2016-09-21T13:49:32Z","updated_at":"2016-09-21T13:49:32Z","html_url":"https://github.com/OpenSCAP/scap-workbench/pull/81#discussion_r79836880","pull_request_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls/comments/79836880"},"html":{"href":"https://github.com/OpenSCAP/scap-workbench/pull/81#discussion_r79836880"},"pull_request":{"href":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls/81","id":86120418,"html_url":"https://github.com/OpenSCAP/scap-workbench/pull/81","diff_url":"https://github.com/OpenSCAP/scap-workbench/pull/81.diff","patch_url":"https://github.com/OpenSCAP/scap-workbench/pull/81.patch","issue_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/issues/81","number":81,"state":"open","locked":false,"title":"Fix tailoring file path of dry run","user":{"login":"yuumasato","id":7460169,"avatar_url":"https://avatars.githubusercontent.com/u/7460169?v=3","gravatar_id":"","url":"https://api.github.com/users/yuumasato","html_url":"https://github.com/yuumasato","followers_url":"https://api.github.com/users/yuumasato/followers","following_url":"https://api.github.com/users/yuumasato/following{/other_user}","gists_url":"https://api.github.com/users/yuumasato/gists{/gist_id}","starred_url":"https://api.github.com/users/yuumasato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuumasato/subscriptions","organizations_url":"https://api.github.com/users/yuumasato/orgs","repos_url":"https://api.github.com/users/yuumasato/repos","events_url":"https://api.github.com/users/yuumasato/events{/privacy}","received_events_url":"https://api.github.com/users/yuumasato/received_events","type":"User","site_admin":false},"body":"RHBZ#1368516\r\n\r\nProvide actual file path of tailoring file when using dry run feature.\r\nIf tailoring is not saved, a temporary tailoring path is provided.\r\n\r\nAlso, provide paths with white spaces protected by double quotes.","created_at":"2016-09-21T08:45:45Z","updated_at":"2016-09-21T13:49:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd6a6acb0bf21485a9bb31b0598a3d44f46ee653","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls/81/commits","review_comments_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls/81/comments","review_comment_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/issues/81/comments","statuses_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/statuses/702b9fb714e882139cc421defbcbcf93a9ff68c0","head":{"label":"yuumasato:v1-1-dry-run-tailoring-file","ref":"v1-1-dry-run-tailoring-file","sha":"702b9fb714e882139cc421defbcbcf93a9ff68c0","user":{"login":"yuumasato","id":7460169,"avatar_url":"https://avatars.githubusercontent.com/u/7460169?v=3","gravatar_id":"","url":"https://api.github.com/users/yuumasato","html_url":"https://github.com/yuumasato","followers_url":"https://api.github.com/users/yuumasato/followers","following_url":"https://api.github.com/users/yuumasato/following{/other_user}","gists_url":"https://api.github.com/users/yuumasato/gists{/gist_id}","starred_url":"https://api.github.com/users/yuumasato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuumasato/subscriptions","organizations_url":"https://api.github.com/users/yuumasato/orgs","repos_url":"https://api.github.com/users/yuumasato/repos","events_url":"https://api.github.com/users/yuumasato/events{/privacy}","received_events_url":"https://api.github.com/users/yuumasato/received_events","type":"User","site_admin":false},"repo":{"id":67585357,"name":"scap-workbench","full_name":"yuumasato/scap-workbench","owner":{"login":"yuumasato","id":7460169,"avatar_url":"https://avatars.githubusercontent.com/u/7460169?v=3","gravatar_id":"","url":"https://api.github.com/users/yuumasato","html_url":"https://github.com/yuumasato","followers_url":"https://api.github.com/users/yuumasato/followers","following_url":"https://api.github.com/users/yuumasato/following{/other_user}","gists_url":"https://api.github.com/users/yuumasato/gists{/gist_id}","starred_url":"https://api.github.com/users/yuumasato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuumasato/subscriptions","organizations_url":"https://api.github.com/users/yuumasato/orgs","repos_url":"https://api.github.com/users/yuumasato/repos","events_url":"https://api.github.com/users/yuumasato/events{/privacy}","received_events_url":"https://api.github.com/users/yuumasato/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuumasato/scap-workbench","description":"SCAP Scanner And Tailoring Graphical User Interface","fork":true,"url":"https://api.github.com/repos/yuumasato/scap-workbench","forks_url":"https://api.github.com/repos/yuumasato/scap-workbench/forks","keys_url":"https://api.github.com/repos/yuumasato/scap-workbench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuumasato/scap-workbench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuumasato/scap-workbench/teams","hooks_url":"https://api.github.com/repos/yuumasato/scap-workbench/hooks","issue_events_url":"https://api.github.com/repos/yuumasato/scap-workbench/issues/events{/number}","events_url":"https://api.github.com/repos/yuumasato/scap-workbench/events","assignees_url":"https://api.github.com/repos/yuumasato/scap-workbench/assignees{/user}","branches_url":"https://api.github.com/repos/yuumasato/scap-workbench/branches{/branch}","tags_url":"https://api.github.com/repos/yuumasato/scap-workbench/tags","blobs_url":"https://api.github.com/repos/yuumasato/scap-workbench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuumasato/scap-workbench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuumasato/scap-workbench/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuumasato/scap-workbench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuumasato/scap-workbench/statuses/{sha}","languages_url":"https://api.github.com/repos/yuumasato/scap-workbench/languages","stargazers_url":"https://api.github.com/repos/yuumasato/scap-workbench/stargazers","contributors_url":"https://api.github.com/repos/yuumasato/scap-workbench/contributors","subscribers_url":"https://api.github.com/repos/yuumasato/scap-workbench/subscribers","subscription_url":"https://api.github.com/repos/yuumasato/scap-workbench/subscription","commits_url":"https://api.github.com/repos/yuumasato/scap-workbench/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuumasato/scap-workbench/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuumasato/scap-workbench/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuumasato/scap-workbench/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuumasato/scap-workbench/contents/{+path}","compare_url":"https://api.github.com/repos/yuumasato/scap-workbench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuumasato/scap-workbench/merges","archive_url":"https://api.github.com/repos/yuumasato/scap-workbench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuumasato/scap-workbench/downloads","issues_url":"https://api.github.com/repos/yuumasato/scap-workbench/issues{/number}","pulls_url":"https://api.github.com/repos/yuumasato/scap-workbench/pulls{/number}","milestones_url":"https://api.github.com/repos/yuumasato/scap-workbench/milestones{/number}","notifications_url":"https://api.github.com/repos/yuumasato/scap-workbench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuumasato/scap-workbench/labels{/name}","releases_url":"https://api.github.com/repos/yuumasato/scap-workbench/releases{/id}","deployments_url":"https://api.github.com/repos/yuumasato/scap-workbench/deployments","created_at":"2016-09-07T07:59:39Z","updated_at":"2016-09-07T07:59:41Z","pushed_at":"2016-09-21T13:36:24Z","git_url":"git://github.com/yuumasato/scap-workbench.git","ssh_url":"git@github.com:yuumasato/scap-workbench.git","clone_url":"https://github.com/yuumasato/scap-workbench.git","svn_url":"https://github.com/yuumasato/scap-workbench","homepage":"http://www.open-scap.org/tools/scap-workbench","size":6382,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"v1-1"}},"base":{"label":"OpenSCAP:v1-1","ref":"v1-1","sha":"1fb7375df423a3f1cc7198d0a110de8ae05ce0e8","user":{"login":"OpenSCAP","id":7439934,"avatar_url":"https://avatars.githubusercontent.com/u/7439934?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSCAP","html_url":"https://github.com/OpenSCAP","followers_url":"https://api.github.com/users/OpenSCAP/followers","following_url":"https://api.github.com/users/OpenSCAP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSCAP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSCAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSCAP/subscriptions","organizations_url":"https://api.github.com/users/OpenSCAP/orgs","repos_url":"https://api.github.com/users/OpenSCAP/repos","events_url":"https://api.github.com/users/OpenSCAP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSCAP/received_events","type":"Organization","site_admin":false},"repo":{"id":19279825,"name":"scap-workbench","full_name":"OpenSCAP/scap-workbench","owner":{"login":"OpenSCAP","id":7439934,"avatar_url":"https://avatars.githubusercontent.com/u/7439934?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSCAP","html_url":"https://github.com/OpenSCAP","followers_url":"https://api.github.com/users/OpenSCAP/followers","following_url":"https://api.github.com/users/OpenSCAP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSCAP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSCAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSCAP/subscriptions","organizations_url":"https://api.github.com/users/OpenSCAP/orgs","repos_url":"https://api.github.com/users/OpenSCAP/repos","events_url":"https://api.github.com/users/OpenSCAP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSCAP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSCAP/scap-workbench","description":"SCAP Scanner And Tailoring Graphical User Interface","fork":false,"url":"https://api.github.com/repos/OpenSCAP/scap-workbench","forks_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/forks","keys_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/teams","hooks_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/hooks","issue_events_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/events","assignees_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/tags","blobs_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/languages","stargazers_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/stargazers","contributors_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/contributors","subscribers_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/subscribers","subscription_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/subscription","commits_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/merges","archive_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/downloads","issues_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/labels{/name}","releases_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/releases{/id}","deployments_url":"https://api.github.com/repos/OpenSCAP/scap-workbench/deployments","created_at":"2014-04-29T14:42:19Z","updated_at":"2016-09-19T14:49:40Z","pushed_at":"2016-09-21T13:36:24Z","git_url":"git://github.com/OpenSCAP/scap-workbench.git","ssh_url":"git@github.com:OpenSCAP/scap-workbench.git","clone_url":"https://github.com/OpenSCAP/scap-workbench.git","svn_url":"https://github.com/OpenSCAP/scap-workbench","homepage":"http://www.open-scap.org/tools/scap-workbench","size":6378,"stargazers_count":28,"watchers_count":28,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":33,"forks":9,"open_issues":33,"watchers":28,"default_branch":"v1-1"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls/81"},"html":{"href":"https://github.com/OpenSCAP/scap-workbench/pull/81"},"issue":{"href":"https://api.github.com/repos/OpenSCAP/scap-workbench/issues/81"},"comments":{"href":"https://api.github.com/repos/OpenSCAP/scap-workbench/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSCAP/scap-workbench/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSCAP/scap-workbench/statuses/702b9fb714e882139cc421defbcbcf93a9ff68c0"}}}}
{"actor":{"display_login":"yuumasato"}}