Page MenuHomePhabricator

Extract textual object list parsing from Differential
ClosedPublic

Authored by epriestley on Mar 8 2014, 12:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 28, 10:04 AM
Unknown Object (File)
Sat, Apr 27, 6:54 PM
Unknown Object (File)
Wed, Apr 24, 10:47 PM
Unknown Object (File)
Sun, Apr 21, 9:21 PM
Unknown Object (File)
Sat, Apr 20, 6:35 PM
Unknown Object (File)
Thu, Apr 11, 10:01 AM
Unknown Object (File)
Mon, Apr 8, 7:18 PM
Unknown Object (File)
Mon, Apr 8, 7:18 PM
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

Repository
rP Phabricator
Branch
dx9
Lint
Lint Passed
Unit
Tests Passed

Event Timeline

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