Project

General

Profile

Actions

Idea #9590

open

[FUSE] Trash directory to list, inspect, and un-trash trashed collections

Added by Brett Smith almost 8 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
Tom Morris
Category:
-
Target version:
Start date:
Due date:
Story points:
-
Release:
Release relationship:
Auto

Description

Add a new TrashDirectory class. It has two subdirectories: home, a ProjectDirectory for the current user, and shared, a SharedDirectory. That structure is similar to what you get in the default mount, but then differences from here:

  • The only collections listed in any of these directories should be expiring collections (ones whose expires_at attribute is not null).
  • The TrashDirectory itself and everything under it are read-only, regardless of the --read-write setting. This helps avoid surprising users by letting them add files to a collection that will expire soon. (If they really want to do that, they can still access the specific collection by its UUID.)

In --all mode, the TrashDirectory appears under the mount root, named trash.

Add a --trash switch to make the TrashDirectory the mount root.

Add a --mount-trash switch to specify a path where the TrashDirectory is mounted under the mount root (akin to the other --mount-* flags).

Notes:

  • We don't need a by_id subdirectory in the TrashDirectory. You can already access expiring collections through the regular MagicDirectory. This is also how you can write to an expiring collection.

Related issues

Related to Arvados - Idea #9278: [Crunch2] Document/fix handling of collections with non-nil expires_at fieldIn ProgressActions
Actions #1

Updated by Brett Smith almost 8 years ago

  • Assigned To set to Brett Smith
Actions #2

Updated by Tom Morris over 7 years ago

  • Assigned To changed from Brett Smith to Tom Morris
Actions #3

Updated by Tom Clegg about 7 years ago

  • Subject changed from [FUSE] Trash directory to list and read expiring collections to [FUSE] Trash directory to list, inspect, and un-trash trashed collections
Actions #4

Updated by Tom Morris about 7 years ago

  • Target version set to Arvados Future Sprints
Actions #5

Updated by Ward Vandewege almost 3 years ago

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

Updated by Peter Amstutz about 1 year ago

  • Release set to 60
Actions #7

Updated by Peter Amstutz about 2 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF