{"action":"created","comment":{"url":"https://api.github.com/repos/vgvassilev/cling/pulls/comments/74742752","id":74742752,"diff_hunk":"@@ -379,17 +450,45 @@ def set_vars():\n     print('SHLIBEXT: ' + SHLIBEXT)\n     print('CLANG_VERSION: ' + CLANG_VERSION)\n \n+def safeRemove(base, *args):\n+    try:\n+        os.remove(os.path.join(base, *args))\n+    except:\n+        pass\n+\n+class Build(object):\n+    def __init__(self):\n+        super(Build, self).__init__()\n+        self.buildType = 'Debug' if args.get('create_dev_env') else 'Release'\n+        self.win32 = platform.system() == 'Windows'\n+        self.cores = multiprocessing.cpu_count()\n+        # Travis CI, GCC crashes if more than 4 cores used.\n+        if os.environ.get('TRAVIS_OS_NAME', None):\n+            self.cores = min(self.cores, 4)\n+\n+    def config(self, configFlags):\n+        flags = '-G \"Visual Studio 14\"' if self.win32 else ''","path":"tools/packaging/cpt.py","position":177,"original_position":177,"commit_id":"ad9b82bf0ad6261d444957ccd71f2e467269a02c","original_commit_id":"ad9b82bf0ad6261d444957ccd71f2e467269a02c","user":{"login":"vgvassilev","id":6516307,"avatar_url":"https://avatars.githubusercontent.com/u/6516307?v=3","gravatar_id":"","url":"https://api.github.com/users/vgvassilev","html_url":"https://github.com/vgvassilev","followers_url":"https://api.github.com/users/vgvassilev/followers","following_url":"https://api.github.com/users/vgvassilev/following{/other_user}","gists_url":"https://api.github.com/users/vgvassilev/gists{/gist_id}","starred_url":"https://api.github.com/users/vgvassilev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgvassilev/subscriptions","organizations_url":"https://api.github.com/users/vgvassilev/orgs","repos_url":"https://api.github.com/users/vgvassilev/repos","events_url":"https://api.github.com/users/vgvassilev/events{/privacy}","received_events_url":"https://api.github.com/users/vgvassilev/received_events","type":"User","site_admin":false},"body":"@marsupial, yes, I know. Since you are reshuffling things around, let's simplify it while we are in this area.","created_at":"2016-08-15T10:13:37Z","updated_at":"2016-08-15T10:13:37Z","html_url":"https://github.com/vgvassilev/cling/pull/105#discussion_r74742752","pull_request_url":"https://api.github.com/repos/vgvassilev/cling/pulls/105","_links":{"self":{"href":"https://api.github.com/repos/vgvassilev/cling/pulls/comments/74742752"},"html":{"href":"https://github.com/vgvassilev/cling/pull/105#discussion_r74742752"},"pull_request":{"href":"https://api.github.com/repos/vgvassilev/cling/pulls/105"}}},"pull_request":{"url":"https://api.github.com/repos/vgvassilev/cling/pulls/105","id":81082968,"html_url":"https://github.com/vgvassilev/cling/pull/105","diff_url":"https://github.com/vgvassilev/cling/pull/105.diff","patch_url":"https://github.com/vgvassilev/cling/pull/105.patch","issue_url":"https://api.github.com/repos/vgvassilev/cling/issues/105","number":105,"state":"open","locked":false,"title":"Cpt improvements for github builds","user":{"login":"vgvassilev","id":6516307,"avatar_url":"https://avatars.githubusercontent.com/u/6516307?v=3","gravatar_id":"","url":"https://api.github.com/users/vgvassilev","html_url":"https://github.com/vgvassilev","followers_url":"https://api.github.com/users/vgvassilev/followers","following_url":"https://api.github.com/users/vgvassilev/following{/other_user}","gists_url":"https://api.github.com/users/vgvassilev/gists{/gist_id}","starred_url":"https://api.github.com/users/vgvassilev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgvassilev/subscriptions","organizations_url":"https://api.github.com/users/vgvassilev/orgs","repos_url":"https://api.github.com/users/vgvassilev/repos","events_url":"https://api.github.com/users/vgvassilev/events{/privacy}","received_events_url":"https://api.github.com/users/vgvassilev/received_events","type":"User","site_admin":false},"body":"This PR is cherry-picked from https://github.com/root-mirror/cling/pull/26 by @marsupial.\r\n\r\n@onyb Could you review this please?","created_at":"2016-08-12T08:21:47Z","updated_at":"2016-08-15T10:13:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8cd05a4d8811e3877e67c63d348151c8d96f09a1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vgvassilev/cling/pulls/105/commits","review_comments_url":"https://api.github.com/repos/vgvassilev/cling/pulls/105/comments","review_comment_url":"https://api.github.com/repos/vgvassilev/cling/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vgvassilev/cling/issues/105/comments","statuses_url":"https://api.github.com/repos/vgvassilev/cling/statuses/ad9b82bf0ad6261d444957ccd71f2e467269a02c","head":{"label":"vgvassilev:cpt-improvements","ref":"cpt-improvements","sha":"ad9b82bf0ad6261d444957ccd71f2e467269a02c","user":{"login":"vgvassilev","id":6516307,"avatar_url":"https://avatars.githubusercontent.com/u/6516307?v=3","gravatar_id":"","url":"https://api.github.com/users/vgvassilev","html_url":"https://github.com/vgvassilev","followers_url":"https://api.github.com/users/vgvassilev/followers","following_url":"https://api.github.com/users/vgvassilev/following{/other_user}","gists_url":"https://api.github.com/users/vgvassilev/gists{/gist_id}","starred_url":"https://api.github.com/users/vgvassilev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgvassilev/subscriptions","organizations_url":"https://api.github.com/users/vgvassilev/orgs","repos_url":"https://api.github.com/users/vgvassilev/repos","events_url":"https://api.github.com/users/vgvassilev/events{/privacy}","received_events_url":"https://api.github.com/users/vgvassilev/received_events","type":"User","site_admin":false},"repo":{"id":16285236,"name":"cling","full_name":"vgvassilev/cling","owner":{"login":"vgvassilev","id":6516307,"avatar_url":"https://avatars.githubusercontent.com/u/6516307?v=3","gravatar_id":"","url":"https://api.github.com/users/vgvassilev","html_url":"https://github.com/vgvassilev","followers_url":"https://api.github.com/users/vgvassilev/followers","following_url":"https://api.github.com/users/vgvassilev/following{/other_user}","gists_url":"https://api.github.com/users/vgvassilev/gists{/gist_id}","starred_url":"https://api.github.com/users/vgvassilev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgvassilev/subscriptions","organizations_url":"https://api.github.com/users/vgvassilev/orgs","repos_url":"https://api.github.com/users/vgvassilev/repos","events_url":"https://api.github.com/users/vgvassilev/events{/privacy}","received_events_url":"https://api.github.com/users/vgvassilev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vgvassilev/cling","description":"The interactive C++ interpreter Cling","fork":false,"url":"https://api.github.com/repos/vgvassilev/cling","forks_url":"https://api.github.com/repos/vgvassilev/cling/forks","keys_url":"https://api.github.com/repos/vgvassilev/cling/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vgvassilev/cling/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vgvassilev/cling/teams","hooks_url":"https://api.github.com/repos/vgvassilev/cling/hooks","issue_events_url":"https://api.github.com/repos/vgvassilev/cling/issues/events{/number}","events_url":"https://api.github.com/repos/vgvassilev/cling/events","assignees_url":"https://api.github.com/repos/vgvassilev/cling/assignees{/user}","branches_url":"https://api.github.com/repos/vgvassilev/cling/branches{/branch}","tags_url":"https://api.github.com/repos/vgvassilev/cling/tags","blobs_url":"https://api.github.com/repos/vgvassilev/cling/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vgvassilev/cling/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vgvassilev/cling/git/refs{/sha}","trees_url":"https://api.github.com/repos/vgvassilev/cling/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vgvassilev/cling/statuses/{sha}","languages_url":"https://api.github.com/repos/vgvassilev/cling/languages","stargazers_url":"https://api.github.com/repos/vgvassilev/cling/stargazers","contributors_url":"https://api.github.com/repos/vgvassilev/cling/contributors","subscribers_url":"https://api.github.com/repos/vgvassilev/cling/subscribers","subscription_url":"https://api.github.com/repos/vgvassilev/cling/subscription","commits_url":"https://api.github.com/repos/vgvassilev/cling/commits{/sha}","git_commits_url":"https://api.github.com/repos/vgvassilev/cling/git/commits{/sha}","comments_url":"https://api.github.com/repos/vgvassilev/cling/comments{/number}","issue_comment_url":"https://api.github.com/repos/vgvassilev/cling/issues/comments{/number}","contents_url":"https://api.github.com/repos/vgvassilev/cling/contents/{+path}","compare_url":"https://api.github.com/repos/vgvassilev/cling/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vgvassilev/cling/merges","archive_url":"https://api.github.com/repos/vgvassilev/cling/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vgvassilev/cling/downloads","issues_url":"https://api.github.com/repos/vgvassilev/cling/issues{/number}","pulls_url":"https://api.github.com/repos/vgvassilev/cling/pulls{/number}","milestones_url":"https://api.github.com/repos/vgvassilev/cling/milestones{/number}","notifications_url":"https://api.github.com/repos/vgvassilev/cling/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vgvassilev/cling/labels{/name}","releases_url":"https://api.github.com/repos/vgvassilev/cling/releases{/id}","deployments_url":"https://api.github.com/repos/vgvassilev/cling/deployments","created_at":"2014-01-27T16:43:59Z","updated_at":"2016-08-15T00:21:05Z","pushed_at":"2016-08-13T19:02:15Z","git_url":"git://github.com/vgvassilev/cling.git","ssh_url":"git@github.com:vgvassilev/cling.git","clone_url":"https://github.com/vgvassilev/cling.git","svn_url":"https://github.com/vgvassilev/cling","homepage":"https://rawgit.com/vgvassilev/cling/master/www/index.html","size":17733,"stargazers_count":867,"watchers_count":867,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":11,"forks":51,"open_issues":11,"watchers":867,"default_branch":"master"}},"base":{"label":"vgvassilev:master","ref":"master","sha":"d7bc590e0397acd4bdb8969ce84fe1d34b18b3d3","user":{"login":"vgvassilev","id":6516307,"avatar_url":"https://avatars.githubusercontent.com/u/6516307?v=3","gravatar_id":"","url":"https://api.github.com/users/vgvassilev","html_url":"https://github.com/vgvassilev","followers_url":"https://api.github.com/users/vgvassilev/followers","following_url":"https://api.github.com/users/vgvassilev/following{/other_user}","gists_url":"https://api.github.com/users/vgvassilev/gists{/gist_id}","starred_url":"https://api.github.com/users/vgvassilev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgvassilev/subscriptions","organizations_url":"https://api.github.com/users/vgvassilev/orgs","repos_url":"https://api.github.com/users/vgvassilev/repos","events_url":"https://api.github.com/users/vgvassilev/events{/privacy}","received_events_url":"https://api.github.com/users/vgvassilev/received_events","type":"User","site_admin":false},"repo":{"id":16285236,"name":"cling","full_name":"vgvassilev/cling","owner":{"login":"vgvassilev","id":6516307,"avatar_url":"https://avatars.githubusercontent.com/u/6516307?v=3","gravatar_id":"","url":"https://api.github.com/users/vgvassilev","html_url":"https://github.com/vgvassilev","followers_url":"https://api.github.com/users/vgvassilev/followers","following_url":"https://api.github.com/users/vgvassilev/following{/other_user}","gists_url":"https://api.github.com/users/vgvassilev/gists{/gist_id}","starred_url":"https://api.github.com/users/vgvassilev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgvassilev/subscriptions","organizations_url":"https://api.github.com/users/vgvassilev/orgs","repos_url":"https://api.github.com/users/vgvassilev/repos","events_url":"https://api.github.com/users/vgvassilev/events{/privacy}","received_events_url":"https://api.github.com/users/vgvassilev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vgvassilev/cling","description":"The interactive C++ interpreter Cling","fork":false,"url":"https://api.github.com/repos/vgvassilev/cling","forks_url":"https://api.github.com/repos/vgvassilev/cling/forks","keys_url":"https://api.github.com/repos/vgvassilev/cling/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vgvassilev/cling/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vgvassilev/cling/teams","hooks_url":"https://api.github.com/repos/vgvassilev/cling/hooks","issue_events_url":"https://api.github.com/repos/vgvassilev/cling/issues/events{/number}","events_url":"https://api.github.com/repos/vgvassilev/cling/events","assignees_url":"https://api.github.com/repos/vgvassilev/cling/assignees{/user}","branches_url":"https://api.github.com/repos/vgvassilev/cling/branches{/branch}","tags_url":"https://api.github.com/repos/vgvassilev/cling/tags","blobs_url":"https://api.github.com/repos/vgvassilev/cling/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vgvassilev/cling/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vgvassilev/cling/git/refs{/sha}","trees_url":"https://api.github.com/repos/vgvassilev/cling/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vgvassilev/cling/statuses/{sha}","languages_url":"https://api.github.com/repos/vgvassilev/cling/languages","stargazers_url":"https://api.github.com/repos/vgvassilev/cling/stargazers","contributors_url":"https://api.github.com/repos/vgvassilev/cling/contributors","subscribers_url":"https://api.github.com/repos/vgvassilev/cling/subscribers","subscription_url":"https://api.github.com/repos/vgvassilev/cling/subscription","commits_url":"https://api.github.com/repos/vgvassilev/cling/commits{/sha}","git_commits_url":"https://api.github.com/repos/vgvassilev/cling/git/commits{/sha}","comments_url":"https://api.github.com/repos/vgvassilev/cling/comments{/number}","issue_comment_url":"https://api.github.com/repos/vgvassilev/cling/issues/comments{/number}","contents_url":"https://api.github.com/repos/vgvassilev/cling/contents/{+path}","compare_url":"https://api.github.com/repos/vgvassilev/cling/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vgvassilev/cling/merges","archive_url":"https://api.github.com/repos/vgvassilev/cling/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vgvassilev/cling/downloads","issues_url":"https://api.github.com/repos/vgvassilev/cling/issues{/number}","pulls_url":"https://api.github.com/repos/vgvassilev/cling/pulls{/number}","milestones_url":"https://api.github.com/repos/vgvassilev/cling/milestones{/number}","notifications_url":"https://api.github.com/repos/vgvassilev/cling/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vgvassilev/cling/labels{/name}","releases_url":"https://api.github.com/repos/vgvassilev/cling/releases{/id}","deployments_url":"https://api.github.com/repos/vgvassilev/cling/deployments","created_at":"2014-01-27T16:43:59Z","updated_at":"2016-08-15T00:21:05Z","pushed_at":"2016-08-13T19:02:15Z","git_url":"git://github.com/vgvassilev/cling.git","ssh_url":"git@github.com:vgvassilev/cling.git","clone_url":"https://github.com/vgvassilev/cling.git","svn_url":"https://github.com/vgvassilev/cling","homepage":"https://rawgit.com/vgvassilev/cling/master/www/index.html","size":17733,"stargazers_count":867,"watchers_count":867,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":11,"forks":51,"open_issues":11,"watchers":867,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vgvassilev/cling/pulls/105"},"html":{"href":"https://github.com/vgvassilev/cling/pull/105"},"issue":{"href":"https://api.github.com/repos/vgvassilev/cling/issues/105"},"comments":{"href":"https://api.github.com/repos/vgvassilev/cling/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/vgvassilev/cling/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/vgvassilev/cling/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vgvassilev/cling/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/vgvassilev/cling/statuses/ad9b82bf0ad6261d444957ccd71f2e467269a02c"}}}}
{"actor":{"display_login":"vgvassilev"}}