Closed Bug 2085858 Opened 25 days ago Closed 15 days ago

Walk the tree once in `license-declarations`

Categories

(Developer Infrastructure :: Lint and Formatting, enhancement)

enhancement

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: ahochheiden, Assigned: ahochheiden)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

license-declarations walks the tree and parses every moz.build twice.

license-declarations walked the whole tree to gather the declared ids
and then walked the linted paths again, parsing every moz.build twice. The
linted files are now the ones from the first walk under the given paths.
A moz.build in a dot directory is no longer linted when that directory is
passed explicitly, since the tree walk skips dot directories.

Pushed by ahochheiden@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8337f6b07ac4 https://hg.mozilla.org/integration/autoland/rev/a90d9728410a Lint the moz.build files `license-declarations` already walked r=linter-reviewers,sylvestre
Status: NEW → RESOLVED
Closed: 15 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: