Feat/add stats fiel to upload pack
According to this discussion gitlab#384960 (comment 1384459575)
Add Stats
fields in:
- SSHUploadPackWithSidechannelResponse
- PostUploadPackWithSidechannelResponse
Incompatible changes:
-
client.UploadPackWithSidechannel
will be deprecated, use new functionUploadPackWithSidechannelWithResult
instead.
Note:
In unit-test, in TestUploadPackWithSidechannel_client
, the PayloadSize
is different in local-machine and ci, I don't know, please tell me if anybody know why. For now, I just ignore PayloadSize
in testing.
Edited by Sword