Skip to content

Conversation

@MahdiBaghbani
Copy link
Member

@MahdiBaghbani MahdiBaghbani commented Nov 18, 2025

Add optional VirtualHomeTemplate config to expose localhome paths in a virtual namespace (e.g., /home/user/) while storing files in the existing flat layout. When empty, preserves original behavior for EOS and other deployments.

Fixes PathToSpaceID() encoding issues where localhome returned paths like /file.txt instead of /home/user/file.txt, causing each file to be treated as its own space.

Add optional VirtualHomeTemplate config to expose localhome paths in a
virtual namespace (e.g., /home/<user>/) while storing files in the
existing flat layout. When empty, preserves original behavior for EOS
and other deployments.

Fixes PathToSpaceID() encoding issues where localhome returned paths
like '/file.txt' instead of '/home/<user>/file.txt', causing each file
to be treated as its own space.
fix(localfs): handle gateway-stripped paths in virtual namespace
Also handle the webdav storage accessing pattern
moved the logic from unwrap() to normalize, to handle
different requirements for Path and OpaqueId construction
@MahdiBaghbani MahdiBaghbani force-pushed the feature/multi-reva-setup-with-localhome branch from e5b1215 to 3465648 Compare November 19, 2025 15:00
@MahdiBaghbani MahdiBaghbani force-pushed the feature/multi-reva-setup-with-localhome branch from 6ad0c55 to 6582ad2 Compare November 19, 2025 15:30
@glpatcern
Copy link
Member

This looks good and makes the localfs "demo" storage more usable. @MahdiBaghbani if this is ready for review please mark it as such!

@MahdiBaghbani
Copy link
Member Author

This is unfortunately not ready yet.

I'm kind of struggling on the UI right now :-), but I'll definitely do some extra test and clean the debugs for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants