Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd 'test-tidy-faster' command to ./mach #9118
Conversation
|
I never have a FETCH_HEAD in my repository. |
|
@nox, that's inconvenient. Shall I instead use git log -n1 --author="bors-servo" --format="%H"to find the last merge? |
|
-S-awaiting-review +S-needs-decision Reviewed 1 of 3 files at r1, 2 of 2 files at r2. tests/wpt/web-platform-tests/tools/lint/lint.py, line 28 [r2] (raw file): So, this probably requires more work than I'd previously anticipated. I'll come up with a plan soon :) Comments from the review on Reviewable.io |
|
We could stick to the original plan:
Then we would not have to put any code in the WPT dir, but it would not be a very elegant (and probably just a temporary) solution. |
|
@dsprenkels Agreed, let's have |
|
Review status: 0 of 2 files reviewed at latest revision, 3 unresolved discussions. python/servo/testing_commands.py, line 262 [r3] (raw file): python/tidy.py, line 567 [r3] (raw file): python/tidy.py, line 595 [r3] (raw file): Comments from the review on Reviewable.io |
|
-S-awaiting-review +S-needs-code-changes Reviewed 2 of 3 files at r3. python/servo/testing_commands.py, line 262 [r3] (raw file): python/tidy.py, line 567 [r3] (raw file): python/tidy.py, line 595 [r3] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 3 unresolved discussions. python/tidy.py, line 567 [r3] (raw file): Comments from the review on Reviewable.io |
|
-S-awaiting-review +S-needs-squash Reviewed 2 of 2 files at r4. Comments from the review on Reviewable.io |
which will - only check files changed since the last merge by bors - and skip the wpt-lint
|
@bors-servo r+ Thanks! :) |
|
|
Add 'test-tidy-faster' command to ./mach For issue #9088, this adds a `--changes` option to `./mach test-tidy`. If this option is set, `tidy.py` will only check files that have been modified since `FETCH_HEAD`. Mention: @wafflespeanut <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9118) <!-- Reviewable:end -->
|
|
|
|
|
|
Add 'test-tidy-faster' command to ./mach For issue #9088, this adds a `--changes` option to `./mach test-tidy`. If this option is set, `tidy.py` will only check files that have been modified since `FETCH_HEAD`. Mention: @wafflespeanut <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9118) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
Add 'test-tidy-faster' command to ./mach For issue #9088, this adds a `--changes` option to `./mach test-tidy`. If this option is set, `tidy.py` will only check files that have been modified since `FETCH_HEAD`. Mention: @wafflespeanut <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9118) <!-- Reviewable:end -->
|
WRATH OF THE BOTS!!! |
|
|
|
@bors-servo retry
|
|
|
|
|
|
Whoo! Finally! :) |
|
:D |
dsprenkels commentedJan 1, 2016
For issue #9088, this adds a
--changesoption to./mach test-tidy. If this option is set,tidy.pywill only check files that have been modified sinceFETCH_HEAD.Mention: @wafflespeanut