Support reftables in `UpdateRef`
The UpdateRef package is in charge of updating ref using transaction in Gitaly. To parse errors thrown by Git, we utilize a set of regex's to match various errors. These errors are then propagated to the rest of the system and corresponding action is taken.
We need to update UpdateRef regex's with the errors thrown by the reftables backend. Once this is fixed, we can run the following tests with the reftable backend.
-
TestUpdater_concurrentLocking -
TestUpdater_cancel -
TestUpdateReferences/locked_reference -
TestWriteRef_locked -
TestUserDeleteBranch_concurrentUpdate -
TestDeleteRefs_refLocked -
TestUpdater_nonCommitObject -
TestUpdateReferences/missing_object -
TestFetchRemote/D/F_conflict_causes_failure_when_pruning_is_disabled -
TestFetchRemote/F/D_conflict_causes_failure_when_pruning_is_disabled -
TestUserCreateBranch_failure/conflicting_with_refs/heads/improve/awesome -
TestUpdater_fileDirectoryConflict
Edited by Karthik Nayak