aboutsummaryrefslogtreecommitdiffstats
path: root/clients/common/common_test.go
Commit message (Collapse)AuthorAgeFilesLines
* new plumbing package (#118)Máximo Cuadros2016-11-081-126/+0
| | | * plumbing: now core was renamed to core, and formats and clients moved inside
* Use advrefs in gituploadpackinfo (#92)Alberto Cortés2016-10-261-38/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add advrefs encoder and parser * modify advrefs encoder to resemble json encoder * turn advrefs parser into a decoder * clean code * improve documentation * improve documentation * clean code * upgrade to new pktline.Add and add Flush const to easy integration * gometalinter * Use packp/advrefs for GitUploadPackInfo parsing - GitUploadPackInfo now uses packp/advrefs instead of parsing the message by itself. - Capabilities has been moved from clients/common to packp to avoid a circular import. - Cleaning of advrefs_test code. - Add support for prefix encoding and decoding in advrefs. * clean advrefs test code * clean advrefs test code * clean advrefs test code * gometalinter * add pktline encoder * change pktline.EncodeFlush to pktline.Flush * make scanner tests use the encoder instead of Pktlines * check errors on flush and clean constants * ubstitute the PktLines type with a pktline.Encoder * use pktline.Encoder in all go-git * add example of pktline.Encodef() * add package overview * documentation * support symbolic links other than HEAD * simplify decoding of shallows * packp: fix mcuadros comments - all abbreviates removed (by visual inspection, some may remain) - all empty maps are initialized using make - simplify readRef with a switch - make decodeShallow malformed error more verbose - add pktline.Encoder.encodeLine - remove infamous panic in checkPayloadLength by refactoring out the whole function
* Substitute old pktline encoder/decoder with new pktline scanner (#84)Alberto Cortés2016-10-181-5/+6
| | | | | | | | | | | | | | | | * replace old pktline package with new pktline scanner * remove error checks on pktline.NewFromString * fix deppend bug * reduce memory garbage when pktline.NewFromStrings * improve int to hex conversion to help gc * make intToHex func private * clean function names
* clients/common: GitUploadPackInfo correct handling capabilities and symrefsMáximo Cuadros2016-08-311-0/+18
|
* clients/common: Endpoint SCP like supportMáximo Cuadros2016-08-161-0/+6
|
* clients: new Endpoint implementation and InstallProtocol functionMáximo Cuadros2016-08-131-8/+3
|
* general: usage of the new Reference objectsMáximo Cuadros2016-08-121-7/+17
|
* v3 -> v4Máximo Cuadros2016-08-111-2/+2
|
* update imports to v3Máximo Cuadros2016-02-171-2/+2
|
* client/common: fix empty panic on set at empty capabilityMáximo Cuadros2015-11-171-0/+7
|
* common: GitUploadPackRequest Want, Have methodsMáximo Cuadros2015-11-101-9/+4
|
* clients: GitUploadPackInfo head changeMáximo Cuadros2015-11-051-4/+13
|
* clients: capabilities improvement and info headMáximo Cuadros2015-11-051-0/+1
|
* clients: capabilities improvementMáximo Cuadros2015-11-011-18/+21
|
* internal -> coreMáximo Cuadros2015-10-311-8/+8
|
* clients: Capabilities parsing improvement and GitUploadPackInfo encodingMáximo Cuadros2015-10-311-2/+37
|
* client: handly empty repositoriesMáximo Cuadros2015-10-301-0/+6
|
* objects: using readers from internal.ObjectMáximo Cuadros2015-10-261-4/+15
|
* fixing routesMáximo Cuadros2015-10-231-1/+1
|
* clients and remote: fetch implementationMáximo Cuadros2015-10-231-0/+25
|
* clients: supporting diferent protocolsMáximo Cuadros2015-10-231-0/+37