Skip to content

Conversation RepositoryService::RestoreCustomHooks

Support for creating and retrieving custom hooks through gitaly.

For use in backup / restore (, as well as project export / import.)

For import/export this feature is missing regardless of gitaly. Edit (Jacob): out of scope

For backup/restore, the current task attempts to preserve the custom hooks located on same filesystem as the BackupRestore is run, so does not work when gitaly is on seperate nodes.


Stages:

RPC Endpoints:

  • RepositoryService::RestoreCustomHooks

Known Client Routes:

  • rake gitlab:backup:restore
  • rake gitlab:backup:create
  • Gitlab::ImportExport::Importer
  • Projects::ImportExport::ExportService

Edited by Jacob Vosmaer
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information