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

Add all submodules to the list of directories tidy skips #102017

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

est31
Copy link
Member

@est31 est31 commented Sep 19, 2022

Tidy contains a blacklist of directories that it is not visiting. This list is also used by the replace-version-placeholder tool added by #100591 , to determine the directories to do its replacement from. Generally, tidy does not check submodules, but this is not done consistently for all submodules. This PR adds the submodules that were previously missing, so that the replace-version-placeholder tool does not attempt to change content of the books. This was needed because rustc-dev-guide contains the placeholder, leading to #102014.

Fixes #102014

I ran git config --file .gitmodules --name-only --get-regexp path
and added all submodules that were not already in the list to it.
@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(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 Sep 19, 2022
@est31
Copy link
Member Author

est31 commented Sep 19, 2022

cc @pietroalbini

@Mark-Simulacrum
Copy link
Member

I think this makes sense. I was going to ask "but what about other tidy lints that might make sense", but I think that set maybe only includes e.g. avoidance of adding binaries to the submodules, which isn't that critical to check and we probably don't want tidy enforcing line length and such in any case for submodules.

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Sep 19, 2022

📌 Commit cd3979d has been approved by Mark-Simulacrum

It is now in the queue for this repository.

@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 Sep 19, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 20, 2022
…iaskrgr

Rollup of 11 pull requests

Successful merges:

 - rust-lang#101389 (Tone down explanation on RefCell::get_mut)
 - rust-lang#101798 (Make `from_waker`, `waker` and `from_raw` unstably `const`)
 - rust-lang#101881 (Remove an unused struct field `late_bound`)
 - rust-lang#101904 (Add help for invalid inline argument)
 - rust-lang#101966 (Add unit test for identifier Unicode emoji diagnostics)
 - rust-lang#101979 (Update release notes for 1.64)
 - rust-lang#101985 (interpret: expose generate_stacktrace without full InterpCx)
 - rust-lang#102004 (Try to clarify what's new in 1.64.0 ffi types)
 - rust-lang#102005 (rustdoc: remove unused CSS `td.summary-column`)
 - rust-lang#102017 (Add all submodules to the list of directories tidy skips)
 - rust-lang#102019 (Remove backed off PRs from relnotes)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit ade6505 into rust-lang:master Sep 20, 2022
@rustbot rustbot added this to the 1.66.0 milestone Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

replace-version-placeholder should not recurse into the rustc-dev-guide
5 participants