<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Thanks. ssh wont work for me and using the proxy git fails at the same
large file than before.<br>
<br>
Regards BastiL<br>
<br>
Am 21.01.2010 22:13, schrieb Moreland, Kenneth:
<blockquote cite="mid:C77E1172.11103%25kmorel@sandia.gov" type="cite">
<title>Re: [Paraview] Git repository (mirror)</title>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">I believe there is a bug in git that causes
the http transfer to fail when dealing with files above a certain size,
and the ParaView repository has at least one such file. That said, I
also am behind a firewall and I have found (well, been told) two
methods that have worked for me. The first (and better but harder)
solution is to set up a proxy for the git protocol. To do this, first
set up a script that tunnels connections through an HTTP proxy. Copy
the following into a file called git-proxy.sh.<br>
<br>
</span></font>
<blockquote><font size="2"><font face="Consolas, Courier New, Courier"><span
style="font-size: 10pt;">#!/bin/bash<br>
( echo "CONNECT $1:$2 HTTP/1.0"; echo; cat ) | nc <i><proxy-host></i>
<i><proxy-port></i> | ( read a; read a; cat )<br>
</span></font></font></blockquote>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;"><br>
You will of course replace <i><proxy-host></i> and <i><proxy-port></i>
with the host and port of your http proxy. Also keep in mind that this
script is supposed to be exactly two lines (regardless of whether it
has been broken up by an email program).<br>
<br>
Once you have this script, you then tell git to use it as the proxy for
the git protocol. Execute this script once and it will put the
necessary parameter in the global git configuration for your machine.<br>
<br>
</span></font>
<blockquote><font size="2"><font face="Consolas, Courier New, Courier"><span
style="font-size: 10pt;">git config --global core.gitproxy <i><path-to></i>/git-proxy.sh<br>
</span></font></font></blockquote>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;"><br>
I have gotten this to work on Mac and Linux. I have not tried this on
Windows.<br>
<br>
If you cannot get that to work, another method you can try is to get
the data from github.com via ssh, which I presume your firewall will
let through. To do this, do the following.<br>
<br>
</span></font>
<ol>
<li><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">Create an account on github.com if you do not
already have one.
</span></font></li>
<li><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">Go to Account Settings -> Account Overview
-> SSH Public Keys and add the public ssh key for your machine.
</span></font></li>
<li><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">Go to the Kitware/ParaView repository on the
github.com web site.
</span></font></li>
<li><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">Click on the button to <b>fork</b> the
repository. This will create a clone of the repository under your
account.
</span></font></li>
<li><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">In your clone of the ParaView repository, you
will see that there are more URL’s available to download the repository
via git. Choose the <b>private</b> URL. It will have the form <a
moz-do-not-send="true" href="git@github.com:">git@github.com:</a><yourname>/ParaView.git.
Although it looks like the regular git protocol, it is not. It is
different. Underneath it uses the ssh protocol (I think).
</span></font></li>
<li><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">Anyway, paste that URL to a git clone command
on your local machine. As long as your ssh keys are set up correctly,
you should be able to retrieve the repository.
</span></font></li>
<li><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">Once you have a clone, you can create a new
remote that points back to the original Kitware/ParaView repository.
At this point you should be able to pull updates directly from the
Kitware/ParaView repository through the http protocol so long as no one
adds a large file.<br>
</span></font></li>
</ol>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;"><br>
Hope that helps.<br>
<br>
-Ken<br>
<br>
<br>
On 1/21/10 12:51 PM, "<a moz-do-not-send="true"
href="Bastil2001@yahoo.de">Bastil2001@yahoo.de</a>" <<a
moz-do-not-send="true" href="Bastil2001@yahoo.de">Bastil2001@yahoo.de</a>>
wrote:<br>
<br>
</span></font>
<blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">I am wondering if I am the only guy that has
problems with the htt<br>
checkot of this? I am behind a proxy....<br>
<br>
<br>
Even if the clone only mentions the git: protocol, you can also use a<br>
http transport.<br>
<br>
git://github.com/Kitware/ParaView.git<br>
or<br>
<a moz-do-not-send="true"
href="http://github.com/Kitware/ParaView.git">http://github.com/Kitware/ParaView.git</a><br>
<br>
_______________________________________________<br>
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a
moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
<br>
</span></font></blockquote>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;"><br>
</span></font><font size="2"><font
face="Consolas, Courier New, Courier"><span style="font-size: 10pt;"><br>
**** Kenneth Moreland<br>
*** Sandia National Laboratories<br>
*********** <br>
*** *** *** email: <a moz-do-not-send="true" href="kmorel@sandia.gov">kmorel@sandia.gov</a><br>
** *** ** phone: (505) 844-8919<br>
*** web: <a moz-do-not-send="true"
href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/~kmorel</a><br>
</span></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;"><br>
</span></font>
</blockquote>
<br>
</body>
</html>