Skip to content

Add support for ObjectFormatRequest RPC

Vasilii Iakliushin requested to merge 426803_add_object_format_rpc into master

What does this MR do and why?

Contributes to #426803 (closed)

Problem

There is no way to fetch object format for existing repositories.

Solution

Use ObjectFormatRequest RPC to detect repository object format.

How to set up and validate locally

  1. Open Rails console
  2. Execute Project.last.repository.object_format
  3. This code will make a call to Gitaly RPC and return a result (sha1)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vasilii Iakliushin

Merge request reports