Draft: Temporary branches method [SPIKE] Pull Mirroring - Investigate if LFS objects can be sync'd before git data written

What does this MR do and why?

This Spike MR explores the 'Temporary branches method' and updates the pull mirror logic to:

  1. Write git data into a temporary branch first, e.g. update-mirror/<branch-name>-tmp.
  2. Sync LFS objects using update-mirror/<branch-name>-tmp branch as the source.
  3. Apply commits from update-mirror/<branch-name>-tmp branch to update-mirror/<branch-name> branch.
  4. Delete update-mirror/<branch-name>-tmp branch.

Related: [SPIKE] Pull Mirroring - Investigate if LFS obj... (#442379 - closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Ash McKenzie

Merge request reports

Loading