Page MenuHomePhabricator

Add an "only()" edge logic constraint, meaning "only the other constraints, exactly"
ClosedPublic

Authored by epriestley on Sep 6 2017, 5:10 PM.
Tags
None
Referenced Files
F18112634: D18543.id.diff
Tue, Aug 12, 7:14 PM
F18110060: D18543.diff
Mon, Aug 11, 3:50 PM
F18032373: D18543.diff
Sun, Aug 3, 12:22 AM
F17977479: D18543.diff
Fri, Aug 1, 5:44 PM
Unknown Object (File)
Jun 1 2025, 10:41 PM
Unknown Object (File)
May 28 2025, 3:43 PM
Unknown Object (File)
May 27 2025, 3:12 PM
Unknown Object (File)
Apr 28 2025, 1:50 AM
Subscribers
None

Details

Summary

See PHI57. For example, a query for "ios, only()" finds tags tasked with iOS, exactly, and no other tags.

I called this "only()" instead of "exact()" because we use the term/function "Exact" elsewhere with a different meaning, e.g. in Differential.

Test Plan

Basic query for a tag:

Screen Shot 2017-09-06 at 10.04.52 AM.png (1×1 px, 261 KB)

Same query with "only", finds tasks tagged with only that tag:

Screen Shot 2017-09-06 at 10.04.58 AM.png (1×1 px, 257 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable