Skip to content
Snippets Groups Projects

repo-updater: Simplify EnabledStateDeprecationMigration

Closed Warren Gifford requested to merge core/simplify-enabled-state-deprecation-migration into master

Created by: tsenart

This commit simplifies the EnabledStateDeprecationMigration.

It removes old complexity associated with the longer valid requirement adding deleted repos to an include list as well as removing the need to source repos at all, which makes repo-updater startup much faster.

Since all repos in a Diff are Enabled, we know that we can simply access the disabled stored repos, add them to the relevant exclude lists and delete them.

The tests have been reworked to be slightly more readable and maintainable, also eliminating now defunct test cases.

Test plan: go test

Merge request reports

Closed by avatar (Jun 8, 2025 12:01pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading