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

Remove src/doc from exclude list in Cargo.toml #12000

Merged
merged 3 commits into from
Apr 21, 2023

Conversation

weihanglo
Copy link
Member

@weihanglo weihanglo commented Apr 19, 2023

What does this PR try to resolve?

To remove src/doc from exclude list in Cargo.toml, we need to do two things

  • Make src/doc/semver-check a workspace member. We achieve this by moving it to crates/semver-check.
  • Run linkchecker.sh from target directory, so that we only need to exclude target from workspace members.

How should we test and review this PR?

Run two CI job locally. For linkchecker,

cd target
curl -sSLO https://raw.githubusercontent.com/weihanglo/rust/linkchecker/src/tools/linkchecker/linkcheck.sh
sh linkcheck.sh --all --path ../src/doc cargo

For semver-check, just run cargo +stable run -p semver-check.

Additional information

Blocked on rust-lang/rust#110565

@rustbot
Copy link
Collaborator

rustbot commented Apr 19, 2023

r? @ehuss

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 19, 2023
@weihanglo weihanglo force-pushed the exclude-cleanup branch 2 times, most recently from f879a5c to 06bf613 Compare April 20, 2023 19:38
@weihanglo weihanglo marked this pull request as ready for review April 20, 2023 19:38
@weihanglo
Copy link
Member Author

rust-lang/rust#110565 is merged. This is ready for review now.

@epage
Copy link
Contributor

epage commented Apr 21, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 21, 2023

📌 Commit 8966ab0 has been approved by epage

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 Apr 21, 2023
@bors
Copy link
Collaborator

bors commented Apr 21, 2023

⌛ Testing commit 8966ab0 with merge 3f3c852...

@bors
Copy link
Collaborator

bors commented Apr 21, 2023

☀️ Test successful - checks-actions
Approved by: epage
Pushing 3f3c852 to master...

@bors bors merged commit 3f3c852 into rust-lang:master Apr 21, 2023
@weihanglo weihanglo deleted the exclude-cleanup branch April 21, 2023 13:18
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 21, 2023
Update cargo

14 commits in d0a4cbcee614fdb7ba66e860e603a00a644d71f8..de80432f04da61d98dcbbc1572598071718ccfd2
2023-04-16 17:42:50 +0000 to 2023-04-21 13:18:32 +0000
- Bump to 0.72.0; update changelog (rust-lang/cargo#12012)
- Remove `src/doc` from `exclude` list in Cargo.toml (rust-lang/cargo#12000)
- `--help` output use line wrap (rust-lang/cargo#12013)
- Fix semver checks for 1.69 (rust-lang/cargo#12011)
- Update contributor guide with new issue labels. (rust-lang/cargo#12003)
- Better error message when getting an empty dep table (rust-lang/cargo#11997)
- Fix broken links in contributor guide. (rust-lang/cargo#12002)
- Update linux-raw-sys to 0.3.2 (rust-lang/cargo#11998)
- chore: Use globs for workspace members (rust-lang/cargo#11996)
- fix: Allow win/mac credential managers to build on all platforms (rust-lang/cargo#11993)
- Add S-triage auto-label. (rust-lang/cargo#11995)
- ci: check if Cargo.lock is up-to-date (rust-lang/cargo#11994)
- Recompile on profile rustflags changes (rust-lang/cargo#11981)
- Clarify some 1.69 changelog entries. (rust-lang/cargo#11982)
RalfJung pushed a commit to RalfJung/miri that referenced this pull request Apr 22, 2023
Update cargo

14 commits in d0a4cbcee614fdb7ba66e860e603a00a644d71f8..de80432f04da61d98dcbbc1572598071718ccfd2
2023-04-16 17:42:50 +0000 to 2023-04-21 13:18:32 +0000
- Bump to 0.72.0; update changelog (rust-lang/cargo#12012)
- Remove `src/doc` from `exclude` list in Cargo.toml (rust-lang/cargo#12000)
- `--help` output use line wrap (rust-lang/cargo#12013)
- Fix semver checks for 1.69 (rust-lang/cargo#12011)
- Update contributor guide with new issue labels. (rust-lang/cargo#12003)
- Better error message when getting an empty dep table (rust-lang/cargo#11997)
- Fix broken links in contributor guide. (rust-lang/cargo#12002)
- Update linux-raw-sys to 0.3.2 (rust-lang/cargo#11998)
- chore: Use globs for workspace members (rust-lang/cargo#11996)
- fix: Allow win/mac credential managers to build on all platforms (rust-lang/cargo#11993)
- Add S-triage auto-label. (rust-lang/cargo#11995)
- ci: check if Cargo.lock is up-to-date (rust-lang/cargo#11994)
- Recompile on profile rustflags changes (rust-lang/cargo#11981)
- Clarify some 1.69 changelog entries. (rust-lang/cargo#11982)
@ehuss ehuss added this to the 1.71.0 milestone May 5, 2023
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.

None yet

5 participants