Page MenuHomePhabricator

Separate repository mirroring into an Engine and provide `bin/repository mirror`
ClosedPublic

Authored by epriestley on Jan 25 2014, 7:47 PM.
Tags
None
Referenced Files
F15497275: D8066.id18256.diff
Sun, Apr 13, 10:13 AM
F15489146: D8066.diff
Fri, Apr 11, 6:24 AM
F15461955: D8066.id18250.diff
Tue, Apr 1, 12:40 PM
F15461954: D8066.id.diff
Tue, Apr 1, 12:40 PM
F15461953: D8066.diff
Tue, Apr 1, 12:40 PM
F15455455: D8066.id.diff
Sun, Mar 30, 12:33 AM
F15454104: D8066.id18250.diff
Sat, Mar 29, 4:21 PM
F15453479: D8066.id18256.diff
Sat, Mar 29, 12:07 PM
Subscribers

Details

Summary

Ref T4338. Currently, there's no diagnostic command to execute mirroring (so I can't give users an easy command to run), and it's roughly the last piece of real logic left in the PullLocal daemon.

Separate mirroring out, and provide bin/repository mirror.

Test Plan
  • Ran bin/repository mirror to mirror a repository.
  • Ran PullLocalDaemon and verified it also continued mirroring normally.

Diff Detail

Branch
mirror1
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/applications/repository/engine/PhabricatorRepositoryMirrorEngine.php:21XHP16TODO Comment
Unit
Tests Passed