Page MenuHomePhabricator

Add "Edge Logic" support to PolicyAwareQuery
ClosedPublic

Authored by epriestley on Apr 18 2015, 3:07 PM.
Tags
None
Referenced Files
F13178955: D12455.diff
Wed, May 8, 8:49 PM
Unknown Object (File)
Sat, May 4, 6:40 PM
Unknown Object (File)
Tue, Apr 30, 11:21 PM
Unknown Object (File)
Tue, Apr 30, 10:16 PM
Unknown Object (File)
Mon, Apr 29, 3:10 AM
Unknown Object (File)
Sun, Apr 28, 1:42 AM
Unknown Object (File)
Sat, Apr 27, 3:32 PM
Unknown Object (File)
Sat, Apr 27, 11:13 AM
Subscribers

Details

Summary

Ref T4100. Ref T5595. This allows PolicyAwareQuery to write all the logic for AND, OR, NOT, and NULL (i.e., "not in any projects") queries against any edge type.

It accepts an edge type and a list of constraints (which are basically just operator-value pairs, like <NOT, PHID-X-Y>, meaning the results must not have an edge connecting them to PHID-X-Y).

This doesn't actually do anything yet; see future diffs.

Test Plan

arc unit --everything

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Add "Edge Logic" support to PolicyAwareQuery.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 20 2015, 4:21 PM
This revision was automatically updated to reflect the committed changes.