ruff
[red-knot]: Add a VendoredFileSystem implementation
#11863
Merged

[red-knot]: Add a VendoredFileSystem implementation #11863

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

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone