fix issue with mapping members
This commit is contained in:
parent
41f9d9d9ca
commit
bf81c588fd
2 changed files with 4 additions and 6 deletions
|
@ -19,12 +19,6 @@ module Gitlab
|
|||
|
||||
private
|
||||
|
||||
def git_unbundle(git_bin_path: Gitlab.config.git.bin_path, repo_path:, bundle_path:)
|
||||
cmd = %W(#{git_bin_path} clone --bare #{bundle_path} #{repo_path})
|
||||
_output, status = Gitlab::Popen.popen(cmd)
|
||||
status.zero?
|
||||
end
|
||||
|
||||
def tar_with_options(archive:, dir:, options:)
|
||||
execute(%W(tar -#{options} #{archive} -C #{dir} .))
|
||||
end
|
||||
|
|
|
@ -10,6 +10,10 @@ module Gitlab
|
|||
@project = project
|
||||
@note_member_list = []
|
||||
|
||||
# This needs to run first, as second call would be from generate_map
|
||||
# which means project members already exist.
|
||||
default_project_member
|
||||
|
||||
@project_member_map = Hash.new do |_, key|
|
||||
@note_member_list << key
|
||||
default_project_member
|
||||
|
|
Loading…
Reference in a new issue