Project

General

Profile

Actions

Idea #3815

closed

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

Added by Peter Amstutz over 9 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
-
Start date:
Due date:
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 symlinkNewActions
Actions #1

Updated by Peter Amstutz over 9 years ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz over 9 years ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz over 9 years ago

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

Updated by Peter Amstutz over 9 years ago

  • Category set to SDKs
Actions #5

Updated by Ward Vandewege over 9 years ago

  • Target version set to Arvados Future Sprints
Actions #6

Updated by Tim Pierce over 9 years ago

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

Updated by Peter Amstutz over 9 years ago

  • Story points set to 0.5
Actions #8

Updated by Peter Amstutz almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions #9

Updated by Peter Amstutz almost 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF