Closed Bug 1848672 Opened 2 years ago Closed 2 years ago

filter_git_changes.py new regex handles files better, but not directory exclusion

Categories

(Core :: WebRTC, task)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: mjf, Assigned: mjf)

Details

Attachments

(1 file)

Bug 1848373 fixed a case where an excluded file would cause a file with the same beginning characters (see '.vpython' and '.vpython3') to also be excluded when it should not. However, this breaks proper handling of excluding directories where we were relying on the more permissive regex. The list of excluded paths should be broken into 2 lists, one for files and one for directories to allow specific regex handling for each case.

Excluding directories requires different a different regex pattern
than excluding files. This breaks up the exclusion list into a
list for excluding files and a list for excluding directories.

Assignee: nobody → mfroman
Status: NEW → ASSIGNED
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/mozilla-central/rev/c1af549fa6ca use separate lists for excluding files and excluding directories. r=dbaker
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: