1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 03:32:42 +01:00
phorge-phorge/src/applications/repository/management
epriestley de70a4ff26 Improve consistency in use of "via", "objectPHID", and "containerPHID" parameters in repository workers
Summary:
Ref T13591. Improve how parameters are passed between commit worker tasks:

  - Always pass "via", to track where tasks came from.
  - Always provide "objectPHID" (with the commit PHID).
  - Always provide "containerPHID" (with the repository PHID).

Test Plan:
  - Pushed a new commit.
  - Ran `bin/repository pull` + `bin/repository discover`, saw commit with all parameters.
  - Ran `bin/worker execute ...`, saw a Change worker and then a Publish worker with appropriate parameters.
  - Ran `bin/repository reparse ... --background`, saw workers queue with appropriate parameters.

Maniphest Tasks: T13591

Differential Revision: https://secure.phabricator.com/D21532
2021-02-02 13:40:09 -08:00
..
PhabricatorRepositoryManagementCacheWorkflow.php phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorRepositoryManagementClusterizeWorkflow.php Modularize Repository transactions 2018-11-28 14:29:18 -08:00
PhabricatorRepositoryManagementDiscoverWorkflow.php Correct the behavior of "bin/repository discover --repair" 2021-01-22 19:51:38 -08:00
PhabricatorRepositoryManagementHintWorkflow.php Provide a new "hint" table for weird commits (rewritten, unreadable) 2016-08-24 09:31:46 -07:00
PhabricatorRepositoryManagementImportingWorkflow.php Merge the "Herald" and "Owners" daemon workers into a single "Publish" worker 2019-04-25 09:45:59 -07:00
PhabricatorRepositoryManagementListPathsWorkflow.php Add repository list-paths and repository move-paths 2015-07-16 14:11:33 -07:00
PhabricatorRepositoryManagementListWorkflow.php Remove calls to getCallsign() in bin/repository scripts 2016-01-02 04:23:26 -08:00
PhabricatorRepositoryManagementMaintenanceWorkflow.php Provide a simple read-only maintenance mode for repositories 2019-08-29 15:23:10 -07:00
PhabricatorRepositoryManagementMarkImportedWorkflow.php Remove calls to getCallsign() in bin/repository scripts 2016-01-02 04:23:26 -08:00
PhabricatorRepositoryManagementMarkReachableWorkflow.php Add "bin/repository mark-reachable" for fixing commit reachability flags 2016-06-16 11:21:17 -07:00
PhabricatorRepositoryManagementMirrorWorkflow.php Provide a more consistent, mostly relaxed severity for updating non-cluster repositories on cluster devices 2016-05-12 15:51:14 -07:00
PhabricatorRepositoryManagementMovePathsWorkflow.php Add a "--force" flag to "bin/repository move-paths" 2016-08-20 14:10:47 -07:00
PhabricatorRepositoryManagementParentsWorkflow.php Update PhabricatorLiskDAO::chunkSQL() for new %Q semantics 2018-11-13 08:59:18 -08:00
PhabricatorRepositoryManagementPullWorkflow.php Provide a more consistent, mostly relaxed severity for updating non-cluster repositories on cluster devices 2016-05-12 15:51:14 -07:00
PhabricatorRepositoryManagementRebuildIdentitiesWorkflow.php Wrap all direct access to author/committer properties on "CommitData" 2020-09-15 17:36:39 -07:00
PhabricatorRepositoryManagementRefsWorkflow.php Fix an issue where ancestors of permanent refs might not be published during import or if a branch is later made permanent 2019-09-25 08:54:50 -07:00
PhabricatorRepositoryManagementReparseWorkflow.php Improve consistency in use of "via", "objectPHID", and "containerPHID" parameters in repository workers 2021-02-02 13:40:09 -08:00
PhabricatorRepositoryManagementThawWorkflow.php Give "Autoclose Only" repository detail proper getters/setters 2018-12-10 10:22:06 -08:00
PhabricatorRepositoryManagementUnpublishWorkflow.php Use repository identities, not denormalized strings, to identify authors for "Revision closed by commit X" stories 2019-04-17 12:24:49 -07:00
PhabricatorRepositoryManagementUpdateWorkflow.php Ignore unreachable commits when testing if a repository has imported 2016-07-11 09:23:08 -07:00
PhabricatorRepositoryManagementWorkflow.php Make repository daemons periodically check for out-of-sync repositories 2019-01-31 22:12:39 -08:00