Page MenuHomePhabricator

Expose the "file attached to object" and "object attached to file" edges via "edge.search"
ClosedPublic

Authored by epriestley on Oct 16 2020, 8:42 PM.
Tags
None
Referenced Files
F15505322: D21480.id51126.diff
Tue, Apr 15, 2:11 AM
F15498350: D21480.id51126.diff
Sun, Apr 13, 12:44 PM
F15496386: D21480.id51124.diff
Sun, Apr 13, 6:38 AM
F15492189: D21480.id.diff
Sat, Apr 12, 12:09 PM
F15491054: D21480.diff
Fri, Apr 11, 10:59 PM
F15473944: D21480.id.diff
Sun, Apr 6, 3:27 AM
F15452190: D21480.diff
Sat, Mar 29, 2:37 AM
F15448688: D21480.id51124.diff
Fri, Mar 28, 6:21 AM
Subscribers
None

Details

Summary

See PHI1901. An install would like improved support for identifying files related to an object (like a task or revision) for retention/archival/backup/migration/snapshotting purposes.

The "attachment" edge is not really user-level: it just means "if you can see the object, that allows you to see the file". This set includes files that users may not think of as "attached", like thumbnails and internal objects which are attached for technical reasons.

However, this is generally an appropriate relationship to expose for retention purposes.

Test Plan

Used "edge.search" to find files attached to a revision and objects attached to a file.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable