1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 14:30:56 +01:00
phorge-phorge/src
Bob Trahan 83efa6e1c5 make arc diff link maniphest tasks with revisions
Summary:
add "Maniphest Task:" or "Maniphest Tasks:" followed by text that has TX in it.
foreach TX the task will be attached to the revision and the revision will be
attached to the task.  parsing is pretty... ummm, robust such that it will pick
up any TX substring and parse that as a Maniphest Task just fine.   it errors
out if there is not an actual task for TX and otherwise churns along pretty
nicely.

Also, make sure the PhabricatorObjectHandle loads the task ID as the alternateID
since we need that here and it should be that way anyhoo.

Test Plan:
made a diff and in the commit message added Maniphest Task(s): TX combination.
Tried various combinations of TX -- single, multiple with commas, multiple many
lines, single bad, multiple bad, multiple mix of bad and good. verified that the
good tasks were attached to the diff and diff was attached to the good tasks.

Maniphest Tasks: T137

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, btrahan, epriestley

Differential Revision: 1165
2011-12-03 11:34:55 -08:00
..
aphront Add a basic Conduit log view 2011-12-01 10:15:51 -08:00
applications make arc diff link maniphest tasks with revisions 2011-12-03 11:34:55 -08:00
docs Minor remarkup updates 2011-12-01 10:15:38 -08:00
infrastructure Added mbstring and iconv as required extensions 2011-12-01 08:52:54 -08:00
storage Clean up two more sha1 instances 2011-11-20 14:21:26 -08:00
view Add optional keystroke support for AphrontPagerView 2011-12-01 10:16:12 -08:00
__celerity_resource_map__.php Regenerate celerity map to correct suspicious Git merge. 2011-12-01 10:16:53 -08:00
__phutil_library_init__.php Distinguish between aphront and phabricator. 2011-01-22 17:45:28 -08:00
__phutil_library_map__.php Add differential.query conduit method 2011-12-02 13:06:43 -08:00