{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/5750","repository_url":"https://api.github.com/repos/pypa/pip","labels_url":"https://api.github.com/repos/pypa/pip/issues/5750/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/5750/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/5750/events","html_url":"https://github.com/pypa/pip/issues/5750","id":356391912,"node_id":"MDU6SXNzdWUzNTYzOTE5MTI=","number":5750,"title":"Testing PRs in development docs","user":{"login":"techtonik","id":515889,"node_id":"MDQ6VXNlcjUxNTg4OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/515889?v=4","gravatar_id":"","url":"https://api.github.com/users/techtonik","html_url":"https://github.com/techtonik","followers_url":"https://api.github.com/users/techtonik/followers","following_url":"https://api.github.com/users/techtonik/following{/other_user}","gists_url":"https://api.github.com/users/techtonik/gists{/gist_id}","starred_url":"https://api.github.com/users/techtonik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techtonik/subscriptions","organizations_url":"https://api.github.com/users/techtonik/orgs","repos_url":"https://api.github.com/users/techtonik/repos","events_url":"https://api.github.com/users/techtonik/events{/privacy}","received_events_url":"https://api.github.com/users/techtonik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-03T07:43:18Z","updated_at":"2018-09-10T16:57:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Running out of time. Need a place to save the text for devdocs. It needs research and there is little time left to do this properly. It is in public domain, so feel free to fetch and merge it without waiting for me, or close it in a few months if there is no value.\r\n\r\n---\r\n\r\nTesting pull requests\r\n=====================\r\n\r\nTesting your branch from which you created pull request is easy, but testing\r\nPRs created by others is non-trivial, and it makes sense to document the process,\r\nwhich is handy for any project, not just for `pip`.\r\n\r\nIt may come as a surprise, but there is no concept of *pull request* in `git`.\r\nPRs are solely a feature of web based issue trackers, such as GitHub or `pagure`_.\r\nTherefore there is no convenient method in `git` to checkout a pull request.\r\n\r\nThe gory details is that you need to add know upstream repository location, add\r\nit to your local repositiry as a `remote`, then you need to know the branch name\r\nthat corresponds to pull request, then `fetch` the branch from `remote` and only\r\nthen you can make your local copy for \r\n\r\n.. _`pagure`: https://pagure.io/pagure\r\n\r\n---\r\n\r\n**What's the problem this feature will solve?**\r\n<!-- What are you trying to do, that you are unable to achieve with pip as it currently stands? -->\r\n\r\n**Describe the solution you'd like**\r\n<!-- Clear and concise description of what you want to happen. -->\r\n\r\n<!-- Provide examples of real world use cases that this would enable and how it solves the problem described above. -->\r\n\r\n**Alternative Solutions**\r\n<!-- Have you tried to workaround the problem using pip or other tools? Or a different approach to solving this issue? Please elaborate here. -->\r\n\r\n**Additional context**\r\n<!-- Add any other context, links, etc. about the feature here. -->\r\n"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/419984748","html_url":"https://github.com/pypa/pip/issues/5750#issuecomment-419984748","issue_url":"https://api.github.com/repos/pypa/pip/issues/5750","id":419984748,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTk4NDc0OA==","user":{"login":"pradyunsg","id":3275593,"node_id":"MDQ6VXNlcjMyNzU1OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3275593?v=4","gravatar_id":"","url":"https://api.github.com/users/pradyunsg","html_url":"https://github.com/pradyunsg","followers_url":"https://api.github.com/users/pradyunsg/followers","following_url":"https://api.github.com/users/pradyunsg/following{/other_user}","gists_url":"https://api.github.com/users/pradyunsg/gists{/gist_id}","starred_url":"https://api.github.com/users/pradyunsg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradyunsg/subscriptions","organizations_url":"https://api.github.com/users/pradyunsg/orgs","repos_url":"https://api.github.com/users/pradyunsg/repos","events_url":"https://api.github.com/users/pradyunsg/events{/privacy}","received_events_url":"https://api.github.com/users/pradyunsg/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T16:57:57Z","updated_at":"2018-09-10T16:57:57Z","author_association":"MEMBER","body":"I don't think there's a need to explain how to checkout a PR in the docs. You can use `pip install https://github.com/pradyunsg/pip/archive/master.zip` to install the `master` branch from `pradyunsg/pip`. That is good enough for nearly all cases.\r\n"}}
{"actor":{"display_login":"pradyunsg"}}