Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lintcheck, do some refactoring and add more sources #6813

Merged
merged 9 commits into from
Mar 1, 2021

Conversation

matthiaskrgr
Copy link
Member

refactor: add a Config object
don't run in parallel mode by default (it didn't make sense because cargo would lock the shared target dir anyway)
show full paths (from repo root) to the source files in clippy warnings so we can just copy the path from the logfile
fix more bugs
add more crates by dtolnay and embark to the sources toml

changelog: lintcheck: refactor some code and add more sources

@rust-highfive
Copy link

r? @phansch

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Feb 28, 2021
@bors
Copy link
Contributor

bors commented Feb 28, 2021

☔ The latest upstream changes (presumably #6787) made this pull request unmergeable. Please resolve the merge conflicts.

…olds the job limit and paths to the sources and log files
…o the source files of a warning into the lintcheck log

This is more convenient when reviewing new lint warnings that popped up in the logs
fix a couple of issues when checking if lintcheck needed rerun after clippy binary changed.
I was apparently still comparing the times wrongly, but it should be fixed™ now...
I actually looked at the date of the sources.toml and not at the date of the log file!

Also fix progress report counter not advancing in squential mode
…ectory from traget/lintcheck/crates to target/lintcheck/sources

also update logfile with the dtolnay crates
@flip1995
Copy link
Member

flip1995 commented Mar 1, 2021

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Mar 1, 2021

📌 Commit 25f9098 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Mar 1, 2021

⌛ Testing commit 25f9098 with merge 6e49615...

bors added a commit that referenced this pull request Mar 1, 2021
lintcheck, do some refactoring and add more sources

refactor: add a Config object
don't run in parallel mode by default (it didn't make sense because cargo would lock the shared target dir anyway)
show full paths (from repo root) to the source files in clippy warnings so we can just copy the path from the logfile
fix more bugs
add more crates by dtolnay and embark to the sources toml

changelog: lintcheck: refactor some code and add more sources
@bors
Copy link
Contributor

bors commented Mar 1, 2021

💥 Test timed out

@matthiaskrgr
Copy link
Member Author

@bors retry

@bors
Copy link
Contributor

bors commented Mar 1, 2021

⌛ Testing commit 25f9098 with merge 9e884fd...

bors added a commit that referenced this pull request Mar 1, 2021
lintcheck, do some refactoring and add more sources

refactor: add a Config object
don't run in parallel mode by default (it didn't make sense because cargo would lock the shared target dir anyway)
show full paths (from repo root) to the source files in clippy warnings so we can just copy the path from the logfile
fix more bugs
add more crates by dtolnay and embark to the sources toml

changelog: lintcheck: refactor some code and add more sources
@matthiaskrgr
Copy link
Member Author

Job did not start...
@bors retry

@bors
Copy link
Contributor

bors commented Mar 1, 2021

⌛ Testing commit 25f9098 with merge 5ae1e17...

@bors
Copy link
Contributor

bors commented Mar 1, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 5ae1e17 to master...

@bors bors merged commit 5ae1e17 into rust-lang:master Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants