{"action":"opened","number":398,"pull_request":{"url":"https://api.github.com/repos/wenns/sonar-cxx/pulls/398","id":27836995,"html_url":"https://github.com/wenns/sonar-cxx/pull/398","diff_url":"https://github.com/wenns/sonar-cxx/pull/398.diff","patch_url":"https://github.com/wenns/sonar-cxx/pull/398.patch","issue_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/398","number":398,"state":"open","locked":false,"title":"include a buildlog parser to retrieve build configuration","user":{"login":"jmecosta","id":1041352,"avatar_url":"https://avatars.githubusercontent.com/u/1041352?v=3","gravatar_id":"","url":"https://api.github.com/users/jmecosta","html_url":"https://github.com/jmecosta","followers_url":"https://api.github.com/users/jmecosta/followers","following_url":"https://api.github.com/users/jmecosta/following{/other_user}","gists_url":"https://api.github.com/users/jmecosta/gists{/gist_id}","starred_url":"https://api.github.com/users/jmecosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmecosta/subscriptions","organizations_url":"https://api.github.com/users/jmecosta/orgs","repos_url":"https://api.github.com/users/jmecosta/repos","events_url":"https://api.github.com/users/jmecosta/events{/privacy}","received_events_url":"https://api.github.com/users/jmecosta/received_events","type":"User","site_admin":false},"body":"@wenns @guwirth @Bertk \r\n\r\nearlier ive mention that we run into a problem with nuget packages, include paths keep being changed because nuget handles those. i said that we could create a parser to handle visual studio project files. but i tough this is a more elegant form of setting up the plugin... \r\n\r\nhow does this work:\r\n\r\nuser builds solution like:\r\n* msbuild solution.sln /v:Detailed > buildlog.txt\r\n* sets in properties we have a new property: sonar.cxx.compilationBuildLog=buildlog.txt\r\n* runs sonar-runner\r\n\r\nincludes and defines are processed from the buildlog so no need for additional user input...\r\n\r\nthe current solution does not touch to much on the include import implementation, but for the future it would be nice to only use the include/defines that are actually used per compilation unit. now all includes are initially stored leading likely to slow down builds.\r\n\r\nive include another property: sonar.cxx.compilationFormat = default now vc++, but if needed can be used to use with cmake or other build system\r\n\r\nwould this be something usefull for you guys\r\n\r\n\r\n\r\n\r\n\r\n","created_at":"2015-01-22T11:58:20Z","updated_at":"2015-01-22T11:58:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wenns/sonar-cxx/pulls/398/commits","review_comments_url":"https://api.github.com/repos/wenns/sonar-cxx/pulls/398/comments","review_comment_url":"https://api.github.com/repos/wenns/sonar-cxx/pulls/comments/{number}","comments_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/398/comments","statuses_url":"https://api.github.com/repos/wenns/sonar-cxx/statuses/2236cc2b410926cd62874c577dbd166c9f2d9bbf","head":{"label":"jmecosta:feature/use-msbuild-build-log-to-configure-include-and-defines","ref":"feature/use-msbuild-build-log-to-configure-include-and-defines","sha":"2236cc2b410926cd62874c577dbd166c9f2d9bbf","user":{"login":"jmecosta","id":1041352,"avatar_url":"https://avatars.githubusercontent.com/u/1041352?v=3","gravatar_id":"","url":"https://api.github.com/users/jmecosta","html_url":"https://github.com/jmecosta","followers_url":"https://api.github.com/users/jmecosta/followers","following_url":"https://api.github.com/users/jmecosta/following{/other_user}","gists_url":"https://api.github.com/users/jmecosta/gists{/gist_id}","starred_url":"https://api.github.com/users/jmecosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmecosta/subscriptions","organizations_url":"https://api.github.com/users/jmecosta/orgs","repos_url":"https://api.github.com/users/jmecosta/repos","events_url":"https://api.github.com/users/jmecosta/events{/privacy}","received_events_url":"https://api.github.com/users/jmecosta/received_events","type":"User","site_admin":false},"repo":{"id":8026555,"name":"sonar-cxx","full_name":"jmecosta/sonar-cxx","owner":{"login":"jmecosta","id":1041352,"avatar_url":"https://avatars.githubusercontent.com/u/1041352?v=3","gravatar_id":"","url":"https://api.github.com/users/jmecosta","html_url":"https://github.com/jmecosta","followers_url":"https://api.github.com/users/jmecosta/followers","following_url":"https://api.github.com/users/jmecosta/following{/other_user}","gists_url":"https://api.github.com/users/jmecosta/gists{/gist_id}","starred_url":"https://api.github.com/users/jmecosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmecosta/subscriptions","organizations_url":"https://api.github.com/users/jmecosta/orgs","repos_url":"https://api.github.com/users/jmecosta/repos","events_url":"https://api.github.com/users/jmecosta/events{/privacy}","received_events_url":"https://api.github.com/users/jmecosta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmecosta/sonar-cxx","description":"","fork":true,"url":"https://api.github.com/repos/jmecosta/sonar-cxx","forks_url":"https://api.github.com/repos/jmecosta/sonar-cxx/forks","keys_url":"https://api.github.com/repos/jmecosta/sonar-cxx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmecosta/sonar-cxx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmecosta/sonar-cxx/teams","hooks_url":"https://api.github.com/repos/jmecosta/sonar-cxx/hooks","issue_events_url":"https://api.github.com/repos/jmecosta/sonar-cxx/issues/events{/number}","events_url":"https://api.github.com/repos/jmecosta/sonar-cxx/events","assignees_url":"https://api.github.com/repos/jmecosta/sonar-cxx/assignees{/user}","branches_url":"https://api.github.com/repos/jmecosta/sonar-cxx/branches{/branch}","tags_url":"https://api.github.com/repos/jmecosta/sonar-cxx/tags","blobs_url":"https://api.github.com/repos/jmecosta/sonar-cxx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmecosta/sonar-cxx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmecosta/sonar-cxx/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmecosta/sonar-cxx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmecosta/sonar-cxx/statuses/{sha}","languages_url":"https://api.github.com/repos/jmecosta/sonar-cxx/languages","stargazers_url":"https://api.github.com/repos/jmecosta/sonar-cxx/stargazers","contributors_url":"https://api.github.com/repos/jmecosta/sonar-cxx/contributors","subscribers_url":"https://api.github.com/repos/jmecosta/sonar-cxx/subscribers","subscription_url":"https://api.github.com/repos/jmecosta/sonar-cxx/subscription","commits_url":"https://api.github.com/repos/jmecosta/sonar-cxx/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmecosta/sonar-cxx/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmecosta/sonar-cxx/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmecosta/sonar-cxx/issues/comments/{number}","contents_url":"https://api.github.com/repos/jmecosta/sonar-cxx/contents/{+path}","compare_url":"https://api.github.com/repos/jmecosta/sonar-cxx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmecosta/sonar-cxx/merges","archive_url":"https://api.github.com/repos/jmecosta/sonar-cxx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmecosta/sonar-cxx/downloads","issues_url":"https://api.github.com/repos/jmecosta/sonar-cxx/issues{/number}","pulls_url":"https://api.github.com/repos/jmecosta/sonar-cxx/pulls{/number}","milestones_url":"https://api.github.com/repos/jmecosta/sonar-cxx/milestones{/number}","notifications_url":"https://api.github.com/repos/jmecosta/sonar-cxx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmecosta/sonar-cxx/labels{/name}","releases_url":"https://api.github.com/repos/jmecosta/sonar-cxx/releases{/id}","created_at":"2013-02-05T10:00:16Z","updated_at":"2014-11-23T11:17:11Z","pushed_at":"2015-01-22T11:49:09Z","git_url":"git://github.com/jmecosta/sonar-cxx.git","ssh_url":"git@github.com:jmecosta/sonar-cxx.git","clone_url":"https://github.com/jmecosta/sonar-cxx.git","svn_url":"https://github.com/jmecosta/sonar-cxx","homepage":null,"size":51851,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wenns:master","ref":"master","sha":"c241f938db822b21e675fc53930811f429a30a3b","user":{"login":"wenns","id":1336856,"avatar_url":"https://avatars.githubusercontent.com/u/1336856?v=3","gravatar_id":"","url":"https://api.github.com/users/wenns","html_url":"https://github.com/wenns","followers_url":"https://api.github.com/users/wenns/followers","following_url":"https://api.github.com/users/wenns/following{/other_user}","gists_url":"https://api.github.com/users/wenns/gists{/gist_id}","starred_url":"https://api.github.com/users/wenns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenns/subscriptions","organizations_url":"https://api.github.com/users/wenns/orgs","repos_url":"https://api.github.com/users/wenns/repos","events_url":"https://api.github.com/users/wenns/events{/privacy}","received_events_url":"https://api.github.com/users/wenns/received_events","type":"User","site_admin":false},"repo":{"id":6140556,"name":"sonar-cxx","full_name":"wenns/sonar-cxx","owner":{"login":"wenns","id":1336856,"avatar_url":"https://avatars.githubusercontent.com/u/1336856?v=3","gravatar_id":"","url":"https://api.github.com/users/wenns","html_url":"https://github.com/wenns","followers_url":"https://api.github.com/users/wenns/followers","following_url":"https://api.github.com/users/wenns/following{/other_user}","gists_url":"https://api.github.com/users/wenns/gists{/gist_id}","starred_url":"https://api.github.com/users/wenns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenns/subscriptions","organizations_url":"https://api.github.com/users/wenns/orgs","repos_url":"https://api.github.com/users/wenns/repos","events_url":"https://api.github.com/users/wenns/events{/privacy}","received_events_url":"https://api.github.com/users/wenns/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wenns/sonar-cxx","description":"This repository contains a SonarQube plugin implementing C++ support.","fork":false,"url":"https://api.github.com/repos/wenns/sonar-cxx","forks_url":"https://api.github.com/repos/wenns/sonar-cxx/forks","keys_url":"https://api.github.com/repos/wenns/sonar-cxx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wenns/sonar-cxx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wenns/sonar-cxx/teams","hooks_url":"https://api.github.com/repos/wenns/sonar-cxx/hooks","issue_events_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/events{/number}","events_url":"https://api.github.com/repos/wenns/sonar-cxx/events","assignees_url":"https://api.github.com/repos/wenns/sonar-cxx/assignees{/user}","branches_url":"https://api.github.com/repos/wenns/sonar-cxx/branches{/branch}","tags_url":"https://api.github.com/repos/wenns/sonar-cxx/tags","blobs_url":"https://api.github.com/repos/wenns/sonar-cxx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wenns/sonar-cxx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wenns/sonar-cxx/git/refs{/sha}","trees_url":"https://api.github.com/repos/wenns/sonar-cxx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wenns/sonar-cxx/statuses/{sha}","languages_url":"https://api.github.com/repos/wenns/sonar-cxx/languages","stargazers_url":"https://api.github.com/repos/wenns/sonar-cxx/stargazers","contributors_url":"https://api.github.com/repos/wenns/sonar-cxx/contributors","subscribers_url":"https://api.github.com/repos/wenns/sonar-cxx/subscribers","subscription_url":"https://api.github.com/repos/wenns/sonar-cxx/subscription","commits_url":"https://api.github.com/repos/wenns/sonar-cxx/commits{/sha}","git_commits_url":"https://api.github.com/repos/wenns/sonar-cxx/git/commits{/sha}","comments_url":"https://api.github.com/repos/wenns/sonar-cxx/comments{/number}","issue_comment_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/comments/{number}","contents_url":"https://api.github.com/repos/wenns/sonar-cxx/contents/{+path}","compare_url":"https://api.github.com/repos/wenns/sonar-cxx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wenns/sonar-cxx/merges","archive_url":"https://api.github.com/repos/wenns/sonar-cxx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wenns/sonar-cxx/downloads","issues_url":"https://api.github.com/repos/wenns/sonar-cxx/issues{/number}","pulls_url":"https://api.github.com/repos/wenns/sonar-cxx/pulls{/number}","milestones_url":"https://api.github.com/repos/wenns/sonar-cxx/milestones{/number}","notifications_url":"https://api.github.com/repos/wenns/sonar-cxx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wenns/sonar-cxx/labels{/name}","releases_url":"https://api.github.com/repos/wenns/sonar-cxx/releases{/id}","created_at":"2012-10-09T12:48:03Z","updated_at":"2015-01-21T16:50:41Z","pushed_at":"2015-01-21T16:50:39Z","git_url":"git://github.com/wenns/sonar-cxx.git","ssh_url":"git@github.com:wenns/sonar-cxx.git","clone_url":"https://github.com/wenns/sonar-cxx.git","svn_url":"https://github.com/wenns/sonar-cxx","homepage":"","size":56970,"stargazers_count":65,"watchers_count":65,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":50,"forks":62,"open_issues":50,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wenns/sonar-cxx/pulls/398"},"html":{"href":"https://github.com/wenns/sonar-cxx/pull/398"},"issue":{"href":"https://api.github.com/repos/wenns/sonar-cxx/issues/398"},"comments":{"href":"https://api.github.com/repos/wenns/sonar-cxx/issues/398/comments"},"review_comments":{"href":"https://api.github.com/repos/wenns/sonar-cxx/pulls/398/comments"},"review_comment":{"href":"https://api.github.com/repos/wenns/sonar-cxx/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/wenns/sonar-cxx/pulls/398/commits"},"statuses":{"href":"https://api.github.com/repos/wenns/sonar-cxx/statuses/2236cc2b410926cd62874c577dbd166c9f2d9bbf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1506,"deletions":7,"changed_files":6}}