Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 36,911
    • Issues 36,911
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 1,538
    • Merge requests 1,538
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #227457

Closed
Open
Created Jul 08, 2020 by Lucas Charles@theoretickDeveloper

Allow case-insensitive matcher in rules.exists and rules.changes

Problem to solve

We do not currently provide a way to perform a case-insensitive match using rules.exists, we should consider providing either providing a case-insensitive matcher, support for regexes, or consider making the default rules.exists match case insensitive.

Intended users

  • Delaney (Development Team Lead)
  • Sasha (Software Developer)

User experience goal

Easier matching using rules.exists

Proposal

(Loosely ordered)

  1. Provide regex support within rules.exists
  2. Make rules.exists case-insensitive
  3. Introduce new matcher syntax

Further details

This issue was born out of #220983 where devopssecure is running into the upper limit for matchers. We have a large enough glob list where we run into issues during global project path matching.

Permissions and Security

No change to permissions

Documentation

Availability & Testing

What does success look like, and how can we measure that?

Easier rules.exists and rules.changes support for case-insensitivity

What is the type of buyer?

GitLab Core

Is this a cross-stage feature?

No, devopsverify

Links / references

Edited Jul 08, 2020 by Lucas Charles
Assignee
Assign to
Backlog
Milestone
Backlog
Assign milestone
Time tracking
None
Due date
None