1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00

Ignore and README for support/bin

Summary:
See D5561. Ref T2378.

  - Add `support/bin/*` to .gitignore so any symlinks or binaries won't get picked up by Git.
  - Add a README so Git preserves the directory and there's at least //some// documentation of its existence.

Test Plan: ummmmm

Reviewers: jevripio, codeblock, btrahan

Reviewed By: jevripio

CC: aran

Maniphest Tasks: T2378

Differential Revision: https://secure.phabricator.com/D5562
This commit is contained in:
epriestley 2013-04-03 12:58:39 -07:00
parent bfdce02689
commit 8b6fc615f4
3 changed files with 8 additions and 1 deletions

3
.gitignore vendored
View file

@ -33,3 +33,6 @@
# User-accessible hook for adhoc debugging scripts # User-accessible hook for adhoc debugging scripts
/support/debug.php /support/debug.php
# Users can link binaries here
/support/bin/*

View file

@ -84,7 +84,8 @@ final class PhabricatorCoreConfigOptions
"of the user running Phabricator (normally 'apache', 'httpd', or ". "of the user running Phabricator (normally 'apache', 'httpd', or ".
"'nobody'). Here you can add extra directories to the \$PATH ". "'nobody'). Here you can add extra directories to the \$PATH ".
"environment variable, for when these binaries are in ". "environment variable, for when these binaries are in ".
"non-standard locations.")) "non-standard locations. Note that you can also put binaries in ".
"`phabricator/support/bin`."))
->addExample('/usr/local/bin', pht('Add One Path')) ->addExample('/usr/local/bin', pht('Add One Path'))
->addExample("/usr/bin\n/usr/local/bin", pht('Add Multiple Paths')), ->addExample("/usr/bin\n/usr/local/bin", pht('Add Multiple Paths')),
$this->newOption('tokenizer.ondemand', 'bool', false) $this->newOption('tokenizer.ondemand', 'bool', false)

3
support/bin/README Normal file
View file

@ -0,0 +1,3 @@
Phabricator will look in this directory for binaries (like "git", "hg", "svn",
"diff", etc) before looking elsewhere. If you want Phabricator to use a
specific version of some binary, copy or symlink it here.