@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

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

+8 -1
+3
.gitignore
··· 33 33 34 34 # User-accessible hook for adhoc debugging scripts 35 35 /support/debug.php 36 + 37 + # Users can link binaries here 38 + /support/bin/*
+2 -1
src/applications/config/option/PhabricatorCoreConfigOptions.php
··· 84 84 "of the user running Phabricator (normally 'apache', 'httpd', or ". 85 85 "'nobody'). Here you can add extra directories to the \$PATH ". 86 86 "environment variable, for when these binaries are in ". 87 - "non-standard locations.")) 87 + "non-standard locations. Note that you can also put binaries in ". 88 + "`phabricator/support/bin`.")) 88 89 ->addExample('/usr/local/bin', pht('Add One Path')) 89 90 ->addExample("/usr/bin\n/usr/local/bin", pht('Add Multiple Paths')), 90 91 $this->newOption('tokenizer.ondemand', 'bool', false)
+3
support/bin/README
··· 1 + Phabricator will look in this directory for binaries (like "git", "hg", "svn", 2 + "diff", etc) before looking elsewhere. If you want Phabricator to use a 3 + specific version of some binary, copy or symlink it here.