Git in STS using egit over HTTP

View: New views
3 Messages — Rating Filter:   Alert me  

Git in STS using egit over HTTP

by Dave Hallam-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

Is anyone else using egit within STS over HTTP (I'm behind a firewall) for developing the Grails codebase?

If I try to import http://github.com/grails/grails.git into STS it fetches pack-914851f..idx then fails with an InvocationTargetException.

Looking in the STS error log shows:

org.spearce.jgit.errors.CompoundException: Failure due to one of the following:  http://github.com:80/grails/grails.git/objects/94/a62c50264d63dda1bfbcfd95e740ffa78460ce
  Not a PACK file.
    at org.spearce.jgit.transport.WalkFetchConnection.downloadObject(WalkFetchConnection.java:447)

Has anyone else encountered this - is there a workaround?

Many thanks,

Dave

Re: Git in STS using egit over HTTP

by Peter Ledbrook :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Is anyone else using egit within STS over HTTP (I'm behind a firewall) for
> developing the Grails codebase?

egit is apparently based on a Java port of git (JGit). I'm sticking to
command-line git for now because I'm not sure about the reliability of
j/egit.

> If I try to import http://github.com/grails/grails.git into STS it fetches
> pack-914851f..idx then fails with an InvocationTargetException.

You might be affected by this issue:

  http://support.github.com/discussions/repos/1728-git-clone-over-http-still-a-problem

HTTP access appears to be a little unreliable at the moment.

Cheers,

Peter

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Git in STS using egit over HTTP

by Dave Hallam-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Peter,

Thanks for that - I'll try again later using the git:// protocol when I'm not behind a firewall.  As you say, it looks like the HTTP protocol implementation isn't particularly stable at the moment.

Many thanks,

Dave

2009/10/28 Peter Ledbrook <peter@...>
> Is anyone else using egit within STS over HTTP (I'm behind a firewall) for
> developing the Grails codebase?

egit is apparently based on a Java port of git (JGit). I'm sticking to
command-line git for now because I'm not sure about the reliability of
j/egit.

> If I try to import http://github.com/grails/grails.git into STS it fetches
> pack-914851f..idx then fails with an InvocationTargetException.

You might be affected by this issue:

 http://support.github.com/discussions/repos/1728-git-clone-over-http-still-a-problem

HTTP access appears to be a little unreliable at the moment.

Cheers,

Peter

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email