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/config/check
Bob Trahan c9c4dc1d9b Config - add setup checks for minimum and "bad" versions of VCS software.
Summary: Fixes T3046. Git has no minimum or bad versions; svn has no minimum and the bad version of 1.7.1, and mercurial has a minimum of 1.9 and bad versions 2.2 and 2.1. These error messages are specific about the problem but do not include the details as to what specifically is bad about a given version. I don't think that's really necessary - the details don't help solve the problem and its probably booooooring at best to the average user. The details about a bad version are included in the code however.

Test Plan: hardcoded a VCS array to let me test all the VCS stuff. added some phlog() calls to make sure the VCS version parsing stuff was working correctly relative to the version(s) on my system. played around with setting minimum versions and bad versions and saw good results depending on what I set.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T3046

Differential Revision: https://secure.phabricator.com/D10852
2014-11-14 14:58:18 -08:00
..
PhabricatorSetupCheck.php Config option to ignore setup issues 2013-02-22 10:08:20 -08:00
PhabricatorSetupCheckAPC.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
PhabricatorSetupCheckAuth.php Don't actually construct auth providers when checking for their existence 2014-03-04 16:11:28 -08:00
PhabricatorSetupCheckBaseURI.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
PhabricatorSetupCheckBinaries.php Config - add setup checks for minimum and "bad" versions of VCS software. 2014-11-14 14:58:18 -08:00
PhabricatorSetupCheckDaemons.php Minor formatting changes 2014-10-08 08:39:49 +11:00
PhabricatorSetupCheckDatabase.php Rename AphrontQueryException subclasses 2014-08-06 07:51:21 +10:00
PhabricatorSetupCheckExtensions.php Require the "ctype" extension explicitly 2014-04-29 10:57:10 -07:00
PhabricatorSetupCheckExtraConfig.php Rename "beta" to "prototype" and document support policy 2014-09-17 18:25:57 -07:00
PhabricatorSetupCheckFileinfo.php Add a setup warning about missing 'fileinfo' 2013-05-17 10:00:40 -07:00
PhabricatorSetupCheckGD.php Migrate max_allowed_packet and GD checks to new setup stuff 2013-01-19 08:41:45 -08:00
PhabricatorSetupCheckImagemagick.php Various linter fixes. 2014-02-26 12:44:58 -08:00
PhabricatorSetupCheckInvalidConfig.php Repair invalid configuration by setting values back to defaults 2013-01-17 16:25:38 -08:00
PhabricatorSetupCheckMail.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
PhabricatorSetupCheckMySQL.php Add a setup warning about innodb_buffer_pool_size 2014-10-02 14:44:36 -07:00
PhabricatorSetupCheckPath.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
PhabricatorSetupCheckPHPConfig.php Fatal during setup for "mbstring.func_overload" 2014-07-04 07:59:02 -07:00
PhabricatorSetupCheckPygment.php Differentiate between "no pygmetnize" and "nonworking pygmentize" during setup 2014-10-02 09:48:04 -07:00
PhabricatorSetupCheckRepositories.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
PhabricatorSetupCheckSecurity.php Add a setup issue to detect systems vulnerable to "Shellshock" 2014-09-25 11:21:11 -07:00
PhabricatorSetupCheckStorage.php Add a configuration warning when memory_limit will limit file uploads 2014-09-04 12:48:34 -07:00
PhabricatorSetupCheckTimezone.php Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00