Add support for ObjectFormatRequest RPC
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
- Open Rails console
- Execute
Project.last.repository.object_format
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Vasilii Iakliushin