Story #3815

[SDK] arv-put supports --ignore-symlinks

Added by Peter Amstutz over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

Description

arv-put boolean option --ignore-symlinks (defaults to true) means that arv-put will skip any symlink it encounters.

If this option is false, arv-put will follow the symlink and upload duplicated data, possibly with duplicate blocks in Keep.

Bug report from awz:

<awz> hi - I used arvput to upload a dataset that includes some symlinks.
<awz> It should be visible to admins:
<awz> https://workbench.qr1hi.arvadosapi.com/collections/qr1hi-o0j2j-25b5nkz7dt0qdu3
<awz> I inspected the manifest manually and see that it appears to have copied the bytes and made separate blocks.
<awz> It might have been cool if it had done something smarter.
<awz> Either don't follow symlinks at all or reuse the blocks.

Possible action item:  add --follow-symlinks/--no-follow-symlinks options to arv-put.


Related issues

Related to Arvados - Bug #4957: [SDKs] arv keep put blows up when trying to put a danging symlinkNew

History

#1 Updated by Peter Amstutz over 4 years ago

  • Description updated (diff)

#2 Updated by Peter Amstutz over 4 years ago

  • Description updated (diff)

#3 Updated by Peter Amstutz over 4 years ago

  • Subject changed from arv-put is not smart about symlinks to [SDK] arv-put is not smart about symlinks

#4 Updated by Peter Amstutz over 4 years ago

  • Category set to SDKs

#5 Updated by Ward Vandewege over 4 years ago

  • Target version set to Arvados Future Sprints

#6 Updated by Tim Pierce over 4 years ago

  • Subject changed from [SDK] arv-put is not smart about symlinks to [SDK] arv-put supports --ignore-symlinks
  • Description updated (diff)

#7 Updated by Peter Amstutz over 4 years ago

  • Story points set to 0.5

Also available in: Atom PDF