-
Notifications
You must be signed in to change notification settings - Fork 373
perf: ignore instead of wax #4578
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
Changes from 16 commits
805735d
9bba7eb
cead6f7
e0d0a87
539c305
6b94f88
be3923b
e78c731
4fd0afe
fa18ecb
fbb1871
7148d94
4b06c06
1fe695c
4694534
b34f552
2a031b7
968ee85
70bd699
027d62c
3bf7a2a
1e8591d
1234070
a723ff4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,11 +18,6 @@ use crate::{ | |
| }, | ||
| }; | ||
|
|
||
| /// A list of globs that should be ignored when calculating any input hash. | ||
| /// These are typically used for build artifacts that should not be included in | ||
| /// the input hash. | ||
| pub const DEFAULT_BUILD_IGNORE_GLOBS: &[&str] = &["!.pixi/**"]; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Dont need this we now exclude hidden by default There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This kind of feels wrong to me, but I can't articulate why. We for sure should document this though 🙂 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a switch I can flip. But I feel you also don't want to hover something like the .git folder by default. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I couldn't think of any case where you'd want a folder or file starting with |
||
|
|
||
| /// A query to retrieve information from the source build cache. This is | ||
| /// memoized to allow querying information from the cache while it is also | ||
| /// overwritten at the same time by a build. | ||
|
|
@@ -322,11 +317,7 @@ impl SourceBuildCacheStatusSpec { | |
| // Compute the modification time of the files that match the source input globs. | ||
| let glob_time = match GlobModificationTime::from_patterns( | ||
| &source_checkout.path, | ||
| source_info | ||
| .globs | ||
| .iter() | ||
| .map(String::as_str) | ||
| .chain(DEFAULT_BUILD_IGNORE_GLOBS.iter().copied()), | ||
| source_info.globs.iter().map(String::as_str), // .chain(DEFAULT_BUILD_IGNORE_GLOBS.iter().copied()), | ||
| ) { | ||
| Ok(glob_time) => glob_time, | ||
| Err(e) => { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gone with ye, for now!