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)
Thu, Apr 11, 10:01 AM
Unknown Object (File)
Mon, Apr 8, 7:18 PM
Unknown Object (File)
Mon, Apr 8, 7:18 PM
Unknown Object (File)
Mon, Apr 8, 6:51 PM
Unknown Object (File)
Mon, Apr 8, 6:30 PM
Unknown Object (File)
Mon, Apr 8, 1:51 PM
Unknown Object (File)
Feb 6 2024, 5:17 AM
Unknown Object (File)
Jan 25 2024, 6:42 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

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