1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/repository
epriestley 1c62a35710 Run one daemon to pull all working copies, not one daemon per working copy
Summary:
Allow the pull daemon to take a list of repositories. By default, pull all repositories.

Make some effort to respect pull frequencies, although we'll necessarily suffer a bit if running with only one process.

NOTE: We still launch one discovery daemon per working copy, so this only cuts the daemon count in half.

Test Plan:
  - Ran `phd debug pulllocal`, verified behavior.
  - Ran `pull.php P MTEST SVNTEST --trace`, verified it pulled the repos and ran the right commands.
  - Ran `phd repository-launch-master`, verified the right daemons launched, checked daemon console.
  - Ran `phd repository-launch-readonly`, verified the right daemon launched, checked daemon console.

Reviewers: btrahan, csilvers, davidreuss

Reviewed By: csilvers

CC: aran

Differential Revision: https://secure.phabricator.com/D2418
2012-05-07 15:01:10 -07:00
..
constants/repositorytype Remove some Mercurial and Google caveats 2012-01-05 14:14:06 -08:00
controller Fix docs links after D2181 2012-04-10 11:33:26 -07:00
daemon Run one daemon to pull all working copies, not one daemon per working copy 2012-05-07 15:01:10 -07:00
parser Allow users to have multiple email addresses, and verify emails 2012-05-07 10:29:33 -07:00
storage Run one daemon to pull all working copies, not one daemon per working copy 2012-05-07 15:01:10 -07:00
worker Use committer date instead of author date for Git epoch 2012-04-26 16:25:56 -07:00