Move task and revision closure to the "publishing" step of the commit import pipeline
commita39c5904423548f22e166bd37532c66ee2829d4d
authorepriestley <git@epriestley.com>
Wed, 12 Aug 2020 20:07:44 +0000 (12 13:07 -0700)
committerepriestley <git@epriestley.com>
Wed, 16 Sep 2020 00:36:40 +0000 (15 17:36 -0700)
treecc3c72dd553f9ef4cdb17da4b922ee5180c1aff2
parentcebde34425c2b8df6ef88621a866fa5315247a21
Move task and revision closure to the "publishing" step of the commit import pipeline

Summary:
Ref T13552. Now that these steps can build their own "CommitRef" object from storage on the "CommitData" object, move them from the "Message" step to the "Publishing" step.

This should resolve the root issue in T13552, where a commit moved from a non-permanent branch to a permanent branch does not publish closures properly.

Test Plan: Used "bin/repository reparse --publish ..." to republish changes.

Maniphest Tasks: T13552

Differential Revision: https://secure.phabricator.com/D21450
src/applications/repository/worker/PhabricatorRepositoryCommitPublishWorker.php
src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php