Page MenuHomePhabricator

Introduce "arc inspect" and some of the new ref/hardpoint classes
ClosedPublic

Authored by epriestley on Apr 10 2020, 11:39 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 12:03 AM
Unknown Object (File)
Fri, Nov 1, 8:37 PM
Unknown Object (File)
Thu, Oct 31, 4:45 AM
Unknown Object (File)
Wed, Oct 23, 4:17 PM
Unknown Object (File)
Wed, Oct 23, 3:25 PM
Unknown Object (File)
Wed, Oct 23, 3:03 PM
Unknown Object (File)
Wed, Oct 23, 3:02 PM
Unknown Object (File)
Wed, Oct 23, 2:58 PM
Subscribers
None

Details

Summary

Ref T11968. Inches toward the new ref/hardpoint code by introducing the modern refs as "RefPro" objects and supporting an "arc inspect <object>" to load objects and hardpoints.

This doesn't impact any existing runtime behavior.

Test Plan

Ran "arc inspect [--all] commit(...)", got hardpoint queries and yield-based data fetching.

Diff Detail

Repository
rARC Arcanist
Branch
hpx3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24030
Build 33076: Run Core Tests
Build 33075: arc lint + arc unit

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Apr 10 2020, 11:40 AM
Harbormaster failed remote builds in B24029: Diff 50211!
  • Don't "return $value" inside generators, since this does not work until PHP7.
This revision was not accepted when it landed; it landed in state Needs Review.Apr 10 2020, 12:01 PM
This revision was automatically updated to reflect the committed changes.