Commit bf81c588 authored by James Lopez's avatar James Lopez
Browse files

fix issue with mapping members

parent a01c5165919f
......@@ -19,12 +19,6 @@ def git_unbundle(git_bin_path: Gitlab.config.git.bin_path, repo_path:, bundle_pa
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 @@ def initialize(exported_members:, user:, project:)
@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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment