Implement http and https fetch transport support
commitb370be4acfb7df0d2bd4a76907cf3bfeb177aca9
authorShawn O. Pearce <spearce@spearce.org>
Wed, 7 May 2008 23:40:12 +0000 (7 19:40 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 11 May 2008 05:32:04 +0000 (11 01:32 -0400)
tree7ae7b10b29ad2d5d69a7cdb96b9ccb8950b1addf
parentfd9bd89725f7155df2be000b69c5a53f123cad78
Implement http and https fetch transport support

We now support a generic "dumb object walker" that can fetch loose
and packed objects from remote repositories.  The generic walker is
able to provide the object parsing services necessary to determine
what files we want to obtain from the remote (or one of its possible
alternates).

The actual file transport is left to protocol specific implementations,
making the generic object walker fully reusable across multiple types
of dumb transport protocols.

Currently we support http and https through the standard URL support
within the J2SE platform.  Better open source HTTP clients may be
available for Java, but these would need to be a library, like JSch,
and therefore are slightly more difficult to work with than the
stock http/https support.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.egit.ui/src/org/spearce/egit/ui/internal/clone/CloneSourcePage.java
org.spearce.jgit/src/org/spearce/jgit/transport/Transport.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportHttp.java [new file with mode: 0644]
org.spearce.jgit/src/org/spearce/jgit/transport/WalkFetchConnection.java [new file with mode: 0644]
org.spearce.jgit/src/org/spearce/jgit/transport/WalkRemoteObjectDatabase.java [new file with mode: 0644]
org.spearce.jgit/src/org/spearce/jgit/transport/WalkTransport.java [new file with mode: 0644]