{"action":"closed","number":61,"pull_request":{"url":"https://api.github.com/repos/opalmer/pywincffi/pulls/61","id":58847628,"html_url":"https://github.com/opalmer/pywincffi/pull/61","diff_url":"https://github.com/opalmer/pywincffi/pull/61.diff","patch_url":"https://github.com/opalmer/pywincffi/pull/61.patch","issue_url":"https://api.github.com/repos/opalmer/pywincffi/issues/61","number":61,"state":"closed","locked":false,"title":"Additional File Functions","user":{"login":"opalmer","id":255117,"avatar_url":"https://avatars.githubusercontent.com/u/255117?v=3","gravatar_id":"","url":"https://api.github.com/users/opalmer","html_url":"https://github.com/opalmer","followers_url":"https://api.github.com/users/opalmer/followers","following_url":"https://api.github.com/users/opalmer/following{/other_user}","gists_url":"https://api.github.com/users/opalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/opalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opalmer/subscriptions","organizations_url":"https://api.github.com/users/opalmer/orgs","repos_url":"https://api.github.com/users/opalmer/repos","events_url":"https://api.github.com/users/opalmer/events{/privacy}","received_events_url":"https://api.github.com/users/opalmer/received_events","type":"User","site_admin":false},"body":"This PR:\r\n\r\n- [x] Adds `CreateFile()` - Can be used by twisted.python.lockfile to create files which can be read but not written to.  \r\n  - [x] Add test to check for proper behavior of `CREATE_ALWAYS` and `ERROR_ALREADY_EXISTS`\r\n  - [x] Add test for the new `LP_SECURITY_ATTRIBUTES` structure.\r\n- [x] Adds `LockFileEx()` - So a file can be locked while operations are being performed.\r\n  - [x] Tests for `LockFileEx()`\r\n- [x] Adds `UnlockFileEx()` - Reverses  `LockFileEx()`\r\n  - [x] Tests for `UnlockFileEx()`","created_at":"2016-02-10T04:53:48Z","updated_at":"2016-03-06T14:41:35Z","closed_at":"2016-03-06T14:41:35Z","merged_at":"2016-03-06T14:41:35Z","merge_commit_sha":"9ee93558d7daf2a2234f561d93a6183827f787fe","assignee":{"login":"opalmer","id":255117,"avatar_url":"https://avatars.githubusercontent.com/u/255117?v=3","gravatar_id":"","url":"https://api.github.com/users/opalmer","html_url":"https://github.com/opalmer","followers_url":"https://api.github.com/users/opalmer/followers","following_url":"https://api.github.com/users/opalmer/following{/other_user}","gists_url":"https://api.github.com/users/opalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/opalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opalmer/subscriptions","organizations_url":"https://api.github.com/users/opalmer/orgs","repos_url":"https://api.github.com/users/opalmer/repos","events_url":"https://api.github.com/users/opalmer/events{/privacy}","received_events_url":"https://api.github.com/users/opalmer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/opalmer/pywincffi/milestones/3","html_url":"https://github.com/opalmer/pywincffi/milestones/0.2.0","labels_url":"https://api.github.com/repos/opalmer/pywincffi/milestones/3/labels","id":1540307,"number":3,"title":"0.2.0","description":"","creator":{"login":"opalmer","id":255117,"avatar_url":"https://avatars.githubusercontent.com/u/255117?v=3","gravatar_id":"","url":"https://api.github.com/users/opalmer","html_url":"https://github.com/opalmer","followers_url":"https://api.github.com/users/opalmer/followers","following_url":"https://api.github.com/users/opalmer/following{/other_user}","gists_url":"https://api.github.com/users/opalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/opalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opalmer/subscriptions","organizations_url":"https://api.github.com/users/opalmer/orgs","repos_url":"https://api.github.com/users/opalmer/repos","events_url":"https://api.github.com/users/opalmer/events{/privacy}","received_events_url":"https://api.github.com/users/opalmer/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":14,"state":"open","created_at":"2016-01-25T03:00:17Z","updated_at":"2016-03-06T14:41:35Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/opalmer/pywincffi/pulls/61/commits","review_comments_url":"https://api.github.com/repos/opalmer/pywincffi/pulls/61/comments","review_comment_url":"https://api.github.com/repos/opalmer/pywincffi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opalmer/pywincffi/issues/61/comments","statuses_url":"https://api.github.com/repos/opalmer/pywincffi/statuses/1fee9577062ab88a4076ffc13d8b7c9291958498","head":{"label":"opalmer:file_funcs","ref":"file_funcs","sha":"1fee9577062ab88a4076ffc13d8b7c9291958498","user":{"login":"opalmer","id":255117,"avatar_url":"https://avatars.githubusercontent.com/u/255117?v=3","gravatar_id":"","url":"https://api.github.com/users/opalmer","html_url":"https://github.com/opalmer","followers_url":"https://api.github.com/users/opalmer/followers","following_url":"https://api.github.com/users/opalmer/following{/other_user}","gists_url":"https://api.github.com/users/opalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/opalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opalmer/subscriptions","organizations_url":"https://api.github.com/users/opalmer/orgs","repos_url":"https://api.github.com/users/opalmer/repos","events_url":"https://api.github.com/users/opalmer/events{/privacy}","received_events_url":"https://api.github.com/users/opalmer/received_events","type":"User","site_admin":false},"repo":{"id":37441228,"name":"pywincffi","full_name":"opalmer/pywincffi","owner":{"login":"opalmer","id":255117,"avatar_url":"https://avatars.githubusercontent.com/u/255117?v=3","gravatar_id":"","url":"https://api.github.com/users/opalmer","html_url":"https://github.com/opalmer","followers_url":"https://api.github.com/users/opalmer/followers","following_url":"https://api.github.com/users/opalmer/following{/other_user}","gists_url":"https://api.github.com/users/opalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/opalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opalmer/subscriptions","organizations_url":"https://api.github.com/users/opalmer/orgs","repos_url":"https://api.github.com/users/opalmer/repos","events_url":"https://api.github.com/users/opalmer/events{/privacy}","received_events_url":"https://api.github.com/users/opalmer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/opalmer/pywincffi","description":"A Python library which wraps Windows functions using CFFI.","fork":false,"url":"https://api.github.com/repos/opalmer/pywincffi","forks_url":"https://api.github.com/repos/opalmer/pywincffi/forks","keys_url":"https://api.github.com/repos/opalmer/pywincffi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opalmer/pywincffi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opalmer/pywincffi/teams","hooks_url":"https://api.github.com/repos/opalmer/pywincffi/hooks","issue_events_url":"https://api.github.com/repos/opalmer/pywincffi/issues/events{/number}","events_url":"https://api.github.com/repos/opalmer/pywincffi/events","assignees_url":"https://api.github.com/repos/opalmer/pywincffi/assignees{/user}","branches_url":"https://api.github.com/repos/opalmer/pywincffi/branches{/branch}","tags_url":"https://api.github.com/repos/opalmer/pywincffi/tags","blobs_url":"https://api.github.com/repos/opalmer/pywincffi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opalmer/pywincffi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opalmer/pywincffi/git/refs{/sha}","trees_url":"https://api.github.com/repos/opalmer/pywincffi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opalmer/pywincffi/statuses/{sha}","languages_url":"https://api.github.com/repos/opalmer/pywincffi/languages","stargazers_url":"https://api.github.com/repos/opalmer/pywincffi/stargazers","contributors_url":"https://api.github.com/repos/opalmer/pywincffi/contributors","subscribers_url":"https://api.github.com/repos/opalmer/pywincffi/subscribers","subscription_url":"https://api.github.com/repos/opalmer/pywincffi/subscription","commits_url":"https://api.github.com/repos/opalmer/pywincffi/commits{/sha}","git_commits_url":"https://api.github.com/repos/opalmer/pywincffi/git/commits{/sha}","comments_url":"https://api.github.com/repos/opalmer/pywincffi/comments{/number}","issue_comment_url":"https://api.github.com/repos/opalmer/pywincffi/issues/comments{/number}","contents_url":"https://api.github.com/repos/opalmer/pywincffi/contents/{+path}","compare_url":"https://api.github.com/repos/opalmer/pywincffi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opalmer/pywincffi/merges","archive_url":"https://api.github.com/repos/opalmer/pywincffi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opalmer/pywincffi/downloads","issues_url":"https://api.github.com/repos/opalmer/pywincffi/issues{/number}","pulls_url":"https://api.github.com/repos/opalmer/pywincffi/pulls{/number}","milestones_url":"https://api.github.com/repos/opalmer/pywincffi/milestones{/number}","notifications_url":"https://api.github.com/repos/opalmer/pywincffi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opalmer/pywincffi/labels{/name}","releases_url":"https://api.github.com/repos/opalmer/pywincffi/releases{/id}","deployments_url":"https://api.github.com/repos/opalmer/pywincffi/deployments","created_at":"2015-06-15T03:24:57Z","updated_at":"2016-01-11T08:17:06Z","pushed_at":"2016-03-06T14:41:35Z","git_url":"git://github.com/opalmer/pywincffi.git","ssh_url":"git@github.com:opalmer/pywincffi.git","clone_url":"https://github.com/opalmer/pywincffi.git","svn_url":"https://github.com/opalmer/pywincffi","homepage":null,"size":599,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"opalmer:master","ref":"master","sha":"b3d60db8daf4bbcb6c1bb4fad3b4a6aee28cb2b6","user":{"login":"opalmer","id":255117,"avatar_url":"https://avatars.githubusercontent.com/u/255117?v=3","gravatar_id":"","url":"https://api.github.com/users/opalmer","html_url":"https://github.com/opalmer","followers_url":"https://api.github.com/users/opalmer/followers","following_url":"https://api.github.com/users/opalmer/following{/other_user}","gists_url":"https://api.github.com/users/opalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/opalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opalmer/subscriptions","organizations_url":"https://api.github.com/users/opalmer/orgs","repos_url":"https://api.github.com/users/opalmer/repos","events_url":"https://api.github.com/users/opalmer/events{/privacy}","received_events_url":"https://api.github.com/users/opalmer/received_events","type":"User","site_admin":false},"repo":{"id":37441228,"name":"pywincffi","full_name":"opalmer/pywincffi","owner":{"login":"opalmer","id":255117,"avatar_url":"https://avatars.githubusercontent.com/u/255117?v=3","gravatar_id":"","url":"https://api.github.com/users/opalmer","html_url":"https://github.com/opalmer","followers_url":"https://api.github.com/users/opalmer/followers","following_url":"https://api.github.com/users/opalmer/following{/other_user}","gists_url":"https://api.github.com/users/opalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/opalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opalmer/subscriptions","organizations_url":"https://api.github.com/users/opalmer/orgs","repos_url":"https://api.github.com/users/opalmer/repos","events_url":"https://api.github.com/users/opalmer/events{/privacy}","received_events_url":"https://api.github.com/users/opalmer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/opalmer/pywincffi","description":"A Python library which wraps Windows functions using CFFI.","fork":false,"url":"https://api.github.com/repos/opalmer/pywincffi","forks_url":"https://api.github.com/repos/opalmer/pywincffi/forks","keys_url":"https://api.github.com/repos/opalmer/pywincffi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opalmer/pywincffi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opalmer/pywincffi/teams","hooks_url":"https://api.github.com/repos/opalmer/pywincffi/hooks","issue_events_url":"https://api.github.com/repos/opalmer/pywincffi/issues/events{/number}","events_url":"https://api.github.com/repos/opalmer/pywincffi/events","assignees_url":"https://api.github.com/repos/opalmer/pywincffi/assignees{/user}","branches_url":"https://api.github.com/repos/opalmer/pywincffi/branches{/branch}","tags_url":"https://api.github.com/repos/opalmer/pywincffi/tags","blobs_url":"https://api.github.com/repos/opalmer/pywincffi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opalmer/pywincffi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opalmer/pywincffi/git/refs{/sha}","trees_url":"https://api.github.com/repos/opalmer/pywincffi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opalmer/pywincffi/statuses/{sha}","languages_url":"https://api.github.com/repos/opalmer/pywincffi/languages","stargazers_url":"https://api.github.com/repos/opalmer/pywincffi/stargazers","contributors_url":"https://api.github.com/repos/opalmer/pywincffi/contributors","subscribers_url":"https://api.github.com/repos/opalmer/pywincffi/subscribers","subscription_url":"https://api.github.com/repos/opalmer/pywincffi/subscription","commits_url":"https://api.github.com/repos/opalmer/pywincffi/commits{/sha}","git_commits_url":"https://api.github.com/repos/opalmer/pywincffi/git/commits{/sha}","comments_url":"https://api.github.com/repos/opalmer/pywincffi/comments{/number}","issue_comment_url":"https://api.github.com/repos/opalmer/pywincffi/issues/comments{/number}","contents_url":"https://api.github.com/repos/opalmer/pywincffi/contents/{+path}","compare_url":"https://api.github.com/repos/opalmer/pywincffi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opalmer/pywincffi/merges","archive_url":"https://api.github.com/repos/opalmer/pywincffi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opalmer/pywincffi/downloads","issues_url":"https://api.github.com/repos/opalmer/pywincffi/issues{/number}","pulls_url":"https://api.github.com/repos/opalmer/pywincffi/pulls{/number}","milestones_url":"https://api.github.com/repos/opalmer/pywincffi/milestones{/number}","notifications_url":"https://api.github.com/repos/opalmer/pywincffi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opalmer/pywincffi/labels{/name}","releases_url":"https://api.github.com/repos/opalmer/pywincffi/releases{/id}","deployments_url":"https://api.github.com/repos/opalmer/pywincffi/deployments","created_at":"2015-06-15T03:24:57Z","updated_at":"2016-01-11T08:17:06Z","pushed_at":"2016-03-06T14:41:35Z","git_url":"git://github.com/opalmer/pywincffi.git","ssh_url":"git@github.com:opalmer/pywincffi.git","clone_url":"https://github.com/opalmer/pywincffi.git","svn_url":"https://github.com/opalmer/pywincffi","homepage":null,"size":599,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opalmer/pywincffi/pulls/61"},"html":{"href":"https://github.com/opalmer/pywincffi/pull/61"},"issue":{"href":"https://api.github.com/repos/opalmer/pywincffi/issues/61"},"comments":{"href":"https://api.github.com/repos/opalmer/pywincffi/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/opalmer/pywincffi/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/opalmer/pywincffi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opalmer/pywincffi/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/opalmer/pywincffi/statuses/1fee9577062ab88a4076ffc13d8b7c9291958498"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"opalmer","id":255117,"avatar_url":"https://avatars.githubusercontent.com/u/255117?v=3","gravatar_id":"","url":"https://api.github.com/users/opalmer","html_url":"https://github.com/opalmer","followers_url":"https://api.github.com/users/opalmer/followers","following_url":"https://api.github.com/users/opalmer/following{/other_user}","gists_url":"https://api.github.com/users/opalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/opalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opalmer/subscriptions","organizations_url":"https://api.github.com/users/opalmer/orgs","repos_url":"https://api.github.com/users/opalmer/repos","events_url":"https://api.github.com/users/opalmer/events{/privacy}","received_events_url":"https://api.github.com/users/opalmer/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":35,"additions":384,"deletions":4,"changed_files":8}}