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
F13323293: D21480.id51126.diff
Fri, Jun 14, 4:28 PM
F13315024: D21480.diff
Wed, Jun 12, 7:54 AM
F13304359: D21480.id.diff
Sat, Jun 8, 9:03 AM
F13288876: D21480.diff
Tue, Jun 4, 11:04 AM
F13278781: D21480.diff
Sat, Jun 1, 4:58 AM
F13273881: D21480.diff
Fri, May 31, 2:54 AM
F13269965: D21480.diff
Wed, May 29, 8:28 AM
F13259744: D21480.diff
Sun, May 26, 11:02 PM
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