mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 19:32:40 +01:00
2b9838b482
Summary: Ref T2543. This cleans up a couple of remaining rough edges: - We could do an older TYPE_ACTION "close" via the daemons. - We could do an older TYPE_ACTION "close" via `arc close-revision`, explicitly or implicitly in `arc land`, via API (`differential.close`). - We could do an older TYPE_ACTION "rethink" ("Plan Changes") via the API, via `arc diff --plan-changes` (`differential.createcomment`). Move these to modern modular transactions, then get rid of all the validation and application logic for them. This nukes a bunch of `ArcanistDifferentialRevision::...` junk. Test Plan: - Used `bin/repository reparse --message rXYZ...` to reparse a commit, closing a corresponding revision. - Used `differential.close` to close a revision. - Used `differential.createcomment` to plan changes to a revision. - Reviewed transaction log for full "closed by commit" message (linking to commit and mentioning author). - Grepped for `::TYPE_ACTION` to look for remaining callsites, didn't find any. - Grepped for `differential.close` and `differential.createcomment` in `arcanist/` to look for anything suspicious, seemed clean. Reviewers: chad Reviewed By: chad Maniphest Tasks: T2543 Differential Revision: https://secure.phabricator.com/D18412 |
||
---|---|---|
.. | ||
DifferentialCloseConduitAPIMethod.php | ||
DifferentialConduitAPIMethod.php | ||
DifferentialCreateCommentConduitAPIMethod.php | ||
DifferentialCreateDiffConduitAPIMethod.php | ||
DifferentialCreateInlineConduitAPIMethod.php | ||
DifferentialCreateRawDiffConduitAPIMethod.php | ||
DifferentialCreateRevisionConduitAPIMethod.php | ||
DifferentialGetAllDiffsConduitAPIMethod.php | ||
DifferentialGetCommitMessageConduitAPIMethod.php | ||
DifferentialGetCommitPathsConduitAPIMethod.php | ||
DifferentialGetDiffConduitAPIMethod.php | ||
DifferentialGetRawDiffConduitAPIMethod.php | ||
DifferentialGetRevisionCommentsConduitAPIMethod.php | ||
DifferentialGetRevisionConduitAPIMethod.php | ||
DifferentialParseCommitMessageConduitAPIMethod.php | ||
DifferentialQueryConduitAPIMethod.php | ||
DifferentialQueryDiffsConduitAPIMethod.php | ||
DifferentialRevisionEditConduitAPIMethod.php | ||
DifferentialRevisionSearchConduitAPIMethod.php | ||
DifferentialSetDiffPropertyConduitAPIMethod.php | ||
DifferentialUpdateRevisionConduitAPIMethod.php |