{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/703","repository_url":"https://api.github.com/repos/NuGet/NuGet.Client","labels_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/703/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/703/comments","events_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/703/events","html_url":"https://github.com/NuGet/NuGet.Client/pull/703","id":161527138,"number":703,"title":"LockFile.Equals fix for version 1 format","user":{"login":"emgarten","id":6381138,"avatar_url":"https://avatars.githubusercontent.com/u/6381138?v=3","gravatar_id":"","url":"https://api.github.com/users/emgarten","html_url":"https://github.com/emgarten","followers_url":"https://api.github.com/users/emgarten/followers","following_url":"https://api.github.com/users/emgarten/following{/other_user}","gists_url":"https://api.github.com/users/emgarten/gists{/gist_id}","starred_url":"https://api.github.com/users/emgarten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emgarten/subscriptions","organizations_url":"https://api.github.com/users/emgarten/orgs","repos_url":"https://api.github.com/users/emgarten/repos","events_url":"https://api.github.com/users/emgarten/events{/privacy}","received_events_url":"https://api.github.com/users/emgarten/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NuGet/NuGet.Client/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-21T20:06:36Z","updated_at":"2016-06-21T21:24:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NuGet/NuGet.Client/pulls/703","html_url":"https://github.com/NuGet/NuGet.Client/pull/703","diff_url":"https://github.com/NuGet/NuGet.Client/pull/703.diff","patch_url":"https://github.com/NuGet/NuGet.Client/pull/703.patch"},"body":"This is a small change to skip writing the tool sections of the lock file by looking at the version instead of by nulling out the values.\r\n\r\nNull was used before to avoid writing the json property out, but that causes issues with LockFile.Equals since files read in default to an empty list instead of null for safety. During the equals compare null != empty list, so the file is written to disk. This fix seems like the safest way to make up for this until we drop the v1 format.\r\n\r\nhttps://github.com/NuGet/Home/issues/2817\r\n\r\n//cc @joelverhagen @zhili1208 @alpaix "},"comment":{"url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/comments/227576742","html_url":"https://github.com/NuGet/NuGet.Client/pull/703#issuecomment-227576742","issue_url":"https://api.github.com/repos/NuGet/NuGet.Client/issues/703","id":227576742,"user":{"login":"joelverhagen","id":94054,"avatar_url":"https://avatars.githubusercontent.com/u/94054?v=3","gravatar_id":"","url":"https://api.github.com/users/joelverhagen","html_url":"https://github.com/joelverhagen","followers_url":"https://api.github.com/users/joelverhagen/followers","following_url":"https://api.github.com/users/joelverhagen/following{/other_user}","gists_url":"https://api.github.com/users/joelverhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/joelverhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelverhagen/subscriptions","organizations_url":"https://api.github.com/users/joelverhagen/orgs","repos_url":"https://api.github.com/users/joelverhagen/repos","events_url":"https://api.github.com/users/joelverhagen/events{/privacy}","received_events_url":"https://api.github.com/users/joelverhagen/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T21:24:03Z","updated_at":"2016-06-21T21:24:03Z","body":":shipit: "}}
{"actor":{"display_login":"joelverhagen"}}