Skip to content
Snippets Groups Projects
Commit b1ef4099 authored by Georges Racinet's avatar Georges Racinet
Browse files

RepositoryService: moved path resolution for creation to a separate method

This is a more focused version of 009b7fb9f27a (that will probably be replaced
by the present changeset).

Factorizing more is subject to the problem that different errors (or no error)
may have to be returned in other services/methods. OTOH we can expect all
creation methods to have consistent behaviour, and it's actually become more the
case with Gitaly≥14.6, in which all repository creation methods return the
`ALREADY_EXISTS` gRPC error (used to be a mixed of two different errors and no
error before that).

Also the message does not have to repeat information about the gRPC method that
was actually called, since the proper response type is used (and caller-side logging
will include the method anyway).
parent d419f844
No related branches found
No related tags found
1 merge request!71repository-service: implement CreateBundle and CreateRepositoryFromBundle
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment