-
Notifications
You must be signed in to change notification settings - Fork 141
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
Ignore a warning for a specific URL only #782
Labels
Comments
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Jan 6, 2024
We want to allow specifying a warning to ignore for each URL. If no regex is specified for the warning to ignore, we'll ignore all warnings. The tests still pass as they are, which means that unknown values in the configuration file are simply ignored.
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Jan 6, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Jan 6, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Jan 6, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Jan 6, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Jan 6, 2024
Remaining work, as far as I can see:
|
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Jan 6, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Jan 6, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Jan 6, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Jan 6, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 3, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 3, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 3, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 3, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 3, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 3, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 3, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 3, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 3, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 11, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 11, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 11, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 11, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 11, 2024
nodet
added a commit
to nodet/linkchecker
that referenced
this issue
Feb 11, 2024
cjmayo
pushed a commit
that referenced
this issue
Feb 13, 2024
We want to allow specifying a warning to ignore for each URL. If no regex is specified for the warning to ignore, we'll ignore all warnings. The tests still pass as they are, which means that unknown values in the configuration file are simply ignored. * [#782] Add values to configuration file * [#782] Parse new configuration values * [#782] Actually ignore a warning * [#782] Confirm side cases work as expected * [#782] Add logging when deciding to ignore warnings * [#782] Documentation for ignorewarningsforurls * [#782] Update (generated) man pages * [#782] These tests pass without network, actually * [#782] Fix copy/paste error in symbol naming * [#782] The regex matches the name of the warning, not the message * [#782] Better wording * [#782] Update (generated) man pages * [#782] We match the type, not the message
github-actions bot
pushed a commit
that referenced
this issue
Feb 13, 2024
We want to allow specifying a warning to ignore for each URL. If no regex is specified for the warning to ignore, we'll ignore all warnings. The tests still pass as they are, which means that unknown values in the configuration file are simply ignored. * [#782] Add values to configuration file * [#782] Parse new configuration values * [#782] Actually ignore a warning * [#782] Confirm side cases work as expected * [#782] Add logging when deciding to ignore warnings * [#782] Documentation for ignorewarningsforurls * [#782] Update (generated) man pages * [#782] These tests pass without network, actually * [#782] Fix copy/paste error in symbol naming * [#782] The regex matches the name of the warning, not the message * [#782] Better wording * [#782] Update (generated) man pages * [#782] We match the type, not the message 28f6743
#794 merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I have documents to check that purposefully have links that are redirected. I'd like to ignore the
http-redirected
warning on these URLs, but I don't want to ignore this warning for all other URLs in the document.ignorewarnings
in the documentation forlinkcheckerrc
would apply to all URLs in my document, and would prevent me from detecting redirects on other URLs.Did I miss something?
Steps to reproduce
Here's a URL that reproduces the 'redirect', and that I would want to ignore:
Environment
Darwin my-macbookpro-2022.local 22.6.0 Darwin Kernel Version 22.6.0: Tue Nov 7 21:40:08 PST 2023; root:xnu-8796.141.3.702.9~2/RELEASE_ARM64_T6000 arm64
pip install linkchecker
Configuration
The text was updated successfully, but these errors were encountered: