Fix a couple path-related issues with rb-site and rbssh.

Review Request #3463 — Created Oct. 30, 2012 and submitted

Information

Review Board
release-1.6.x

Reviewers

Fix a couple path-related issues with rb-site and rbssh.

rb-site wasn't using the data directory as $HOME, and rbssh wasn't being
given the current PYTHONPATH. These weren't problems before, but became
issues with the new SSHDB key store.

We now set $HOME in rb-site to what we expect, and we pass sys.path as
PYTHONPATH when executing anything from an SCMTool.
Tested that rb-site was using the correct $HOME when importing keys.

Tested that rbssh was no longer failing to work with sshdb (on a production
install, it couldn't find settings_local).
Description From Last Updated

testing

MA madhavabk
david
  1. Ship It!
  2. 
      
MA
  1. 
      
  2. reviewboard/cmdline/rbsite.py (Diff revision 1)
     
     
    Show all issues
    testing
    
    1. This is a production server. Do not test here. You can use http://demo.reviewboard.org for that.
  3. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-1.6.x (214537b)