1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/repository/engine
epriestley 31e11a97d2 If repository mirroring fails, keep trying the other mirrors
Summary: Ref T4338. Currently, if you have several mirrors and the first one fails, we won't try the other mirrors (since we'll throw and that will take us out of the mirroring process). Instead, try each mirror even if one fails, and then throw an AggregateException with all the failures.

Test Plan:
  - Ran `bin/repository mirror` normally.
  - Faked an exception, ran again, got the AggregateException I expected.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4338

Differential Revision: https://secure.phabricator.com/D8067
2014-01-25 14:02:09 -08:00
..
__tests__ Verify that SVN repository roots really are repository roots 2014-01-21 14:02:58 -08:00
PhabricatorRepositoryCommitRef.php Move Git discovery into DiscoveryEngine 2014-01-17 11:48:53 -08:00
PhabricatorRepositoryDiscoveryEngine.php Verify that SVN repository roots really are repository roots 2014-01-21 14:02:58 -08:00
PhabricatorRepositoryEngine.php Separate repository mirroring into an Engine and provide bin/repository mirror 2014-01-25 14:01:58 -08:00
PhabricatorRepositoryMirrorEngine.php If repository mirroring fails, keep trying the other mirrors 2014-01-25 14:02:09 -08:00
PhabricatorRepositoryPullEngine.php When repairing Git remote URIs, include credentials 2014-01-23 17:23:38 -08:00
PhabricatorRepositoryRefEngine.php Provide an alternate, more general "closeable" flag for commits 2014-01-17 11:48:53 -08:00