{"action":"opened","number":2929,"pull_request":{"url":"https://api.github.com/repos/aspnet/dnx/pulls/2929","id":47067118,"html_url":"https://github.com/aspnet/dnx/pull/2929","diff_url":"https://github.com/aspnet/dnx/pull/2929.diff","patch_url":"https://github.com/aspnet/dnx/pull/2929.patch","issue_url":"https://api.github.com/repos/aspnet/dnx/issues/2929","number":2929,"state":"open","locked":false,"title":"Fix a single invalid lock file causing relock of all following lock files","user":{"login":"dagood","id":12819531,"avatar_url":"https://avatars.githubusercontent.com/u/12819531?v=3","gravatar_id":"","url":"https://api.github.com/users/dagood","html_url":"https://github.com/dagood","followers_url":"https://api.github.com/users/dagood/followers","following_url":"https://api.github.com/users/dagood/following{/other_user}","gists_url":"https://api.github.com/users/dagood/gists{/gist_id}","starred_url":"https://api.github.com/users/dagood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagood/subscriptions","organizations_url":"https://api.github.com/users/dagood/orgs","repos_url":"https://api.github.com/users/dagood/repos","events_url":"https://api.github.com/users/dagood/events{/privacy}","received_events_url":"https://api.github.com/users/dagood/received_events","type":"User","site_admin":false},"body":"A quick fix for #2771.\r\n\r\nI added a local variable `relock` to store whether or not a relock should happen. This is instead of using the `Lock` property. `Lock` seems to be intended to override validity and force relocking, so `relock` is initialized with `Lock`'s value.\r\n\r\nI also passed `relock` to `WriteLockFile` to replace a usage of `Lock`.","created_at":"2015-10-07T18:55:22Z","updated_at":"2015-10-07T18:55:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/dnx/pulls/2929/commits","review_comments_url":"https://api.github.com/repos/aspnet/dnx/pulls/2929/comments","review_comment_url":"https://api.github.com/repos/aspnet/dnx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/dnx/issues/2929/comments","statuses_url":"https://api.github.com/repos/aspnet/dnx/statuses/f9a82de7dbbdab04ca5e819db1a52efb57e8159f","head":{"label":"dagood:relock-only-necessary","ref":"relock-only-necessary","sha":"f9a82de7dbbdab04ca5e819db1a52efb57e8159f","user":{"login":"dagood","id":12819531,"avatar_url":"https://avatars.githubusercontent.com/u/12819531?v=3","gravatar_id":"","url":"https://api.github.com/users/dagood","html_url":"https://github.com/dagood","followers_url":"https://api.github.com/users/dagood/followers","following_url":"https://api.github.com/users/dagood/following{/other_user}","gists_url":"https://api.github.com/users/dagood/gists{/gist_id}","starred_url":"https://api.github.com/users/dagood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagood/subscriptions","organizations_url":"https://api.github.com/users/dagood/orgs","repos_url":"https://api.github.com/users/dagood/repos","events_url":"https://api.github.com/users/dagood/events{/privacy}","received_events_url":"https://api.github.com/users/dagood/received_events","type":"User","site_admin":false},"repo":{"id":42664734,"name":"dnx","full_name":"dagood/dnx","owner":{"login":"dagood","id":12819531,"avatar_url":"https://avatars.githubusercontent.com/u/12819531?v=3","gravatar_id":"","url":"https://api.github.com/users/dagood","html_url":"https://github.com/dagood","followers_url":"https://api.github.com/users/dagood/followers","following_url":"https://api.github.com/users/dagood/following{/other_user}","gists_url":"https://api.github.com/users/dagood/gists{/gist_id}","starred_url":"https://api.github.com/users/dagood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagood/subscriptions","organizations_url":"https://api.github.com/users/dagood/orgs","repos_url":"https://api.github.com/users/dagood/repos","events_url":"https://api.github.com/users/dagood/events{/privacy}","received_events_url":"https://api.github.com/users/dagood/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dagood/dnx","description":"The DNX (a .NET Execution Environment) contains the code required to bootstrap and run an application, including the compilation system, SDK tools, and the native CLR hosts.","fork":true,"url":"https://api.github.com/repos/dagood/dnx","forks_url":"https://api.github.com/repos/dagood/dnx/forks","keys_url":"https://api.github.com/repos/dagood/dnx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dagood/dnx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dagood/dnx/teams","hooks_url":"https://api.github.com/repos/dagood/dnx/hooks","issue_events_url":"https://api.github.com/repos/dagood/dnx/issues/events{/number}","events_url":"https://api.github.com/repos/dagood/dnx/events","assignees_url":"https://api.github.com/repos/dagood/dnx/assignees{/user}","branches_url":"https://api.github.com/repos/dagood/dnx/branches{/branch}","tags_url":"https://api.github.com/repos/dagood/dnx/tags","blobs_url":"https://api.github.com/repos/dagood/dnx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dagood/dnx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dagood/dnx/git/refs{/sha}","trees_url":"https://api.github.com/repos/dagood/dnx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dagood/dnx/statuses/{sha}","languages_url":"https://api.github.com/repos/dagood/dnx/languages","stargazers_url":"https://api.github.com/repos/dagood/dnx/stargazers","contributors_url":"https://api.github.com/repos/dagood/dnx/contributors","subscribers_url":"https://api.github.com/repos/dagood/dnx/subscribers","subscription_url":"https://api.github.com/repos/dagood/dnx/subscription","commits_url":"https://api.github.com/repos/dagood/dnx/commits{/sha}","git_commits_url":"https://api.github.com/repos/dagood/dnx/git/commits{/sha}","comments_url":"https://api.github.com/repos/dagood/dnx/comments{/number}","issue_comment_url":"https://api.github.com/repos/dagood/dnx/issues/comments{/number}","contents_url":"https://api.github.com/repos/dagood/dnx/contents/{+path}","compare_url":"https://api.github.com/repos/dagood/dnx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dagood/dnx/merges","archive_url":"https://api.github.com/repos/dagood/dnx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dagood/dnx/downloads","issues_url":"https://api.github.com/repos/dagood/dnx/issues{/number}","pulls_url":"https://api.github.com/repos/dagood/dnx/pulls{/number}","milestones_url":"https://api.github.com/repos/dagood/dnx/milestones{/number}","notifications_url":"https://api.github.com/repos/dagood/dnx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dagood/dnx/labels{/name}","releases_url":"https://api.github.com/repos/dagood/dnx/releases{/id}","created_at":"2015-09-17T15:33:06Z","updated_at":"2015-09-17T15:33:10Z","pushed_at":"2015-10-07T18:45:08Z","git_url":"git://github.com/dagood/dnx.git","ssh_url":"git@github.com:dagood/dnx.git","clone_url":"https://github.com/dagood/dnx.git","svn_url":"https://github.com/dagood/dnx","homepage":"","size":20837,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"dev"}},"base":{"label":"aspnet:dev","ref":"dev","sha":"bd50592d8656da0e174c9332260c465a0422cda3","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":14225208,"name":"dnx","full_name":"aspnet/dnx","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars.githubusercontent.com/u/6476660?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/dnx","description":"The DNX (a .NET Execution Environment) contains the code required to bootstrap and run an application, including the compilation system, SDK tools, and the native CLR hosts.","fork":false,"url":"https://api.github.com/repos/aspnet/dnx","forks_url":"https://api.github.com/repos/aspnet/dnx/forks","keys_url":"https://api.github.com/repos/aspnet/dnx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/dnx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/dnx/teams","hooks_url":"https://api.github.com/repos/aspnet/dnx/hooks","issue_events_url":"https://api.github.com/repos/aspnet/dnx/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/dnx/events","assignees_url":"https://api.github.com/repos/aspnet/dnx/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/dnx/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/dnx/tags","blobs_url":"https://api.github.com/repos/aspnet/dnx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/dnx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/dnx/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/dnx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/dnx/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/dnx/languages","stargazers_url":"https://api.github.com/repos/aspnet/dnx/stargazers","contributors_url":"https://api.github.com/repos/aspnet/dnx/contributors","subscribers_url":"https://api.github.com/repos/aspnet/dnx/subscribers","subscription_url":"https://api.github.com/repos/aspnet/dnx/subscription","commits_url":"https://api.github.com/repos/aspnet/dnx/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/dnx/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/dnx/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/dnx/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/dnx/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/dnx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/dnx/merges","archive_url":"https://api.github.com/repos/aspnet/dnx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/dnx/downloads","issues_url":"https://api.github.com/repos/aspnet/dnx/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/dnx/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/dnx/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/dnx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/dnx/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/dnx/releases{/id}","created_at":"2013-11-08T06:01:29Z","updated_at":"2015-10-06T10:38:31Z","pushed_at":"2015-10-07T18:29:59Z","git_url":"git://github.com/aspnet/dnx.git","ssh_url":"git@github.com:aspnet/dnx.git","clone_url":"https://github.com/aspnet/dnx.git","svn_url":"https://github.com/aspnet/dnx","homepage":"","size":61462,"stargazers_count":923,"watchers_count":923,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":222,"mirror_url":null,"open_issues_count":429,"forks":222,"open_issues":429,"watchers":923,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/dnx/pulls/2929"},"html":{"href":"https://github.com/aspnet/dnx/pull/2929"},"issue":{"href":"https://api.github.com/repos/aspnet/dnx/issues/2929"},"comments":{"href":"https://api.github.com/repos/aspnet/dnx/issues/2929/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/dnx/pulls/2929/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/dnx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/dnx/pulls/2929/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/dnx/statuses/f9a82de7dbbdab04ca5e819db1a52efb57e8159f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":5,"changed_files":1}}