Skip to content

Feat/add stats fiel to upload pack

Sword requested to merge RryLee/gitaly:feat/add_stats_fiel_to_upload_pack into master

According to this discussion gitlab#384960 (comment 1384459575)

Add Stats fields in:

  • SSHUploadPackWithSidechannelResponse
  • PostUploadPackWithSidechannelResponse

Incompatible changes:

  • client.UploadPackWithSidechannel will be deprecated, use new function UploadPackWithSidechannelWithResult 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

Merge request reports

Loading