Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Document that linkcheck only looks at modified files when running locally #1034

Open
Labels
A-linkcheckArea: linkcheck C-CICategory: CI for this repo E-needs-investigationCall for participation: this issue needs further investigation E-needs-writeupCall for participation: discussion can be written up without much research required
@guswynn

Description

when i run
RUST_LOG=trace mdbook build
I get:

2021年01月22日 08:35:53 [WARN] (mdbook::renderer): Renderer command `../../ci/linkcheck.sh`
uses a path relative to the renderer output directory `/Users/azw/repos/rustc-dev-guide/book/linkcheck`. This was previously accepted, but has been deprecated. Relative executable paths should be relative to the book root.
Checking files changed in master...: src/about-this-guide.md src/contributing.md src/git.md
[2021年01月22日T16:35:53Z DEBUG mdbook_linkcheck] Loading cache from /Users/azw/repos/rustc-dev-guide/book/linkcheck/cache.json
[2021年01月22日T16:35:53Z INFO mdbook_linkcheck] Started the link checker
[2021年01月22日T16:35:53Z DEBUG mdbook_linkcheck] Selected file: Some(["src/about-this-guide.md", "src/contributing.md", "src/git.md"])
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] Config {
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] follow_web_links: true,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] traverse_parent_directories: false,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] exclude: [
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] HashedRegex {
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] string: "crates\\.io",
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] re: crates\.io,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] },
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] HashedRegex {
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] string: "gcc\\.godbolt\\.org",[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] re: gcc\.godbolt\.org,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] },
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] HashedRegex {
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] string: "youtube\\.com",
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] re: youtube\.com,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] },
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] HashedRegex {
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] string: "youtu\\.be",
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] re: youtu\.be,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] },
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] HashedRegex {
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] string: "dl\\.acm\\.org",
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] re: dl\.acm\.org,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] },
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] HashedRegex {
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] string: "cs\\.bgu\\.ac\\.il",
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] re: cs\.bgu\.ac\.il,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] },
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] HashedRegex {
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] string: "www\\.amazon\\.com",
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] re: www\.amazon\.com,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] },
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] HashedRegex {
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] string: "www\\.rustaceans\\.org",
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] re: www\.rustaceans\.org,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] },
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] HashedRegex {
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] string: "play\\.rust-lang\\.org",
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] re: play\.rust-lang\.org,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] },
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] ],
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] user_agent: "mdbook-linkcheck-0.7.2",
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] cache_timeout: 86400,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] warning_policy: Error,
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] http_headers: {},
[2021年01月22日T16:35:53Z TRACE mdbook_linkcheck] }
[2021年01月22日T16:35:53Z INFO mdbook_linkcheck] Scanning book for links
[2021年01月22日T16:35:53Z INFO mdbook_linkcheck] Found 0 links (0 incomplete links)
[2021年01月22日T16:35:53Z TRACE mio::sys::unix::kqueue] registering; token=Token(18446744073709551615); interests=Readable
[2021年01月22日T16:35:53Z TRACE mio::poll] registering with poller
[2021年01月22日T16:35:53Z DEBUG mdbook_linkcheck] Saving the cache to /Users/azw/repos/rustc-dev-guide/book/linkcheck/cache.json
[2021年01月22日T16:35:53Z INFO mdbook_linkcheck] No broken links found
2021年01月22日 08:35:53 [TRACE] (mdbook::renderer): ../../ci/linkcheck.sh exited with output: ExitStatus(ExitStatus(0))

which says it found no links in the book at all. Separately, when i manually run
RUST_LOG=trace mdbook-linkcheck -f src/git.md book or RUST_LOG=trace ../../ci/linkcheck.s it just hangs? Have I set up my local instance incorrectly? I think its very curious that it seems to be running the same thing

if I remove the command = from the linkcheck section of the book.toml, linkcheck works, but I get the classic Server returned 429 Too Many Requests for for github as well as some other interesting errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkcheckArea: linkcheck C-CICategory: CI for this repo E-needs-investigationCall for participation: this issue needs further investigation E-needs-writeupCall for participation: discussion can be written up without much research required

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /