Page MenuHomePhabricator

Phabricator should recognize "Bug: Tnnn" in commit messages same as "refs Tnnn" and connect the commit to the task
Closed, DeclinedPublic

Description

Phabricator should recognize "Bug: Tnnn" in commit messages same as "refs Tnnn" and connect the commit to the task.

While it's possible to configure various prefixes/suffixes to do things, such as "fixed Tnnn" to resolve the task, using maniphest.statuses, "refs" and some other ones are hardcoded in ManiphestTaskStatus::getStatusPrefixMap(). https://secure.phabricator.com/T5586 is the upstream request to make them configurable.

(T55387 is vaguely related.)

Event Timeline

matmarex raised the priority of this task from to Needs Triage.
matmarex updated the task description. (Show Details)
matmarex added a project: Phabricator.
matmarex added subscribers: matmarex, chasemp, faidon.

This is an oddity of gerrit, why was gerrit coded to use a different format from what phabricator calls for?

matmarex set Security to None.

Well, both Gerrit and "Bug:" predate Phabricator for one. Plus, "Bug:" is the correct way of adding Git metadata, so Phabricator is the odd one here. Also see the discussion here, as pointed out by @Legoktm.

mmodell moved this task from To Triage to Misc on the Phabricator board.

This is no longer an issue AFAIK, phabricator now has "Related Objects" which includes tasks with Bug: Tnnn metadata under the Mentions heading.

Aklapper lowered the priority of this task from Low to Lowest.Aug 29 2018, 6:18 PM
Aklapper moved this task from Misc to Needs code (in Phab or bot) on the Phabricator board.

Proposing to decline as "Related Objects" exists.