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

Support early stopping too old pre-installed tidy command for macOS in the HTML checker #90663

Merged
merged 1 commit into from
Nov 10, 2021
Merged

Support early stopping too old pre-installed tidy command for macOS in the HTML checker #90663

merged 1 commit into from
Nov 10, 2021

Conversation

ken-matsui
Copy link
Contributor

@ken-matsui ken-matsui commented Nov 7, 2021

This PR brings early stopping the HTML checker before errors, which leave some macOS users confused, and suggesting installing a newer tidy command.

The pre-installed tidy command on macOS is too old, released on 31 October 2006. Additionally, I can see the same date at StackOverflow seven years ago. The tidy does not support two indispensable options: --mute-id and --mute. So, the ./x.py test command fails with a bunch of errors due not to muting them.

I could confirm the ./x.py test command before installing a newer tidy failed and its command after the installation succeeded.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Mark-Simulacrum (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 7, 2021
@Mark-Simulacrum
Copy link
Member

Seems OK. @bors r+ rollup=iffy

@bors
Copy link
Contributor

bors commented Nov 9, 2021

📌 Commit f06a711 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 9, 2021
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Nov 9, 2021
…oo-old-tidy-for-macos, r=Mark-Simulacrum

Support early stopping too old pre-installed `tidy` command for macOS in the HTML checker

This PR brings early stopping the HTML checker before errors, which leave some macOS users confused, and suggesting installing a newer `tidy` command.

The pre-installed `tidy` command on macOS is too old, released on 31 October 2006. Additionally, I can see the same date at [StackOverflow](https://stackoverflow.com/questions/22283382/overwrite-osx-tidy
) seven years ago. The `tidy` does not support two indispensable options: `--mute-id` and `--mute`. So, the `./x.py test` command fails with a bunch of errors due not to muting them.

I could confirm the `./x.py test` command before installing a newer `tidy` failed and its command after the installation succeeded.
@bors
Copy link
Contributor

bors commented Nov 10, 2021

⌛ Testing commit f06a711 with merge f2f55e8...

@bors
Copy link
Contributor

bors commented Nov 10, 2021

☀️ Test successful - checks-actions
Approved by: Mark-Simulacrum
Pushing f2f55e8 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Nov 10, 2021
@bors bors merged commit f2f55e8 into rust-lang:master Nov 10, 2021
@rustbot rustbot added this to the 1.58.0 milestone Nov 10, 2021
@ken-matsui ken-matsui deleted the support-early-stopping-too-old-tidy-for-macos branch November 10, 2021 06:29
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (f2f55e8): comparison url.

Summary: This benchmark run did not return any relevant changes.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants