aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/common_test.go
Commit message (Collapse)AuthorAgeFilesLines
* internal: Fix regression in csp-like matchJoseda Rios2023-04-151-4/+16
| | | | Signed-off-by: Joseda Rios <josriolop@gmail.com>
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-1/+1
|
* test: improve test for urlencoded user:passSantiago M. Mola2018-09-271-5/+15
| | | | Signed-off-by: Santiago M. Mola <santi@mola.io>
* plubming: transport, Escape the user and password for endpoint. Fixes #723Zachary Romero2018-02-281-0/+10
| | | | Signed-off-by: Zachary Romero <zacromero3@gmail.com>
* transport: converts Endpoint interface into a structMáximo Cuadros2017-11-211-65/+84
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* Fixed SCP regexJ. Fernando Sánchez2017-09-281-1/+1
| | | | URLs should be user@server:port/path instead of user@server:port:path
* Adds port to SCP EndpointsJ. Fernando Sánchez2017-09-281-0/+12
| | | | | | The port for SCP-like URLs was hardcoded to 22. This commit modifies the regex to find a port (optional), and adds a new test case that covers this scenario.
* do not convert local paths to URLSantiago M. Mola2017-04-281-2/+50
| | | | | | | * Do not convert local paths to URLs, just keep them as they are. * This way we add support for Windows without taking care of Windows path-to-URL conversion.
* transport: make Endpoint an interface, fixes #362Santiago M. Mola2017-04-271-4/+52
| | | | | * 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-1/+1
| | | | 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-1/+1
|
* capabilities: full integration (#151)Máximo Cuadros2016-12-011-0/+10
| | | | | | | | | | | | | | | | | | * format/pktline: fix readPayloadLen err handling * protocol/pakp: UploadReq validation and creation of capabilities * protocol/pakp: AdvRef tests * protocol/pakp: capability.List.Delete * protocol: filter unsupported capabilities * remote capability negociation * transport: UploadRequest validation * requested changes
* transport: create Client interface (#132)Santiago M. Mola2016-11-231-0/+31
* 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