beaker icon indicating copy to clipboard operation
beaker copied to clipboard

Export - .goto file metadata is not exported and lost

Open johanbove opened this issue 4 years ago • 2 comments

Describe the bug When I export my profile hyperdrive, all files are saved on drive, even .goto files. However the .goto files are zero bytes and the metadata is lost.

To Reproduce Steps to reproduce the behavior:

  1. Export a hyperdrive to your file system
  2. Open the folder where you exported the hyperdrive to and locate a .goto file
  3. Notice how the .goto files are zero bytes and the metadata is lost

Expected behavior As user would expect the metadata to be exported as well and not lost.

Screenshots Annotation 2020-05-16 171927

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Beaker Version: 1.0.0-prerelease.1
Electron: 9.0.0-beta.22
Chromium: 83.0.4103.34
Node: 12.14.1
Hyperdrive: 10.10.3
API: 0
Daemon: 1.13.6
Client: 1.14.5
Schema: 1.9.1
Fuse Native:
Fuse:

Additional context Add any other context about the problem here.

johanbove avatar May 16 '20 15:05 johanbove

Thanks for reporting, I'll check into it

pfrazee avatar May 16 '20 15:05 pfrazee

I just noticed this as well. I first noticed this when doing a drive fork/copy... no file metadata carries over. I figured file export/import would prob not support metadata since k/v data is not part of any file itself. But fork/copy I expected it to work since it can carry over the hypertrie (unless I misunderstand the underlying handling of file metadata).

The simplest way to see this is with .goto files but it's not specific to them.

sull avatar Jan 26 '21 18:01 sull