aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/http/upload_pack.go
Commit message (Collapse)AuthorAgeFilesLines
* plumbing: Do not swallow http message coming from VCS providers.matej.risek2023-09-051-1/+0
| | | | | | For diagnostics reasons we want to surface error messages coming from VCS providers. That's why we introduce the reason field to Err struct in http package. This field can be used by an end user of the library in order to better understand failures.
* plumbing: transport/http, refactor transport to cache underlying transport ↵Sanskar Jaiswal2023-05-041-1/+1
| | | | | | | | | | | | | 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>
* plumbing: wire up contexts for Transport.AdvertisedReferences (#246)Andrew Suffield2021-03-261-1/+5
| | | | | * plumbing: wire up contexts for Transport.AdvertisedReferences * add more tests for context wiring
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-6/+6
|
* transport: http, fix services redirecting only info/refsMáximo Cuadros2018-02-141-1/+1
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* *: add pointer to the new transport.Endpoint structMáximo Cuadros2017-11-211-3/+2
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* transport: context package supportMáximo Cuadros2017-07-251-4/+11
|
* transport: http pushAntonio Jesus Navarro Perez2017-07-041-69/+4
|
* transport: make Endpoint an interface, fixes #362Santiago M. Mola2017-04-271-1/+1
| | | | | * add internal *url.URL implementation for regular URLs. * add internal implementation for SCP-like URLs.
* plumbing: transport, handle 403 in http transportChris Dostert2017-04-101-4/+3
|
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-6/+6
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* new srcd.works/go-git.v4 pathMáximo Cuadros2017-01-301-6/+6
|
* transport/http: fix partial request with haves. Fix #216. (#221)Antonio Navarro Perez2017-01-251-2/+5
|
* transport: remove SetAuth, fixes #206 (#210)Anthony Weems2017-01-171-8/+14
| | | | | * remove SetAuth functions, implement at NewUploadPackSession/NewReceivePackSession level. * propagate transport.Auth from Fetch/Pull/Clone options to the transport API.
* server: add git server implementation (#190)Santiago M. Mola2017-01-041-0/+174
* 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.