Closed
Bug 1410938
Opened 8 years ago
Closed 8 years ago
Split the clang-format calls
Categories
(Developer Infrastructure :: Source Code Analysis, enhancement, P3)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox58 fixed)
RESOLVED
FIXED
mozilla58
| Tracking | Status | |
|---|---|---|
| firefox58 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(2 files)
./mach clang-format -p .
will reformat the whole source code.
However, we can probably reach the max command line size.
Instead, I propose that we split the call to clang-format per batch of XXX files.
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → sledru
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 3•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8921128 [details]
Bug 1410938 - Split the clang-format calls into batches of 200 files
https://reviewboard.mozilla.org/r/192118/#review197302
I'm pretty sure there's an `itertools` helper to do the chunking. But this is fine.
Attachment #8921128 -
Flags: review?(gps) → review+
Comment 4•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8921129 [details]
Bug 1410938 - Make mach_commands.py flake8/pep8 compatible and add it the list of flake8 files
https://reviewboard.mozilla.org/r/192120/#review197304
Attachment #8921129 -
Flags: review?(gps) → review+
Updated•8 years ago
|
Priority: -- → P3
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bac298708923
Split the clang-format calls into batches of 200 files r=gps
https://hg.mozilla.org/integration/autoland/rev/7b07d5488288
Make mach_commands.py flake8/pep8 compatible and add it the list of flake8 files r=gps
Comment 6•8 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/bac298708923
https://hg.mozilla.org/mozilla-central/rev/7b07d5488288
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Updated•8 years ago
|
Product: Core → Firefox Build System
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•