GitHub PullRequestEvent at 2014-09-19 14:52:20
Repository: smartdispatch
Actor: MarcCote
Payload: {"action":"opened","number":31,"pull_request":{"url":"https://api.github.com/repos/SMART-Lab/smartdispatch/pulls/31","id":21502379,"html_url":"https://github.com/SMART-Lab/smartdispatch/pull/31","diff_url":"https://github.com/SMART-Lab/smartdispatch/pull/31.diff","patch_url":"https://github.com/SMART-Lab/smartdispatch/pull/31.patch","issue_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/issues/31","number":31,"state":"open","locked":false,"title":"Add a simple but efficient lock contextmanager","user":{"login":"MarcCote","id":660004,"avatar_url":"https://avatars.githubusercontent.com/u/660004?v=2","gravatar_id":"1217b9d12b30f0e4a8d6e0b9a7b8eb93","url":"https://api.github.com/users/MarcCote","html_url":"https://github.com/MarcCote","followers_url":"https://api.github.com/users/MarcCote/followers","following_url":"https://api.github.com/users/MarcCote/following{/other_user}","gists_url":"https://api.github.com/users/MarcCote/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcCote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcCote/subscriptions","organizations_url":"https://api.github.com/users/MarcCote/orgs","repos_url":"https://api.github.com/users/MarcCote/repos","events_url":"https://api.github.com/users/MarcCote/events{/privacy}","received_events_url":"https://api.github.com/users/MarcCote/received_events","type":"User","site_admin":false},"body":"To be merged after PR #30.\r\n\r\nTo use:\r\n```python\r\nfrom smartdispatch.utils import open_and_lock\r\nwith open_and_lock(\"/tmp/test.txt\", 'w') ad f:\r\n    f.write(\"Exclusive writing. Awesome!\")\r\n```","created_at":"2014-09-19T14:52:19Z","updated_at":"2014-09-19T14:52:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/pulls/31/commits","review_comments_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/pulls/31/comments","review_comment_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/pulls/comments/{number}","comments_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/issues/31/comments","statuses_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/statuses/47a0f91d3e8458007aa10c3f548ed8f4662d6906","head":{"label":"MarcCote:add_lock_contextmanager","ref":"add_lock_contextmanager","sha":"47a0f91d3e8458007aa10c3f548ed8f4662d6906","user":{"login":"MarcCote","id":660004,"avatar_url":"https://avatars.githubusercontent.com/u/660004?v=2","gravatar_id":"1217b9d12b30f0e4a8d6e0b9a7b8eb93","url":"https://api.github.com/users/MarcCote","html_url":"https://github.com/MarcCote","followers_url":"https://api.github.com/users/MarcCote/followers","following_url":"https://api.github.com/users/MarcCote/following{/other_user}","gists_url":"https://api.github.com/users/MarcCote/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcCote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcCote/subscriptions","organizations_url":"https://api.github.com/users/MarcCote/orgs","repos_url":"https://api.github.com/users/MarcCote/repos","events_url":"https://api.github.com/users/MarcCote/events{/privacy}","received_events_url":"https://api.github.com/users/MarcCote/received_events","type":"User","site_admin":false},"repo":{"id":16565530,"name":"smartdispatch","full_name":"MarcCote/smartdispatch","owner":{"login":"MarcCote","id":660004,"avatar_url":"https://avatars.githubusercontent.com/u/660004?v=2","gravatar_id":"1217b9d12b30f0e4a8d6e0b9a7b8eb93","url":"https://api.github.com/users/MarcCote","html_url":"https://github.com/MarcCote","followers_url":"https://api.github.com/users/MarcCote/followers","following_url":"https://api.github.com/users/MarcCote/following{/other_user}","gists_url":"https://api.github.com/users/MarcCote/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcCote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcCote/subscriptions","organizations_url":"https://api.github.com/users/MarcCote/orgs","repos_url":"https://api.github.com/users/MarcCote/repos","events_url":"https://api.github.com/users/MarcCote/events{/privacy}","received_events_url":"https://api.github.com/users/MarcCote/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MarcCote/smartdispatch","description":"Development of a command that launch job on the super computer Mammuth ","fork":true,"url":"https://api.github.com/repos/MarcCote/smartdispatch","forks_url":"https://api.github.com/repos/MarcCote/smartdispatch/forks","keys_url":"https://api.github.com/repos/MarcCote/smartdispatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarcCote/smartdispatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarcCote/smartdispatch/teams","hooks_url":"https://api.github.com/repos/MarcCote/smartdispatch/hooks","issue_events_url":"https://api.github.com/repos/MarcCote/smartdispatch/issues/events{/number}","events_url":"https://api.github.com/repos/MarcCote/smartdispatch/events","assignees_url":"https://api.github.com/repos/MarcCote/smartdispatch/assignees{/user}","branches_url":"https://api.github.com/repos/MarcCote/smartdispatch/branches{/branch}","tags_url":"https://api.github.com/repos/MarcCote/smartdispatch/tags","blobs_url":"https://api.github.com/repos/MarcCote/smartdispatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarcCote/smartdispatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarcCote/smartdispatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarcCote/smartdispatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarcCote/smartdispatch/statuses/{sha}","languages_url":"https://api.github.com/repos/MarcCote/smartdispatch/languages","stargazers_url":"https://api.github.com/repos/MarcCote/smartdispatch/stargazers","contributors_url":"https://api.github.com/repos/MarcCote/smartdispatch/contributors","subscribers_url":"https://api.github.com/repos/MarcCote/smartdispatch/subscribers","subscription_url":"https://api.github.com/repos/MarcCote/smartdispatch/subscription","commits_url":"https://api.github.com/repos/MarcCote/smartdispatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarcCote/smartdispatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarcCote/smartdispatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarcCote/smartdispatch/issues/comments/{number}","contents_url":"https://api.github.com/repos/MarcCote/smartdispatch/contents/{+path}","compare_url":"https://api.github.com/repos/MarcCote/smartdispatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarcCote/smartdispatch/merges","archive_url":"https://api.github.com/repos/MarcCote/smartdispatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarcCote/smartdispatch/downloads","issues_url":"https://api.github.com/repos/MarcCote/smartdispatch/issues{/number}","pulls_url":"https://api.github.com/repos/MarcCote/smartdispatch/pulls{/number}","milestones_url":"https://api.github.com/repos/MarcCote/smartdispatch/milestones{/number}","notifications_url":"https://api.github.com/repos/MarcCote/smartdispatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarcCote/smartdispatch/labels{/name}","releases_url":"https://api.github.com/repos/MarcCote/smartdispatch/releases{/id}","created_at":"2014-02-06T01:52:15Z","updated_at":"2014-09-10T18:30:46Z","pushed_at":"2014-09-19T14:45:23Z","git_url":"git://github.com/MarcCote/smartdispatch.git","ssh_url":"git@github.com:MarcCote/smartdispatch.git","clone_url":"https://github.com/MarcCote/smartdispatch.git","svn_url":"https://github.com/MarcCote/smartdispatch","homepage":null,"size":551,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"master"}},"base":{"label":"SMART-Lab:master","ref":"master","sha":"a5bce6558a7fab31769733db53e8144794d12c1a","user":{"login":"SMART-Lab","id":5042629,"avatar_url":"https://avatars.githubusercontent.com/u/5042629?v=2","gravatar_id":null,"url":"https://api.github.com/users/SMART-Lab","html_url":"https://github.com/SMART-Lab","followers_url":"https://api.github.com/users/SMART-Lab/followers","following_url":"https://api.github.com/users/SMART-Lab/following{/other_user}","gists_url":"https://api.github.com/users/SMART-Lab/gists{/gist_id}","starred_url":"https://api.github.com/users/SMART-Lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SMART-Lab/subscriptions","organizations_url":"https://api.github.com/users/SMART-Lab/orgs","repos_url":"https://api.github.com/users/SMART-Lab/repos","events_url":"https://api.github.com/users/SMART-Lab/events{/privacy}","received_events_url":"https://api.github.com/users/SMART-Lab/received_events","type":"Organization","site_admin":false},"repo":{"id":16428294,"name":"smartdispatch","full_name":"SMART-Lab/smartdispatch","owner":{"login":"SMART-Lab","id":5042629,"avatar_url":"https://avatars.githubusercontent.com/u/5042629?v=2","gravatar_id":null,"url":"https://api.github.com/users/SMART-Lab","html_url":"https://github.com/SMART-Lab","followers_url":"https://api.github.com/users/SMART-Lab/followers","following_url":"https://api.github.com/users/SMART-Lab/following{/other_user}","gists_url":"https://api.github.com/users/SMART-Lab/gists{/gist_id}","starred_url":"https://api.github.com/users/SMART-Lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SMART-Lab/subscriptions","organizations_url":"https://api.github.com/users/SMART-Lab/orgs","repos_url":"https://api.github.com/users/SMART-Lab/repos","events_url":"https://api.github.com/users/SMART-Lab/events{/privacy}","received_events_url":"https://api.github.com/users/SMART-Lab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SMART-Lab/smartdispatch","description":"Batch job launcher for the Mammouth supercomputer.","fork":false,"url":"https://api.github.com/repos/SMART-Lab/smartdispatch","forks_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/forks","keys_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/teams","hooks_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/hooks","issue_events_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/issues/events{/number}","events_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/events","assignees_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/assignees{/user}","branches_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/branches{/branch}","tags_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/tags","blobs_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/statuses/{sha}","languages_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/languages","stargazers_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/stargazers","contributors_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/contributors","subscribers_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/subscribers","subscription_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/subscription","commits_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/issues/comments/{number}","contents_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/contents/{+path}","compare_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/merges","archive_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/downloads","issues_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/issues{/number}","pulls_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/pulls{/number}","milestones_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/milestones{/number}","notifications_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/labels{/name}","releases_url":"https://api.github.com/repos/SMART-Lab/smartdispatch/releases{/id}","created_at":"2014-02-01T04:30:56Z","updated_at":"2014-09-10T18:30:46Z","pushed_at":"2014-09-17T14:38:06Z","git_url":"git://github.com/SMART-Lab/smartdispatch.git","ssh_url":"git@github.com:SMART-Lab/smartdispatch.git","clone_url":"https://github.com/SMART-Lab/smartdispatch.git","svn_url":"https://github.com/SMART-Lab/smartdispatch","homepage":"","size":591,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":11,"forks":4,"open_issues":11,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SMART-Lab/smartdispatch/pulls/31"},"html":{"href":"https://github.com/SMART-Lab/smartdispatch/pull/31"},"issue":{"href":"https://api.github.com/repos/SMART-Lab/smartdispatch/issues/31"},"comments":{"href":"https://api.github.com/repos/SMART-Lab/smartdispatch/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/SMART-Lab/smartdispatch/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/SMART-Lab/smartdispatch/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/SMART-Lab/smartdispatch/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/SMART-Lab/smartdispatch/statuses/47a0f91d3e8458007aa10c3f548ed8f4662d6906"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":137,"deletions":7,"changed_files":4}}