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
F13194108: D21480.diff
Sun, May 12, 9:19 PM
F13178834: D21480.diff
Wed, May 8, 8:43 PM
Unknown Object (File)
Mon, May 6, 4:20 PM
Unknown Object (File)
Sat, May 4, 6:24 PM
Unknown Object (File)
Tue, Apr 30, 11:15 PM
Unknown Object (File)
Sat, Apr 27, 10:14 AM
Unknown Object (File)
Mon, Apr 22, 10:30 PM
Unknown Object (File)
Apr 11 2024, 6:54 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