Page MenuHomePhabricator

Bring "fixes x as y" parser forward and use new parsers instead of old ones
ClosedPublic

Authored by epriestley on Feb 17 2014, 8:10 PM.
Tags
None
Referenced Files
F15462042: D8263.id19662.diff
Tue, Apr 1, 12:46 PM
F15462041: D8263.id19653.diff
Tue, Apr 1, 12:45 PM
F15462040: D8263.id.diff
Tue, Apr 1, 12:45 PM
F15462039: D8263.diff
Tue, Apr 1, 12:45 PM
F15427191: D8263.id19652.diff
Sun, Mar 23, 1:16 PM
F15416355: D8263.id.diff
Thu, Mar 20, 10:38 AM
F15392975: D8263.diff
Sat, Mar 15, 6:38 PM
F15391199: D8263.diff
Sat, Mar 15, 8:40 AM
Subscribers

Details

Reviewers
btrahan
Maniphest Tasks
T1812: Allow for arbitrary values for task status
Restricted Maniphest Task
Restricted Maniphest Task
Commits
Restricted Diffusion Commit
rP8a725ece0f8b: Bring "fixes x as y" parser forward and use new parsers instead of old ones
Summary

Fixes T3872. Ref T1812. Ref T3886. Modernize the "closes x as y" string parser, and use all the new parsers instead of the old ones.

Test Plan

Made a commit full of a pile of these trigger strings, then used scripts/repository/reparse.php --message to reparse it. Verified that parses came back as expected using a bunch of var_dump().

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

src/applications/differential/field/specification/DifferentialFreeformFieldSpecification.php
12–45

This duplicated stuff is going away soon.

src/applications/maniphest/field/parser/__tests__/ManiphestCustomFieldStatusParserTestCase.php
4

Oops, this didn't get updated properly. I'll update.

epriestley updated this revision to Unknown Object (????).Feb 17 2014, 8:17 PM
  • Include appropriate unit tests.