-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Globs ignore exclude_path
#1405
Comments
I think it should actually work, though. lychee/lychee-lib/src/types/input.rs Lines 337 to 338 in eb12064
At this point, I don't know why it doesn't work. lychee '**/*.rs' --dump-inputs so lychee --exclude-path './target/' '**/*.rs' --dump-inputs However, this gives me the same incorrect results as you described. As a side note, glob filtering is not ideal right now. Would love to move to |
### What Code files are now included in link checking. * Fixes #5925 Some issues encountered: * globs don't respect exclude_files which makes working with this locally harder lycheeverse/lychee#1405 * can't specify extensions / correct files aren't picked up automatically lycheeverse/lychee#410 ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using examples from latest `main` build: [rerun.io/viewer](https://rerun.io/viewer/pr/5986?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [rerun.io/viewer](https://rerun.io/viewer/pr/5986?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/5986) - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) To run all checks from `main`, comment on the PR with `@rerun-bot full-check`.
Also having issues with this (but an R project where I'd like to exclude the
but actually it is excluded
|
I think |
Never mind, I just realized we were talking about |
Fixed in #1556. |
I wanted lychee to check rust files, so I run
lychee **/*.rs
, confused why it takes so long to scan for links, I ranlychee **/*.rs --dump-inputs
which showed that paths excluded viaexclude_path
options (e.g.target
) did not influence the glob.This is quite inconvenient since what I'm actually after is adding extensions to be checked. At the very least this should be documented better.
The text was updated successfully, but these errors were encountered: