aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/client/client.go
Commit message (Collapse)AuthorAgeFilesLines
* plumbing: transport/http, refactor transport to cache underlying transport ↵Sanskar Jaiswal2023-05-041-32/+0
| | | | | | | | | | | | | objects Refactor the in-built http transport to cache the underlying http transport objects mapped to its specific options for each Git transport object. This lets us reuse the transport for a specific set of configurations as recommended. (ref: https://pkg.go.dev/net/http#Transport) If there are no transport specific options provided, the default transport is used. Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
* Add insecureSkipTLS and cabundle (#228)Daishan Peng2021-01-271-1/+36
| | | | | This PR add insecureSkipTLSVerify and cabundle to any remote http calls so that https repo with private CA signed can be used. This is the equivalent of https.sslVerify and GIT_SSL_CAINFO
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-5/+5
|
* *: add pointer to the new transport.Endpoint structMáximo Cuadros2017-11-211-4/+4
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* transport: make Endpoint an interface, fixes #362Santiago M. Mola2017-04-271-3/+3
| | | | | * add internal *url.URL implementation for regular URLs. * add internal implementation for SCP-like URLs.
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-5/+5
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* plumbing/transport: client avoid panics on nil protocolMáximo Cuadros2017-02-211-0/+9
|
* package plumbing documentation improvements (#248)Máximo Cuadros2017-02-071-0/+2
|
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-5/+5
|
* server: add git server implementation (#190)Santiago M. Mola2017-01-041-3/+3
| | | | | | | | | | | | | | | * server: add generic server implementation (transport-independent), both for git-upload-pack and git-receive-pack. * server: move internal functions to internal/common. * cli: add git-receive-pack and git-upload-pack implementations. * format/packfile: add UpdateObjectStorage function, extracted from Remote. * transport: implement tranport RPC-like, only with git-upload-pack and git-receive-pack methods. Client renamed to Transport. * storer: add storer.Storer interface. * protocol/packp: add UploadPackResponse constructor with packfile. * protocol/packp: fix UploadPackResponse encoding, add tests. * protocol/packp/capability: implement All.
* transport: new git protocol (#175)Máximo Cuadros2016-12-121-0/+2
|
* transport: add local transport (#145)Santiago M. Mola2016-11-291-1/+4
| | | | | * transport: move common packp protocol out of ssh transport. * fixtures: add fixture for empty repository. * transport: add file:// transport
* transport: create Client interface (#132)Santiago M. Mola2016-11-231-0/+32
* plumbing: move plumbing/client package to plumbing/transport. * transport: create Client interface. * A Client can instantiate any client transport service. * InstallProtocol installs a Client for a given protocol, instead of just a UploadPackService. * A Client can open a session for fetch-pack or send-pack for a specific Endpoint. * Adapt ssh and http clients to the new client interface. * updated doc