1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00
phorge-phorge/scripts/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
..
audit.php Add a script to close all open audits in a repository 2012-03-06 15:10:25 -08:00
parse_one_commit.php Refactor repository reparse scripts to be more useful 2011-09-27 17:20:04 -07:00
pull.php Run one daemon to pull all working copies, not one daemon per working copy 2012-05-07 15:01:10 -07:00
rebuild_summaries.php Merge __init_env__.php into __init_script__.php 2011-10-02 11:48:09 -07:00
reconcile.php Fix existence test in "reconcile.php" 2012-02-07 10:46:26 -08:00
reparse.php Fix English 2012-04-12 13:38:14 -07:00
reparse_all_commit_messages.php Refactor repository reparse scripts to be more useful 2011-09-27 17:20:04 -07:00
test_connection.php Improve messaging around passworded SSH keys 2012-03-12 10:34:27 -07:00
undo_commits.php Use "closed", not "committed", in Differential 2012-04-23 17:40:57 -07:00