Page MenuHomePhabricator

Move many task status hardcodes into ManiphestTaskStatus
ClosedPublic

Authored by epriestley on Feb 17 2014, 9:00 PM.
Tags
None
Referenced Files
F18843960: D8264.diff
Wed, Oct 29, 2:13 AM
F18830909: D8264.id.diff
Sat, Oct 25, 9:36 AM
F18828477: D8264.diff
Fri, Oct 24, 4:28 PM
F18826387: D8264.id.diff
Fri, Oct 24, 3:46 AM
F18808883: D8264.id19663.diff
Sun, Oct 19, 9:27 AM
F18652920: D8264.diff
Sep 21 2025, 10:13 AM
F18600320: D8264.id.diff
Sep 13 2025, 9:30 AM
F18593847: D8264.diff
Sep 12 2025, 4:10 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