Feature #5097

[SDKs] CLI tools support project paths in addition to uuids

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

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

0%

Estimated time:
Story points:
2.0

Description

It's awkward and user-unfriendly to have to always copy and paste project UUIDs from the browser to the command line, for example when using arv-put --project-uuid zzzzz-zzzzz-zzzzzzzzzz

It should be possible to supply a project path on the command line, for example arv-put --project "/home/My example project" This should also support integration with arv-mount, for example arv-put --project "~/keep/home/My example project" would look for the .arvados#project magic file and do the right thing.

There are two subtasks:

a) Add a function to the Python (+Ruby?) SDK that performs dereferencing
b) Audit and update arv-* tools to accept paths where currently only uuids are accepted.

History

#1 Updated by Peter Amstutz about 4 years ago

  • Subject changed from [SDKs] Function to dereference project paths to uuids, accept everywhere project or collection uuids are used now. to [SDKs] Dereference project paths to uuids
  • Description updated (diff)

#2 Updated by Peter Amstutz about 4 years ago

  • Category set to SDKs

#3 Updated by Peter Amstutz about 4 years ago

  • Story points set to 2.0

#4 Updated by Peter Amstutz about 4 years ago

  • Subject changed from [SDKs] Dereference project paths to uuids to [SDKs] CLI tools support project paths in addition to uuids

#5 Updated by Tom Clegg about 4 years ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF