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
Unknown Object (File)
Mon, Aug 26, 7:51 PM
Unknown Object (File)
Wed, Aug 21, 3:20 PM
Unknown Object (File)
Wed, Aug 21, 11:54 AM
Unknown Object (File)
Sun, Aug 18, 12:58 PM
Unknown Object (File)
Jul 25 2024, 7:59 AM
Unknown Object (File)
Jun 27 2024, 10:19 PM
Unknown Object (File)
Jun 21 2024, 9:50 PM
Unknown Object (File)
May 15 2024, 5:23 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