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/repository/engine
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
..
__tests__ Further correct and disambigutate ref selectors passed to Git on the CLI 2021-01-20 12:07:14 -08:00
PhabricatorRepositoryCommitRef.php Rename "IMPORTED_CLOSEABLE" to "IMPORTED_PERMANENT" to clarify the meaning of the flag 2021-01-22 19:51:38 -08:00
PhabricatorRepositoryDiscoveryEngine.php Improve performance of repository discovery in repositories with >65K refs 2021-01-26 12:27:02 -08:00
PhabricatorRepositoryEngine.php Improve consistency in use of "via", "objectPHID", and "containerPHID" parameters in repository workers 2021-02-02 13:40:09 -08:00
PhabricatorRepositoryIdentityEditEngine.php Assign RepositoryIdentity objects to commits 2018-05-31 07:28:23 -07:00
PhabricatorRepositoryMirrorEngine.php Don't error when trying to mirror or observe an empty repository 2018-01-24 15:50:30 -08:00
PhabricatorRepositoryPullEngine.php Update "git rev-parse" invocation to work in Git 2.25.0 2020-01-16 11:39:23 -08:00
PhabricatorRepositoryRefEngine.php Correct some issues around IMPORTED_PERMANENT in RefEngine 2021-01-22 19:51:40 -08:00