Jump to page: 1 2
Thread overview
GitHub behind proxy servers among other questions
Jul 08, 2013
JohnnyK
Jul 08, 2013
Jesse Phillips
Jul 08, 2013
JohnnyK
Jul 08, 2013
John Colvin
Jul 08, 2013
monarch_dodra
Jul 08, 2013
John Colvin
Jul 09, 2013
monarch_dodra
Jul 09, 2013
JohnnyK
Jul 08, 2013
Jesse Phillips
Jul 08, 2013
JohnnyK
Jul 08, 2013
JohnnyK
Jul 09, 2013
monarch_dodra
Jul 08, 2013
monarch_dodra
Jul 08, 2013
Dicebot
July 08, 2013
Hi all,
  I have searched everywhere over the Internet and I have yet to find a way to clone a project using git when my workstation is behind a company proxy.  Can you guys clone your projects to a single zip file that I can download?  This would be easier instead of working with some strange command-line tool that does not recognize modern networks.  Honestly I just need the DWT binary with the help files so I can use the api.  I have spent weeks searching for a way to download DWT to my windows workstation at work and have yet figured out how to make GIT work.
July 08, 2013
On Monday, 8 July 2013 at 02:42:50 UTC, JohnnyK wrote:
> Hi all,
>   I have searched everywhere over the Internet and I have yet to find a way to clone a project using git when my workstation is behind a company proxy.  Can you guys clone your projects to a single zip file that I can download?  This would be easier instead of working with some strange command-line tool that does not recognize modern networks.  Honestly I just need the DWT binary with the help files so I can use the api.  I have spent weeks searching for a way to download DWT to my windows workstation at work and have yet figured out how to make GIT work.

Git provides a download by zip; Right side, bottom.

This is what I found on getting Git to work with a proxy:

http://stackoverflow.com/questions/128035/how-do-i-pull-from-a-git-repository-through-an-http-proxy
July 08, 2013
On Monday, 8 July 2013 at 03:35:03 UTC, Jesse Phillips wrote:
> On Monday, 8 July 2013 at 02:42:50 UTC, JohnnyK wrote:
>> Hi all,
>>  I have searched everywhere over the Internet and I have yet to find a way to clone a project using git when my workstation is behind a company proxy.  Can you guys clone your projects to a single zip file that I can download?  This would be easier instead of working with some strange command-line tool that does not recognize modern networks.  Honestly I just need the DWT binary with the help files so I can use the api.  I have spent weeks searching for a way to download DWT to my windows workstation at work and have yet figured out how to make GIT work.
>
> Git provides a download by zip; Right side, bottom.
>
> This is what I found on getting Git to work with a proxy:
>
> http://stackoverflow.com/questions/128035/how-do-i-pull-from-a-git-repository-through-an-http-proxy

I appreciate your response.  I have tried these.  I think the real issue is that I am not sure on the IP and port needed for the proxy here at work.  The company uses WPAD in the browser and I cannot figure out what the IP and port the browser is using to connect through the proxy.  If I knew that I probably could make it work.  It would be nice if GitHUB would change their Downlaod Zip button such that it does a recursive zip to include all the subfolders.
July 08, 2013
On Monday, 8 July 2013 at 02:42:50 UTC, JohnnyK wrote:
> Hi all,
>   I have searched everywhere over the Internet and I have yet to find a way to clone a project using git when my workstation is behind a company proxy.  Can you guys clone your projects to a single zip file that I can download?  This would be easier instead of working with some strange command-line tool that does not recognize modern networks.  Honestly I just need the DWT binary with the help files so I can use the api.  I have spent weeks searching for a way to download DWT to my windows workstation at work and have yet figured out how to make GIT work.

git can clone via HTTP(S):
git clone http://github.com/D-Programming-Language/dmd.git
July 08, 2013
On Monday, 8 July 2013 at 16:24:53 UTC, JohnnyK wrote:
> On Monday, 8 July 2013 at 03:35:03 UTC, Jesse Phillips wrote:
>> On Monday, 8 July 2013 at 02:42:50 UTC, JohnnyK wrote:
>>> Hi all,
>>> I have searched everywhere over the Internet and I have yet to find a way to clone a project using git when my workstation is behind a company proxy.  Can you guys clone your projects to a single zip file that I can download?  This would be easier instead of working with some strange command-line tool that does not recognize modern networks.  Honestly I just need the DWT binary with the help files so I can use the api.  I have spent weeks searching for a way to download DWT to my windows workstation at work and have yet figured out how to make GIT work.
>>
>> Git provides a download by zip; Right side, bottom.
>>
>> This is what I found on getting Git to work with a proxy:
>>
>> http://stackoverflow.com/questions/128035/how-do-i-pull-from-a-git-repository-through-an-http-proxy
>
> I appreciate your response.  I have tried these.  I think the real issue is that I am not sure on the IP and port needed for the proxy here at work.  The company uses WPAD in the browser and I cannot figure out what the IP and port the browser is using to connect through the proxy.  If I knew that I probably could make it work.  It would be nice if GitHUB would change their Downlaod Zip button such that it does a recursive zip to include all the subfolders.

I would just ssh to somewhere outside the firewall, git clone there, tar the folder, then scp it back. Assuming that is possible through your firewall.

If you're on windows then there are the always useful putty and winscp to do your ssh and scp work respectively.
July 08, 2013
On Monday, 8 July 2013 at 03:35:03 UTC, Jesse Phillips wrote:
> On Monday, 8 July 2013 at 02:42:50 UTC, JohnnyK wrote:
>> Hi all,
>>  I have searched everywhere over the Internet and I have yet to find a way to clone a project using git when my workstation is behind a company proxy.  Can you guys clone your projects to a single zip file that I can download?  This would be easier instead of working with some strange command-line tool that does not recognize modern networks.  Honestly I just need the DWT binary with the help files so I can use the api.  I have spent weeks searching for a way to download DWT to my windows workstation at work and have yet figured out how to make GIT work.
>
> Git provides a download by zip; Right side, bottom.

Holly crap! Is this new? I'm in need of this.

July 08, 2013
On Monday, 8 July 2013 at 16:49:05 UTC, John Colvin wrote:
> On Monday, 8 July 2013 at 16:24:53 UTC, JohnnyK wrote:
>> On Monday, 8 July 2013 at 03:35:03 UTC, Jesse Phillips wrote:
>>> On Monday, 8 July 2013 at 02:42:50 UTC, JohnnyK wrote:
>>>> Hi all,
>>>> I have searched everywhere over the Internet and I have yet to find a way to clone a project using git when my workstation is behind a company proxy.  Can you guys clone your projects to a single zip file that I can download?  This would be easier instead of working with some strange command-line tool that does not recognize modern networks.  Honestly I just need the DWT binary with the help files so I can use the api.  I have spent weeks searching for a way to download DWT to my windows workstation at work and have yet figured out how to make GIT work.
>>>
>>> Git provides a download by zip; Right side, bottom.
>>>
>>> This is what I found on getting Git to work with a proxy:
>>>
>>> http://stackoverflow.com/questions/128035/how-do-i-pull-from-a-git-repository-through-an-http-proxy
>>
>> I appreciate your response.  I have tried these.  I think the real issue is that I am not sure on the IP and port needed for the proxy here at work.  The company uses WPAD in the browser and I cannot figure out what the IP and port the browser is using to connect through the proxy.  If I knew that I probably could make it work.  It would be nice if GitHUB would change their Downlaod Zip button such that it does a recursive zip to include all the subfolders.
>
> I would just ssh to somewhere outside the firewall, git clone there, tar the folder, then scp it back. Assuming that is possible through your firewall.
>
> If you're on windows then there are the always useful putty and winscp to do your ssh and scp work respectively.

Well, the thing to remember is that he did say "company", so such approaches to bypass a firewall could very well be a violation of his IT policies. I know doing this would be *major* violation of my companie's policies, and could be cause for termination.
July 08, 2013
On Monday, 8 July 2013 at 16:24:53 UTC, JohnnyK wrote:

> It would be nice if GitHUB would change their Downlaod Zip button such that it does a recursive zip to include all the subfolders.

Ehhh, well that is useless. Sorry I couldn't hook you up with a solution.
July 08, 2013
On Monday, 8 July 2013 at 18:09:44 UTC, monarch_dodra wrote:
> On Monday, 8 July 2013 at 16:49:05 UTC, John Colvin wrote:
>> On Monday, 8 July 2013 at 16:24:53 UTC, JohnnyK wrote:
>>> On Monday, 8 July 2013 at 03:35:03 UTC, Jesse Phillips wrote:
>>>> On Monday, 8 July 2013 at 02:42:50 UTC, JohnnyK wrote:
>>>>> Hi all,
>>>>> I have searched everywhere over the Internet and I have yet to find a way to clone a project using git when my workstation is behind a company proxy.  Can you guys clone your projects to a single zip file that I can download?  This would be easier instead of working with some strange command-line tool that does not recognize modern networks.  Honestly I just need the DWT binary with the help files so I can use the api.  I have spent weeks searching for a way to download DWT to my windows workstation at work and have yet figured out how to make GIT work.
>>>>
>>>> Git provides a download by zip; Right side, bottom.
>>>>
>>>> This is what I found on getting Git to work with a proxy:
>>>>
>>>> http://stackoverflow.com/questions/128035/how-do-i-pull-from-a-git-repository-through-an-http-proxy
>>>
>>> I appreciate your response.  I have tried these.  I think the real issue is that I am not sure on the IP and port needed for the proxy here at work.  The company uses WPAD in the browser and I cannot figure out what the IP and port the browser is using to connect through the proxy.  If I knew that I probably could make it work.  It would be nice if GitHUB would change their Downlaod Zip button such that it does a recursive zip to include all the subfolders.
>>
>> I would just ssh to somewhere outside the firewall, git clone there, tar the folder, then scp it back. Assuming that is possible through your firewall.
>>
>> If you're on windows then there are the always useful putty and winscp to do your ssh and scp work respectively.
>
> Well, the thing to remember is that he did say "company", so such approaches to bypass a firewall could very well be a violation of his IT policies. I know doing this would be *major* violation of my companie's policies, and could be cause for termination.

I don't see how it is problematic? The firewall doesn't allow a particular type of connection, so you cache the result somewhere else and then access it via something that is allowed.

It's the same as downloading the zip file from github, only you're doing the "zipping" yourself, then using scp to do the download instead of http.

Is it common to have ssh connections banned in the IT policy but *not* blocked by the firewall?
July 08, 2013
On Monday, 8 July 2013 at 18:34:33 UTC, Jesse Phillips wrote:
> On Monday, 8 July 2013 at 16:24:53 UTC, JohnnyK wrote:
>
>> It would be nice if GitHUB would change their Downlaod Zip button such that it does a recursive zip to include all the subfolders.
>
> Ehhh, well that is useless. Sorry I couldn't hook you up with a solution.

Thanks for all the input.  I found a tool called NTLMAPS at http://ntlmaps.sourceforge.net/ which allows one to create a pass through proxy which understands NTLM proxy servers and are able to connect and forward HTTP requests and return responses so long story short I can now git clone as I need to NTLMAPS config file is pretty easy to configure with your proxy authentication information.  However I did have to change the following named/value pairs.

from this

LM_PART:1
NT_PART:0

# Highly experimental option. See research.txt for details.
# LM - 06820000
# NT - 05820000
# LM + NT - 07820000
NTLM_FLAGS: 06820000

to this

LM_PART:1
NT_PART:1

# Highly experimental option. See research.txt for details.
# LM - 06820000
# NT - 05820000
# LM + NT - 07820000
NTLM_FLAGS: 07820000

The proxy that I am behind was not happy until I did that.  Anyway it is working now and I hope this post serves to help others with the same issue.

also note that I had to use http:// in place of git:// in the git paths and in the case of DWT I had to go to every major folder and git clone them individually because for some reason git wanted to use git:// for subsequent requests.  It is strange that it did not do that for the Win-Res folder just for the others.  So I had to do commands like the following

C:\GITClones>cd dwt

C:\GITClones\dwt>git clone --recursive http://github.com/d-widget-toolkit/base.g
it
Cloning into 'base'...
remote: Counting objects: 806, done.
remote: Compressing objects: 100% (326/326), done.
remote: Total 806 (delta 402), reused 803 (delta 401)
Receiving objects: 100% (806/806), 310.62 KiB | 261.00 KiB/s, done.
Resolving deltas: 100% (402/402), done.

C:\GITClones\dwt>git clone --recursive http://github.com/d-widget-toolkit/org.ec
lipse.swt.gtk.linux.x86.git
Cloning into 'org.eclipse.swt.gtk.linux.x86'...
remote: Counting objects: 1691, done.
remote: Compressing objects: 100% (634/634), done.
remote: Total 1691 (delta 951), reused 1659 (delta 944)
Receiving objects: 100% (1691/1691), 1.71 MiB | 361.00 KiB/s, done.
Resolving deltas: 100% (951/951), done.

C:\GITClones\dwt>git clone --recursive http://github.com/d-widget-toolkit/org.ec
lipse.swt.win32.win32.x86.git
Cloning into 'org.eclipse.swt.win32.win32.x86'...


The only other thing I wish git could do is compile it for me so that I wouldn't have too but until we have HDgit I guess I am stuck with all this command line busy work.  Thanks again for every ones time.
« First   ‹ Prev
1 2