Skip to content

Correctly preserve LFS objects in design or wiki repositories

Nick Thomas requested to merge 244848-fix-lfs-cleanup-data-loss-bug into master

What does this MR do?

The gitlab:cleanup:orphan_lfs_file_references rake task forgets to take account of design and wiki repositories, both of which contain LFS objects. Add them to the list of repositories we get OIDs from.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Part of #244848 (closed)

Edited by Nick Thomas

Merge request reports