Closed Bug 2085845 Opened 23 days ago Closed 22 days ago

Split whole tree `mach lint` runs into jobs on Windows

Categories

(Developer Infrastructure :: Lint and Formatting, enhancement)

enhancement

Tracking

(firefox161 fixed)

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: ahochheiden, Assigned: ahochheiden)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

On Windows, mach lint . never matches the root path, so each linter runs the whole tree as one job.

_generate_jobs lists the top level entries only when the linted path
equals self.root. roll passes the path through os.path.abspath,
which gives backslashes on Windows, while mach gives the root with
forward slashes, so on Windows mach lint . ran each linter on the
root as a single job.

Status: NEW → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: