{"action":"created","issue":{"url":"https://api.github.com/repos/chocolatey/choco/issues/1495","repository_url":"https://api.github.com/repos/chocolatey/choco","labels_url":"https://api.github.com/repos/chocolatey/choco/issues/1495/labels{/name}","comments_url":"https://api.github.com/repos/chocolatey/choco/issues/1495/comments","events_url":"https://api.github.com/repos/chocolatey/choco/issues/1495/events","html_url":"https://github.com/chocolatey/choco/pull/1495","id":298383728,"number":1495,"title":"(GH-1397) Improved choco outdated","user":{"login":"DamianMaslanka5","id":25898045,"avatar_url":"https://avatars1.githubusercontent.com/u/25898045?v=4","gravatar_id":"","url":"https://api.github.com/users/DamianMaslanka5","html_url":"https://github.com/DamianMaslanka5","followers_url":"https://api.github.com/users/DamianMaslanka5/followers","following_url":"https://api.github.com/users/DamianMaslanka5/following{/other_user}","gists_url":"https://api.github.com/users/DamianMaslanka5/gists{/gist_id}","starred_url":"https://api.github.com/users/DamianMaslanka5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DamianMaslanka5/subscriptions","organizations_url":"https://api.github.com/users/DamianMaslanka5/orgs","repos_url":"https://api.github.com/users/DamianMaslanka5/repos","events_url":"https://api.github.com/users/DamianMaslanka5/events{/privacy}","received_events_url":"https://api.github.com/users/DamianMaslanka5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-02-19T19:45:03Z","updated_at":"2018-02-20T22:54:11Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/chocolatey/choco/pulls/1495","html_url":"https://github.com/chocolatey/choco/pull/1495","diff_url":"https://github.com/chocolatey/choco/pull/1495.diff","patch_url":"https://github.com/chocolatey/choco/pull/1495.patch"},"body":"Added get_outdated in NugetService to make it more readable.\r\nUsed \r\n```packageManager.SourceRepository.GetPackages().Where(x => x.Id.ToLower() == packageName && x.IsLatestVersion).FirstOrDefault();``` \r\nto get the latest version of package instead of\r\n```packageManager.SourceRepository.FindPackage(packageName, version, config.Prerelease, allowUnlisted: false);``` \r\nwhich downloads data about all versions of a package.\r\n\r\n#1397 "},"comment":{"url":"https://api.github.com/repos/chocolatey/choco/issues/comments/367149835","html_url":"https://github.com/chocolatey/choco/pull/1495#issuecomment-367149835","issue_url":"https://api.github.com/repos/chocolatey/choco/issues/1495","id":367149835,"user":{"login":"ferventcoder","id":63502,"avatar_url":"https://avatars0.githubusercontent.com/u/63502?v=4","gravatar_id":"","url":"https://api.github.com/users/ferventcoder","html_url":"https://github.com/ferventcoder","followers_url":"https://api.github.com/users/ferventcoder/followers","following_url":"https://api.github.com/users/ferventcoder/following{/other_user}","gists_url":"https://api.github.com/users/ferventcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/ferventcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferventcoder/subscriptions","organizations_url":"https://api.github.com/users/ferventcoder/orgs","repos_url":"https://api.github.com/users/ferventcoder/repos","events_url":"https://api.github.com/users/ferventcoder/events{/privacy}","received_events_url":"https://api.github.com/users/ferventcoder/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T22:54:11Z","updated_at":"2018-02-20T22:54:11Z","author_association":"OWNER","body":"I updated the code above. If you can squash your commits down tomorrow and maybe look at flipping over to the above, I think we'll be set. If not, I can take care of squashing and then add an additional commit to use this format."}}
{"actor":{"display_login":"ferventcoder"}}