Page MenuHomePhabricator

support for prepending paths to system PATH environment variable
Needs RevisionPublic

Authored by markr on Jul 23 2014, 5:49 PM.
Tags
None
Referenced Files
F14015091: D10031.diff
Sun, Nov 3, 1:22 PM
F14012275: D10031.diff
Fri, Nov 1, 10:36 AM
F14011118: D10031.diff
Thu, Oct 31, 6:26 PM
F14006109: D10031.diff
Mon, Oct 28, 1:26 AM
F13996446: D10031.diff
Wed, Oct 23, 9:14 PM
F13982888: D10031.diff
Sun, Oct 20, 2:41 AM
F13966627: D10031.diff
Wed, Oct 16, 8:47 AM
Unknown Object (File)
Fri, Oct 11, 11:22 PM

Details

Summary

Added support for prepending paths to system PATH environment variable using "prepend-paths" configuration option. Useful when using non-system packages, for example macports in OSX.

Test Plan

Use non-system git commands for ssh access while set and sudoers are using this path. Should fail when path is not set and succed when set. Make sure UI represents changes correctly. Make sure that option is a command line option only (should not be settable by web interface).

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Skipped
Unit
No Test Coverage
Build Status
Buildable 1864
Build 1865: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

markr retitled this revision from to support for prepending paths to system PATH environment variable.
markr updated this object.
markr edited the test plan for this revision. (Show Details)
markr added a reviewer: epriestley.
epriestley edited edge metadata.

This is already complicated and I don't want to make it more complicated to support an unusual edge case. We'll prepend phabricator/support/bin/ to PATH automatically and you can symlink things in there if you have some particularly unusual setup.

This revision now requires changes to proceed.Jul 23 2014, 5:55 PM