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
F19618497: D18543.diff
Wed, Feb 4, 8:15 AM
F19555559: D18543.diff
Fri, Jan 30, 4:39 PM
F19528629: D18543.diff
Mon, Jan 19, 10:37 AM
F19509692: D18543.diff
Sat, Jan 10, 11:51 PM
F19280472: D18543.diff
Dec 23 2025, 3:10 AM
F19154712: D18543.id44551.diff
Dec 11 2025, 6:00 PM
F19154631: D18543.id44551.diff
Dec 11 2025, 4:41 PM
F19125843: D18543.id44538.diff
Dec 10 2025, 2:20 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
Branch
only1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18321
Build 24658: Run Core Tests
Build 24657: arc lint + arc unit