[OpenAFS] Re: Building AFS-2.6.2 perl module with OpenAFS 1.5.77

Phillip Moore w.phillip.moore@gmail.com
Wed, 20 Oct 2010 15:20:54 -0400


--0016364ececeeda4940493114e1f
Content-Type: text/plain; charset=ISO-8859-1

Figured this out -- but for other's benefit, in case anyone else is as
ignorant as I am....

cut/pasting the recommended git commands that gerrit provides didn't work,
but I discovered that the (gitweb) links take you directly to
git.openafs.org, and from there you can get the raw diff in a form you can
download pretty easily.

Clicking on "commitdiff" and then "raw" gives you a good old plain text diff
you can download.

On Wed, Oct 20, 2010 at 3:07 PM, Phillip Moore <w.phillip.moore@gmail.com>wrote:

>
> Now my inexperience with git will shine...  how do I translate that http:
> url into a git: url?   The trivial change doesn't work, either:
>
> pmoore@Renegade$ git fetch git://gerrit.openafs.org/p/openafsrefs/changes/11/1711/2 && git format-patch -1 --stdout FETCH_HEAD
> fatal: The remote end hung up unexpectedly
>
> Is there some further translation of the rest of the URL that is supposed
> to be obvious?
>
> On Wed, Oct 20, 2010 at 2:59 PM, Derrick Brashear <shadow@gmail.com>wrote:
>
>> On Wed, Oct 20, 2010 at 2:43 PM, Phillip Moore
>> <w.phillip.moore@gmail.com> wrote:
>> >
>> > Hold on -- the "backport" was supposedly already done:
>> > http://gerrit.openafs.org/#change,1711
>>
>> fair enough. i forgot that it was distilled out.
>>
>> > Tactically, I could hack it, but I need to make this reproducible, so I
>> > would like to get that change and apply it to the released 1.4.12 source
>> > tree.  Should I expect those git commands documented by gerrit to work?
>>  I
>> > tried the one for "Patch":
>> > pmoore@Renegade$ git fetch http://gerrit.openafs.org/p/openafs
>> > refs/changes/11/1711/2 && git format-patch -1 --stdout FETCH_HEAD
>> > error: The requested URL returned error: 403 while accessing
>> > http://gerrit.openafs.org/p/openafs/info/refs
>>
>> the http side sometimes misses things. get a git url and i bet it works.
>>
>
>

--0016364ececeeda4940493114e1f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div><br></div><div>Figured this out -- but for other&#39;s benefit, in cas=
e anyone else is as ignorant as I am....</div><div><br></div>cut/pasting th=
e recommended git commands that gerrit provides didn&#39;t work, but I disc=
overed that the (gitweb) links take you directly to <a href=3D"http://git.o=
penafs.org">git.openafs.org</a>, and from there you can get the raw diff in=
 a form you can download pretty easily.<div>
<br></div><div>Clicking on &quot;commitdiff&quot; and then &quot;raw&quot; =
gives you a good old plain text diff you can download.<br><br><div class=3D=
"gmail_quote">On Wed, Oct 20, 2010 at 3:07 PM, Phillip Moore <span dir=3D"l=
tr">&lt;<a href=3D"mailto:w.phillip.moore@gmail.com">w.phillip.moore@gmail.=
com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><div><br></div>Now my inexperience with git=
 will shine... =A0how do I translate that http: url into a git: url? =A0 Th=
e trivial change doesn&#39;t work, either:<div>
<br></div><div><div>pmoore@Renegade$ git fetch git://<a href=3D"http://gerr=
it.openafs.org/p/openafs" target=3D"_blank">gerrit.openafs.org/p/openafs</a=
> refs/changes/11/1711/2 &amp;&amp; git format-patch -1 --stdout FETCH_HEAD=
</div>

<div>fatal: The remote end hung up unexpectedly</div><div><br></div><div>Is=
 there some further translation of the rest of the URL that is supposed to =
be obvious?</div><div><div></div><div class=3D"h5"><div><br></div><div>On W=
ed, Oct 20, 2010 at 2:59 PM, Derrick Brashear <span dir=3D"ltr">&lt;<a href=
=3D"mailto:shadow@gmail.com" target=3D"_blank">shadow@gmail.com</a>&gt;</sp=
an> wrote:</div>

<div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Oct 20, 2=
010 at 2:43 PM, Phillip Moore<br>
<div>&lt;<a href=3D"mailto:w.phillip.moore@gmail.com" target=3D"_blank">w.p=
hillip.moore@gmail.com</a>&gt; wrote:<br>
&gt;<br>
</div><div>&gt; Hold on -- the &quot;backport&quot; was supposedly already =
done:<br>
&gt; <a href=3D"http://gerrit.openafs.org/#change,1711" target=3D"_blank">h=
ttp://gerrit.openafs.org/#change,1711</a><br>
<br>
</div>fair enough. i forgot that it was distilled out.<br>
<div><br>
&gt; Tactically, I could hack it, but I need to make this reproducible, so =
I<br>
&gt; would like to get that change and apply it to the released 1.4.12 sour=
ce<br>
&gt; tree. =A0Should I expect those git commands documented by gerrit to wo=
rk? =A0I<br>
&gt; tried the one for &quot;Patch&quot;:<br>
&gt; pmoore@Renegade$ git fetch <a href=3D"http://gerrit.openafs.org/p/open=
afs" target=3D"_blank">http://gerrit.openafs.org/p/openafs</a><br>
&gt; refs/changes/11/1711/2 &amp;&amp; git format-patch -1 --stdout FETCH_H=
EAD<br>
&gt; error: The requested URL returned error: 403 while accessing<br>
&gt; <a href=3D"http://gerrit.openafs.org/p/openafs/info/refs" target=3D"_b=
lank">http://gerrit.openafs.org/p/openafs/info/refs</a><br>
<br>
</div>the http side sometimes misses things. get a git url and i bet it wor=
ks.<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>

--0016364ececeeda4940493114e1f--