spice: file copy&share using webdav
The initial plan here was to create a temp directory for spice-gtk and share the files using symlinks. From this article, I got the notion that such a solution wouldn't work for Windows so easily, so I decided to experiment with this approach, but please correct me if I'm wrong.
The actual changes to the phodav code are minimal. The effect of "virtual" directories is achieved by implementing the GFileIface
interface.
See MRs for the other components for more details:
- https://gitlab.freedesktop.org/spice/spice-protocol/-/merge_requests/21
- https://gitlab.freedesktop.org/spice/spice-gtk/-/merge_requests/54
- https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/13
https://gitlab.freedesktop.org/spice/spice/-/merge_requests/93- https://gitlab.freedesktop.org/spice/win32/vd_agent/-/merge_requests/29
v2
- don't run second instance of
spice-webdavd
, the existing one will be reused - rebase onto !15 (merged)
v3
- change the dir structure - virtual dirs show as children of the real root
v4
- added tests
- fix set_attribute and quota_used with real root
Edited by Jakub Janků