Testing pull-request on other person's package
<p>I opened an <a href="https://github.com/mvantellingen/python-zeep/issues/177" rel="nofollow">issue</a> in a package that I need for my job, and now the author is asking me to test a <a href="https://github.com/mvantellingen/python-zeep/pull/205" rel="nofollow">pull request</a>. The problem is... I don't really know what is the preferred way to do that.  </p>

<p>The only way I see now is that I fork the repository, download and apply the pull request as a patch and then import the function from that project... surely there must be a better way? I'm using PyCharm on Ubuntu.</p>

<blockquote>
  <p>The only way I see now is that I fork the repository, download and apply the pull request as a patch [...]</p>
</blockquote>

<p>As <a href="http://stackoverflow.com/questions/39861662/testing-pull-request-on-other-persons-package#comment67011346_39861662">Martijn Pieters commented</a>: clone the repository and check out the mentioned branch. You can do that without forking it on GitHub and without manually applying the pull request:</p>

<pre><code>git clone git@github.com:mvantellingen/python-zeep.git
git checkout multiple-msg-parts
</code></pre>

<p>or even in a single command:</p>

<pre><code>git clone git@github.com:mvantellingen/python-zeep.git --branch multiple-msg-parts
</code></pre>

<blockquote>
  <p>[...] and then import the function from that project</p>
</blockquote>

<p>I guess you won't get around that part if you want to test the pull request's change.</p>

<p>Though, the author didn't ask you <em>to test</em> the pull request (even though they might have meant to do so); they asked you <em>whether</em> you <em>can</em> test it:</p>

<blockquote>
  <p>I'm working on a fix in #205. It required some refactoring, are you able to give it a try for me?</p>
</blockquote>

<p>To which "No, because I don't know how." would have been an acceptable answer. ;-)</p>

python github fork pull-request