ruby/proto/gitaly/repository_services_pb.rb in gitaly-16.2.11 vs ruby/proto/gitaly/repository_services_pb.rb in gitaly-16.3.0.pre.rc1
- old
+ new
@@ -86,11 +86,12 @@
rpc :CreateBundleFromRefList, stream(::Gitaly::CreateBundleFromRefListRequest), stream(::Gitaly::CreateBundleFromRefListResponse)
# FetchBundle fetches references from a bundle into the local repository.
# Refs will be mirrored to the target repository with the refspec
# "+refs/*:refs/*" and refs that do not exist in the bundle will be removed.
rpc :FetchBundle, stream(::Gitaly::FetchBundleRequest), ::Gitaly::FetchBundleResponse
- # This comment is left unintentionally blank.
+ # CreateRepositoryFromBundle creates a Git repository at the specified storage and path, if it
+ # does not already exist, from the provided Git bundle.
rpc :CreateRepositoryFromBundle, stream(::Gitaly::CreateRepositoryFromBundleRequest), ::Gitaly::CreateRepositoryFromBundleResponse
# GetConfig reads the target repository's gitconfig and streams its contents
# back. Returns a NotFound error in case no gitconfig was found.
rpc :GetConfig, ::Gitaly::GetConfigRequest, stream(::Gitaly::GetConfigResponse)
# FindLicense looks in the given repository and attempts to detect all the
@@ -132,10 +133,17 @@
# eventually remove it. This ensures that even on networked filesystems the
# data is actually removed even if there's someone still handling the data.
rpc :RemoveRepository, ::Gitaly::RemoveRepositoryRequest, ::Gitaly::RemoveRepositoryResponse
# This comment is left unintentionally blank.
rpc :RenameRepository, ::Gitaly::RenameRepositoryRequest, ::Gitaly::RenameRepositoryResponse
- # This comment is left unintentionally blank.
+ # ReplicateRepository replicates data from a source repository to target repository. On the
+ # target repository, this operation ensures synchronization of the following components:
+ #
+ # - Git config
+ # - Git attributes
+ # - Custom Git hooks,
+ # - References and objects
+ # - (Optional) Object deduplication network membership
rpc :ReplicateRepository, ::Gitaly::ReplicateRepositoryRequest, ::Gitaly::ReplicateRepositoryResponse
# OptimizeRepository performs all maintenance tasks in a repository to keep
# it in an efficient state. It cleans up stale data, repacks objects,
# updates auxiliary caches like commit-graphs and packs references. The
# optimizations performed are based on heuristics and will adapt to the