Merge request viewing now (as of [#7836]) will fetch git info into existing git repositories. On deployments where the sysadmins don't want to do writes in existing git repos, we should use a tmp dir. The
--shared option for
git clone seems helpful to make it quick. Add an option, perhaps
scm.merge_list.git.use_tmp_dir = true, to do this.
Also log how long it took for each repo, since it is non-trivial code to run during a web request and may be too long for some repos. Logs will provide useful info.
Log in to post a comment.