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
Unknown Object (File)
Thu, Apr 11, 6:54 AM
Unknown Object (File)
Sun, Mar 31, 8:45 AM
Unknown Object (File)
Mar 5 2024, 8:21 AM
Unknown Object (File)
Feb 4 2024, 12:29 AM
Unknown Object (File)
Jan 12 2024, 11:04 AM
Unknown Object (File)
Dec 27 2023, 11:19 PM
Unknown Object (File)
Nov 29 2023, 11:10 PM
Unknown Object (File)
Nov 25 2023, 11:57 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
Branch
edge1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24939
Build 34409: Run Core Tests
Build 34408: arc lint + arc unit