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 a0f0ba6acd Stop using process/filesystem-based checks to determine if daemons are running
Summary:
We currently check if daemons are running using the filesystem and process list. These checks reach the wrong result for a lot of users because their webservers can't read the filesystem or process list. They also reach the wrong result for daemons running on other machines.

Instead, query the active daemon list to see if daemons are running. This should be significantly more reliable.

(We didn't do this before because the running daemon list mechanism didn't exist when the check was written, and at the time it was more complex than doing a simple filesystem/process list thing.)

Test Plan: Viewed `/repositories/` with and without daemons running, saw appropriate warning or lack of warning.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D6722
2013-08-12 11:20:22 -07:00
..
application move repository arcanist projects over to new phid stuff 2013-07-26 14:33:31 -07:00
conduit Minor, correct more application class name spellings. 2013-05-15 17:01:34 -07:00
constants Build an early multi-step repository create form 2013-07-14 07:37:17 -07:00
controller Stop using process/filesystem-based checks to determine if daemons are running 2013-08-12 11:20:22 -07:00
daemon Use PhutilProxyException to disambiguate repository pull errors 2013-07-23 16:58:20 -07:00
editor Provide transaction-based edits of repository encoding 2013-05-25 06:30:38 -07:00
engine Minor, fix a variable name that I derped in recent refactoring. 2013-05-20 12:41:09 -07:00
management Make repository discovery partially testable 2013-05-12 19:08:37 -07:00
phid move repository arcanist projects over to new phid stuff 2013-07-26 14:33:31 -07:00
query Modernize Releeph project create controller 2013-07-30 12:38:11 -07:00
search Move PhabricatorUser to new phid stuff 2013-07-26 14:05:19 -07:00
storage Modernize Releeph project create controller 2013-07-30 12:38:11 -07:00
worker Remove HeraldDryRunAdapter 2013-08-07 18:04:40 -07:00
PhabricatorRepositoryConfigOptions.php move repository arcanist projects over to new phid stuff 2013-07-26 14:33:31 -07:00