{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/809","repository_url":"https://api.github.com/repos/pypa/pip","labels_url":"https://api.github.com/repos/pypa/pip/issues/809/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/809/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/809/events","html_url":"https://github.com/pypa/pip/pull/809","id":11056200,"number":809,"title":"Add the --pypi option to the show command","user":{"login":"gvalkov","id":190997,"avatar_url":"https://avatars.githubusercontent.com/u/190997?v=3","gravatar_id":"","url":"https://api.github.com/users/gvalkov","html_url":"https://github.com/gvalkov","followers_url":"https://api.github.com/users/gvalkov/followers","following_url":"https://api.github.com/users/gvalkov/following{/other_user}","gists_url":"https://api.github.com/users/gvalkov/gists{/gist_id}","starred_url":"https://api.github.com/users/gvalkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvalkov/subscriptions","organizations_url":"https://api.github.com/users/gvalkov/orgs","repos_url":"https://api.github.com/users/gvalkov/repos","events_url":"https://api.github.com/users/gvalkov/events{/privacy}","received_events_url":"https://api.github.com/users/gvalkov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pypa/pip/labels/bit%20rotted","name":"bit rotted","color":"e99695"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2013-02-15T22:58:59Z","updated_at":"2016-05-26T10:56:53Z","closed_at":"2016-05-26T10:56:52Z","pull_request":{"url":"https://api.github.com/repos/pypa/pip/pulls/809","html_url":"https://github.com/pypa/pip/pull/809","diff_url":"https://github.com/pypa/pip/pull/809.diff","patch_url":"https://github.com/pypa/pip/pull/809.patch"},"body":"This pull request extends the show command with functionality for getting package information from PyPi. This was was originally proposed in #485. Usage is follows:\r\n\r\n```\r\n$ pip show --pypi ipdb evdev\r\n---\r\nName: ipdb\r\nVersion: 0.7\r\nSummary: IPython-enabled pdb\r\nAuthor: Godefroid Chapelle\r\nUrl: http://pypi.python.org/pypi/ipdb\r\nHomepage: https://github.com/gotcha/ipdb    \r\n---\r\nName: evdev\r\nVersion: 0.3.1\r\nSummary: bindings for the linux input handling subsystem\r\nAuthor: Georgi Valkov\r\nUrl: http://pypi.python.org/pypi/evdev\r\nHomepage: https://github.com/gvalkov/python-evdev\r\n```\r\n\r\nI've also made some small changes to the `pip show`'s exit status:\r\n\r\n```\r\n$ pip show --pypi ipdb evdev &>/dev/null ; echo $?\r\n0\r\npip show --pypi non-existant &>/dev/null ; echo $?\r\n23  # status.NO_MATCHES_FOUND\r\npip show --pypi ipdb non-existant &>/dev/null ; echo $?\r\n0\r\n# same logic applies to pip show ...\r\n```\r\n\r\nI couldn't figure out the how to use the mock xmlrcp transport, so I haven't written any unit tests yet. \r\n "},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/221840327","html_url":"https://github.com/pypa/pip/pull/809#issuecomment-221840327","issue_url":"https://api.github.com/repos/pypa/pip/issues/809","id":221840327,"user":{"login":"BrownTruck","id":17937123,"avatar_url":"https://avatars.githubusercontent.com/u/17937123?v=3","gravatar_id":"","url":"https://api.github.com/users/BrownTruck","html_url":"https://github.com/BrownTruck","followers_url":"https://api.github.com/users/BrownTruck/followers","following_url":"https://api.github.com/users/BrownTruck/following{/other_user}","gists_url":"https://api.github.com/users/BrownTruck/gists{/gist_id}","starred_url":"https://api.github.com/users/BrownTruck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrownTruck/subscriptions","organizations_url":"https://api.github.com/users/BrownTruck/orgs","repos_url":"https://api.github.com/users/BrownTruck/repos","events_url":"https://api.github.com/users/BrownTruck/events{/privacy}","received_events_url":"https://api.github.com/users/BrownTruck/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T10:56:52Z","updated_at":"2016-05-26T10:56:52Z","body":"This Pull Request was closed because it cannot be automatically reparented to the ``master`` branch and it appears to have bit rotted.\n\nPlease feel free to re-open it or re-submit it if it is still valid and you have rebased it onto ``master`` or merged ``master`` into it."}}
{"actor":{"display_login":"BrownTruck"}}