Page MenuHomePhabricator

Add "Edge Logic" support to PolicyAwareQuery
ClosedPublic

Authored by epriestley on Apr 18 2015, 3:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 8:53 PM
Unknown Object (File)
Sat, Dec 7, 10:11 PM
Unknown Object (File)
Nov 8 2024, 6:12 AM
Unknown Object (File)
Oct 30 2024, 11:51 PM
Unknown Object (File)
Oct 25 2024, 1:36 AM
Unknown Object (File)
Oct 23 2024, 10:11 AM
Unknown Object (File)
Oct 22 2024, 12:44 AM
Unknown Object (File)
Oct 18 2024, 4:16 PM
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
Branch
logic3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 5364
Build 5382: [Placeholder Plan] Wait for 30 Seconds

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.