Skip to content

Extract regex modules into discrete files, add MR module

What does this MR do and why?

Extracts Packages and BulkImports modules into their own files, and adds a new module Gitlab::Regex::MergeRequests for MR-related regexes. The goal of this shuffling is to reduce complexity of lib/gitlab/regex.rb and make it a bit less of a "junk drawer" class, while establishing a pattern for additional cleanups, and providing a home for future regexes to land in.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports