1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 17:32:41 +01:00
phorge-phorge/src/applications/repository/worker
epriestley d1649d176f Mark IMPORTED_CHANGE more consistently
Summary:
See <https://github.com/facebook/phabricator/issues/425>. There are some ways that the change parsers may not reach `finishParse()`, but we now need them to in order to mark the commit imported, advance the progress bar, and eventually kick the repository out of IMPORTING status.

Take all the copy/pasted code in the parsers and move it into the parent. Specifically, this is:

  - Printing a status message about starting a parse;
  - checking for bad commits;
  - queueing the next parse stage; and
  - marking the import step complete.

Test Plan: Used `reparse.php --change` to reparse Git, SVN and Mercurial repos.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D7470
2013-11-01 12:54:10 -07:00
..
commitchangeparser Mark IMPORTED_CHANGE more consistently 2013-11-01 12:54:10 -07:00
commitmessageparser Distinguish between empty and unparsed commits in Diffusion 2013-10-29 15:32:41 -07:00
PhabricatorRepositoryCommitHeraldWorker.php Add an "importing" state to repositories and clean up the UI 2013-10-29 15:32:41 -07:00
PhabricatorRepositoryCommitOwnersWorker.php Distinguish between empty and unparsed commits in Diffusion 2013-10-29 15:32:41 -07:00
PhabricatorRepositoryCommitParserWorker.php Make most repository reads policy-aware 2013-09-25 16:54:48 -07:00