Page MenuHomePhabricator

Extract textual object list parsing from Differential
ClosedPublic

Authored by epriestley on Mar 8 2014, 12:01 AM.
Tags
None
Referenced Files
F18455061: D8445.id.diff
Mon, Sep 1, 8:01 AM
F18446522: D8445.diff
Sun, Aug 31, 9:42 PM
F18241942: D8445.id20047.diff
Thu, Aug 21, 3:40 AM
F18107063: D8445.id.diff
Aug 10 2025, 11:38 PM
F18098079: D8445.id20047.diff
Aug 8 2025, 6:24 PM
F17963911: D8445.id.diff
Aug 1 2025, 10:52 AM
F17959875: D8445.id20040.diff
Aug 1 2025, 8:39 AM
F17950494: D8445.diff
Aug 1 2025, 12:27 AM
Subscribers

Details

Summary

Ref T2222. Currently, Differential has a fairly hairy piece of logic to parse object lists, like Reviewers: alincoln, htaft. Extract, generalize, and cover this.

  • Some of the logic can be simplified with modern ObjectQuery stuff.
  • Make @username the formal monogram for users.
  • Make list@domain.com the formal monogram for mailing lists.
  • Add test coverage.
Test Plan
  • Ran unit tests.
  • Called differential.parsecommitmessage with a bunch of real-world inputs and got sensible results.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 8 2014, 12:41 AM