The title says it all, it would be very cool to have a way to "mount" a part of the archive as a local directory.
With FUSE and swh-graph this could actually be possible in the near future.
This task is to keep track/further develop the idea.
The title says it all, it would be very cool to have a way to "mount" a part of the archive as a local directory.
With FUSE and swh-graph this could actually be possible in the near future.
This task is to keep track/further develop the idea.
Status | Assigned | Task | ||
---|---|---|---|---|
Migrated | gitlab-migration | T1926 FUSE filesystem to navigate the archive | ||
Migrated | gitlab-migration | T2635 web client: add async API | ||
Migrated | gitlab-migration | T2654 modprobe fuse on the CI build machine | ||
Migrated | gitlab-migration | T2663 FUSE: add support for revision objects | ||
Migrated | gitlab-migration | T2664 FUSE: add support for release objects | ||
Migrated | gitlab-migration | T2665 FUSE: add support for snapshot objects |
proposed CLI interface:
swh [ -C config.yml ] graph mount PID DIR
will mount the content of the given PID to the given local DIR.
The config file will be used to specify:
What to list will depend on the PID type, an initial proposal looks like this:
Noting down that I had a tentative very preliminary implementation in the feature/fuse branch of swh-graph; see in particular fuse.py there.
It's probably no worth picking up and we should restart from scratch at this point, but might still contain useful material.
(The webclient in there has since become a proper thing, see T2279. So that part is definitely obsolete.)