Page MenuHomePhabricator

Move many task status hardcodes into ManiphestTaskStatus
ClosedPublic

Authored by epriestley on Feb 17 2014, 9:00 PM.
Tags
None
Referenced Files
F13990806: D8264.id19654.diff
Tue, Oct 22, 6:18 AM
F13977669: D8264.diff
Fri, Oct 18, 7:31 PM
F13976375: D8264.id19663.diff
Fri, Oct 18, 1:58 PM
F13963840: D8264.diff
Tue, Oct 15, 6:10 PM
Unknown Object (File)
Sun, Oct 13, 1:21 PM
Unknown Object (File)
Fri, Oct 11, 4:05 PM
Unknown Object (File)
Fri, Oct 11, 4:05 PM
Unknown Object (File)
Fri, Oct 11, 4:05 PM
Subscribers

Details

Summary

Ref T1812. This cleans up most of the easy hard-coded references to specific statuses:

  • The "fixes" language moves into ManiphestTaskStatus.
  • Add a method to list open statuses.
  • Add a method to test if a status is open.
  • Add a method to get default status for new tasks.
Test Plan

Browsed around, lint, grep, created, filtered and updated tasks.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped