{"action":"created","comment":{"url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls/comments/144614322","pull_request_review_id":69298963,"id":144614322,"diff_hunk":"@@ -56,9 +56,12 @@ def __init__(self, jobname, jobtitle, logdir, timeout, exclusive_jobnames=None):\n                 self.logpath = logpath\n                 break\n \n-        # Record this process in the master log\n-        with open(os.path.join(logdir, \"master.log\"), 'a') as fp:\n-            fp.write(\"%s %s: %d %s\\n\" % (time.asctime(), self.jobtitle, os.getpid(), self.logpath))\n+        try:\n+            # Record this process in the master log\n+            with open(os.path.join(logdir, \"master.log\"), 'a') as fp:\n+                fp.write(\"%s %s: %d %s\\n\" % (time.asctime(), self.jobtitle, os.getpid(), self.logpath))\n+        except:\n+            print \"Warning: Could not append to master log.\"","path":"impactlab_tools/utils/paralog.py","position":null,"original_position":12,"commit_id":"9c2d0b398cc6c130c0c8f4fea60e227704be21f4","original_commit_id":"9f524d142a3ceb9d330035bd32d39640019f4012","user":{"login":"delgadom","id":3698640,"avatar_url":"https://avatars3.githubusercontent.com/u/3698640?v=4","gravatar_id":"","url":"https://api.github.com/users/delgadom","html_url":"https://github.com/delgadom","followers_url":"https://api.github.com/users/delgadom/followers","following_url":"https://api.github.com/users/delgadom/following{/other_user}","gists_url":"https://api.github.com/users/delgadom/gists{/gist_id}","starred_url":"https://api.github.com/users/delgadom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delgadom/subscriptions","organizations_url":"https://api.github.com/users/delgadom/orgs","repos_url":"https://api.github.com/users/delgadom/repos","events_url":"https://api.github.com/users/delgadom/events{/privacy}","received_events_url":"https://api.github.com/users/delgadom/received_events","type":"User","site_admin":false},"body":"cool. just curious.","created_at":"2017-10-13T17:34:38Z","updated_at":"2017-10-13T17:34:38Z","html_url":"https://github.com/ClimateImpactLab/impactlab-tools/pull/97#discussion_r144614322","pull_request_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls/97","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls/comments/144614322"},"html":{"href":"https://github.com/ClimateImpactLab/impactlab-tools/pull/97#discussion_r144614322"},"pull_request":{"href":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls/97"}},"in_reply_to_id":144432821},"pull_request":{"url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls/97","id":145969446,"html_url":"https://github.com/ClimateImpactLab/impactlab-tools/pull/97","diff_url":"https://github.com/ClimateImpactLab/impactlab-tools/pull/97.diff","patch_url":"https://github.com/ClimateImpactLab/impactlab-tools/pull/97.patch","issue_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/issues/97","number":97,"state":"open","locked":false,"title":"Minor changes to versioning tool and paralog","user":{"login":"jrising","id":579448,"avatar_url":"https://avatars1.githubusercontent.com/u/579448?v=4","gravatar_id":"","url":"https://api.github.com/users/jrising","html_url":"https://github.com/jrising","followers_url":"https://api.github.com/users/jrising/followers","following_url":"https://api.github.com/users/jrising/following{/other_user}","gists_url":"https://api.github.com/users/jrising/gists{/gist_id}","starred_url":"https://api.github.com/users/jrising/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrising/subscriptions","organizations_url":"https://api.github.com/users/jrising/orgs","repos_url":"https://api.github.com/users/jrising/repos","events_url":"https://api.github.com/users/jrising/events{/privacy}","received_events_url":"https://api.github.com/users/jrising/received_events","type":"User","site_admin":false},"body":"This PR includes two unrelated changes (I'd been sitting on one, waiting until there was more to change, accidentally included it here, and decided it wasn't worth splitting out).\r\n\r\n1. Paralog now keeps a master log, which includes the process PIDs that it creates.\r\n2. The versions tool now properly does not check git if the `check_git` flag is false, but can check the local code for a git version.\r\n\r\nThe second change is the one I need right now, but the first change will be useful to working with the RAs too.","created_at":"2017-10-11T14:40:35Z","updated_at":"2017-10-13T17:34:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d698a10eba0dde6c352f23b249e82e66d81c8f56","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls/97/commits","review_comments_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls/97/comments","review_comment_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/issues/97/comments","statuses_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/statuses/9c2d0b398cc6c130c0c8f4fea60e227704be21f4","head":{"label":"ClimateImpactLab:newvers","ref":"newvers","sha":"9c2d0b398cc6c130c0c8f4fea60e227704be21f4","user":{"login":"ClimateImpactLab","id":17581376,"avatar_url":"https://avatars3.githubusercontent.com/u/17581376?v=4","gravatar_id":"","url":"https://api.github.com/users/ClimateImpactLab","html_url":"https://github.com/ClimateImpactLab","followers_url":"https://api.github.com/users/ClimateImpactLab/followers","following_url":"https://api.github.com/users/ClimateImpactLab/following{/other_user}","gists_url":"https://api.github.com/users/ClimateImpactLab/gists{/gist_id}","starred_url":"https://api.github.com/users/ClimateImpactLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClimateImpactLab/subscriptions","organizations_url":"https://api.github.com/users/ClimateImpactLab/orgs","repos_url":"https://api.github.com/users/ClimateImpactLab/repos","events_url":"https://api.github.com/users/ClimateImpactLab/events{/privacy}","received_events_url":"https://api.github.com/users/ClimateImpactLab/received_events","type":"Organization","site_admin":false},"repo":{"id":79398339,"name":"impactlab-tools","full_name":"ClimateImpactLab/impactlab-tools","owner":{"login":"ClimateImpactLab","id":17581376,"avatar_url":"https://avatars3.githubusercontent.com/u/17581376?v=4","gravatar_id":"","url":"https://api.github.com/users/ClimateImpactLab","html_url":"https://github.com/ClimateImpactLab","followers_url":"https://api.github.com/users/ClimateImpactLab/followers","following_url":"https://api.github.com/users/ClimateImpactLab/following{/other_user}","gists_url":"https://api.github.com/users/ClimateImpactLab/gists{/gist_id}","starred_url":"https://api.github.com/users/ClimateImpactLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClimateImpactLab/subscriptions","organizations_url":"https://api.github.com/users/ClimateImpactLab/orgs","repos_url":"https://api.github.com/users/ClimateImpactLab/repos","events_url":"https://api.github.com/users/ClimateImpactLab/events{/privacy}","received_events_url":"https://api.github.com/users/ClimateImpactLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ClimateImpactLab/impactlab-tools","description":"Python tools for Climate Impact Lab developers","fork":false,"url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools","forks_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/forks","keys_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/teams","hooks_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/hooks","issue_events_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/issues/events{/number}","events_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/events","assignees_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/assignees{/user}","branches_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/branches{/branch}","tags_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/tags","blobs_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/languages","stargazers_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/stargazers","contributors_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/contributors","subscribers_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/subscribers","subscription_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/subscription","commits_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/contents/{+path}","compare_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/merges","archive_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/downloads","issues_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/issues{/number}","pulls_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/labels{/name}","releases_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/releases{/id}","deployments_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/deployments","created_at":"2017-01-19T00:20:36Z","updated_at":"2017-07-10T19:33:18Z","pushed_at":"2017-10-13T17:34:02Z","git_url":"git://github.com/ClimateImpactLab/impactlab-tools.git","ssh_url":"git@github.com:ClimateImpactLab/impactlab-tools.git","clone_url":"https://github.com/ClimateImpactLab/impactlab-tools.git","svn_url":"https://github.com/ClimateImpactLab/impactlab-tools","homepage":null,"size":5883,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":1,"default_branch":"master"}},"base":{"label":"ClimateImpactLab:master","ref":"master","sha":"47af33e0340f259ea2bf1bba06bbe1149ec54852","user":{"login":"ClimateImpactLab","id":17581376,"avatar_url":"https://avatars3.githubusercontent.com/u/17581376?v=4","gravatar_id":"","url":"https://api.github.com/users/ClimateImpactLab","html_url":"https://github.com/ClimateImpactLab","followers_url":"https://api.github.com/users/ClimateImpactLab/followers","following_url":"https://api.github.com/users/ClimateImpactLab/following{/other_user}","gists_url":"https://api.github.com/users/ClimateImpactLab/gists{/gist_id}","starred_url":"https://api.github.com/users/ClimateImpactLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClimateImpactLab/subscriptions","organizations_url":"https://api.github.com/users/ClimateImpactLab/orgs","repos_url":"https://api.github.com/users/ClimateImpactLab/repos","events_url":"https://api.github.com/users/ClimateImpactLab/events{/privacy}","received_events_url":"https://api.github.com/users/ClimateImpactLab/received_events","type":"Organization","site_admin":false},"repo":{"id":79398339,"name":"impactlab-tools","full_name":"ClimateImpactLab/impactlab-tools","owner":{"login":"ClimateImpactLab","id":17581376,"avatar_url":"https://avatars3.githubusercontent.com/u/17581376?v=4","gravatar_id":"","url":"https://api.github.com/users/ClimateImpactLab","html_url":"https://github.com/ClimateImpactLab","followers_url":"https://api.github.com/users/ClimateImpactLab/followers","following_url":"https://api.github.com/users/ClimateImpactLab/following{/other_user}","gists_url":"https://api.github.com/users/ClimateImpactLab/gists{/gist_id}","starred_url":"https://api.github.com/users/ClimateImpactLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClimateImpactLab/subscriptions","organizations_url":"https://api.github.com/users/ClimateImpactLab/orgs","repos_url":"https://api.github.com/users/ClimateImpactLab/repos","events_url":"https://api.github.com/users/ClimateImpactLab/events{/privacy}","received_events_url":"https://api.github.com/users/ClimateImpactLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ClimateImpactLab/impactlab-tools","description":"Python tools for Climate Impact Lab developers","fork":false,"url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools","forks_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/forks","keys_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/teams","hooks_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/hooks","issue_events_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/issues/events{/number}","events_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/events","assignees_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/assignees{/user}","branches_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/branches{/branch}","tags_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/tags","blobs_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/languages","stargazers_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/stargazers","contributors_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/contributors","subscribers_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/subscribers","subscription_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/subscription","commits_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/contents/{+path}","compare_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/merges","archive_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/downloads","issues_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/issues{/number}","pulls_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/labels{/name}","releases_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/releases{/id}","deployments_url":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/deployments","created_at":"2017-01-19T00:20:36Z","updated_at":"2017-07-10T19:33:18Z","pushed_at":"2017-10-13T17:34:02Z","git_url":"git://github.com/ClimateImpactLab/impactlab-tools.git","ssh_url":"git@github.com:ClimateImpactLab/impactlab-tools.git","clone_url":"https://github.com/ClimateImpactLab/impactlab-tools.git","svn_url":"https://github.com/ClimateImpactLab/impactlab-tools","homepage":null,"size":5883,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls/97"},"html":{"href":"https://github.com/ClimateImpactLab/impactlab-tools/pull/97"},"issue":{"href":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/issues/97"},"comments":{"href":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/ClimateImpactLab/impactlab-tools/statuses/9c2d0b398cc6c130c0c8f4fea60e227704be21f4"}},"author_association":"OWNER"}}
{"actor":{"display_login":"delgadom"}}