1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 20:22:46 +01:00
phorge-phorge/src/applications/drydock/worker
epriestley 9c39493796 Make WorkingCopyBlueprint responsible for performing merges
Summary:
Ref T182. Currently, the "RepositoryLand" operation is responsible for performing merges when landing a revision.

However, we'd like to be able to perform these merges in a larger set of cases in the future. For example:

  - After Releeph is revamped, when someone says "I want to merge bug fix X into stable branch Y", it would probably be nice to make that a Buildable and let tests run against it without requring that it actually be pushed anywhere.
  - Same deal if we want a merge-from-Diffusion or cherry-pick-from-Diffusion operation.
  - Similar deal if we want a "random web UI edits from Diffusion".

Move the merging part into WorkingCopy so more applications can share/use it in the future.

A big chunk of this is me making stuff up for now (the ol' undocumented dictionary full of arbitrary magic keys), but I anticipate formalizing it as we move along.

Test Plan: Pushed rGITTEST0d58eef3ce0fa5a10732d2efefc56aec126bc219 up from my local install via "Land Revision".

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T182

Differential Revision: https://secure.phabricator.com/D14337
2015-10-26 12:40:16 -07:00
..
DrydockLeaseUpdateWorker.php Fix an issue where newly created Drydock resources could be improperly acquired 2015-10-14 06:16:21 -07:00
DrydockRepositoryOperationUpdateWorker.php Make WorkingCopyBlueprint responsible for performing merges 2015-10-26 12:40:16 -07:00
DrydockResourceUpdateWorker.php Improve error and exception handling for Drydock resources 2015-10-01 08:12:51 -07:00
DrydockWorker.php Rough cut of DrydockRepositoryOperation 2015-10-13 15:46:12 -07:00