ruff
[red-knot]: Add a VendoredFileSystem implementation
#11863
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
43
Changes
View On
GitHub
[red-knot]: Add a VendoredFileSystem implementation
#11863
AlexWaygood
merged 43 commits into
main
from
vendored-filesystem
Refactor `file` and `vendored` methods and make them standalone funct…
41a1aff9
Make `file_system_path_to_file` return an Option
d3c8e83a
Improve documentation, rewrite inline comment, rename `file_system_pa…
1a697454
Update crates/ruff_db/src/vfs.rs
43fa7bf6
Don't use non-platform agnostic `is_absolute` method
b0543150
Add `ModuleName` struct with tests
383691e6
Module resolver
5a1da62c
Port module resolver to salsa
01041cd7
Add `remove_file` and `remove_directory` tests
f16c0455
Suppress warning about unused `Os` file system that are only used on …
56f2caf4
Change `ModuleName::new` to return an `Option`
bcaea19c
Use `touch` over `set_permission` and `set_revision` in Tests
4df3bea2
AlexWaygood
added
ty
AlexWaygood
requested a review
from
carljm
1 year ago
AlexWaygood
requested a review
from
MichaReiser
1 year ago
AlexWaygood
marked this pull request as draft
1 year ago
AlexWaygood
force pushed
from
00edf56c
to
0cbc5905
1 year ago
AlexWaygood
marked this pull request as ready for review
1 year ago
[red-knot]: Add a `VendoredFileSystem` implementation
4441c9ee
AlexWaygood
force pushed
from
8bc33846
to
4441c9ee
1 year ago
MichaReiser
requested changes on 2024-06-14
Fix many easily addressed review comments
ae49c712
More relatively easily addressed comments
bd94c600
AlexWaygood
force pushed
from
821cbef6
to
bd94c600
1 year ago
Just use the file hash for `FileRevision`
43e36260
simplify
13ee2d2c
Refactor `file` and `vendored` methods and make them standalone funct…
05846ae1
Make `file_system_path_to_file` return an Option
88a6aa46
Improve documentation, rewrite inline comment, rename `file_system_pa…
64b67efc
Update crates/ruff_db/src/vfs.rs
cbb89926
Add `ModuleName` struct with tests
00477c7b
Module resolver
de1ec295
Port module resolver to salsa
92b3465d
Add `remove_file` and `remove_directory` tests
2ee69734
Suppress warning about unused `Os` file system that are only used on …
96d75a74
Change `ModuleName::new` to return an `Option`
e5e8da68
Use `touch` over `set_permission` and `set_revision` in Tests
2348fe66
Merge branch 'salsa-memory-resolver' into vendored-filesystem
eea6023e
Reduce clones and make them more explicit
07e5a803
MichaReiser
commented on 2024-06-15
Use interior mutability to avoid cloning when unnecessary
514e9b69
AlexWaygood
force pushed
from
115a0376
to
aa5ac457
1 year ago
AlexWaygood
force pushed
from
aa5ac457
to
01d36fd2
1 year ago
AlexWaygood
force pushed
from
01d36fd2
to
752c9100
1 year ago
Do not implement `FileSystem`
1f688323
AlexWaygood
force pushed
from
752c9100
to
1f688323
1 year ago
Simplify normalization logic
035ea53a
AlexWaygood
requested a review
from
MichaReiser
1 year ago
AlexWaygood
commented on 2024-06-17
MichaReiser
commented on 2024-06-17
Update crates/ruff_db/src/vendored.rs
5c336102
Get rid of unneeded methods
ecf97a9b
Return `Result` from `read()`
be8f952c
Replace a wrapper type with a type alias
f4f97d4a
fix tests
df248ce9
AlexWaygood
force pushed
from
96159d91
to
6702893d
1 year ago
AlexWaygood
requested a review
from
MichaReiser
1 year ago
AlexWaygood
force pushed
from
6702893d
to
b0fe7c08
1 year ago
Bring back some notion of vendored-stub-file "metadata"
f05bcb2c
AlexWaygood
force pushed
from
b0fe7c08
to
f05bcb2c
1 year ago
MichaReiser
requested a review
from
dhruvmanila
1 year ago
AlexWaygood
removed review request
from
dhruvmanila
1 year ago
Base automatically changed from
salsa-memory-resolver
to
main
1 year ago
Merge remote-tracking branch 'upstream/main' into vendored-filesystem
89ebc91c
MichaReiser
approved these changes on 2024-06-18
add some newlines
13c28025
More docs etc.
5d511bb0
AlexWaygood
force pushed
from
38990d55
to
5d511bb0
1 year ago
AlexWaygood
enabled auto-merge (squash)
1 year ago
See if bumping `zstd-sys` changes anything
3127ff69
disabled auto-merge
1 year ago
Manually disabled by user
AlexWaygood
enabled auto-merge (squash)
1 year ago
AlexWaygood
merged
1d73d60b
into main
1 year ago
AlexWaygood
deleted the vendored-filesystem branch
1 year ago
Login to write a write a comment.
Login via GitHub
Reviewers
MichaReiser
carljm
Assignees
No one assigned
Labels
ty
Milestone
No milestone
Login to write a write a comment.
Login via GitHub