Skip to content

Gitlab 11+ hooks issues #271

@slonopotamus

Description

@slonopotamus
  1. git-as-svn doesn't know anymore where GitLab hooks are located. Workaround:

     repositoryMapping: !gitlabMapping
       template:
         pusher: !pushEmbedded
           hooksPath: /opt/gitlab/embedded/service/gitaly-ruby/git-hooks
    
  2. Hooks require Ruby on $PATH. Workaround: add PATH="/bin:/usr/bin:/opt/gitlab/embedded/bin" to /etc/default/git-as-svn

  3. Hooks require GITLAB_SHELL_DIR environment variable. Workaround: add GITLAB_SHELL_DIR=/opt/gitlab/embedded/service/gitlab-shell to /etc-default/git-as-svn

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggitlabGitLab integration

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions