Fix extension initialization in rbssh.

Review Request #7469 — Created July 1, 2015 and submitted

Information

Review Board
release-2.0.x
74d118d...

Reviewers

rbssh wasn't triggering the load of extensions, preventing third-party
SSH storage backends from working. This appears to have regressed at
some point, though I'm unsure how.

We now explicitly initialize Review Board, in order to load extensions.

Moved aside my .ssh directory and cleared away the locally-stored key for
Review Board. Generated a new key with Power Pack and added it to the server's
authorized_keys file. I was able to then log in with the new key through rbssh.

Added some temporary logging statements to verify that the Power Pack SSH storage
backend was being used, and the proper key found.

Description From Last Updated

Col: 1 E402 module level import not at top of file

reviewbotreviewbot
reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/cmdline/rbssh.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        reviewboard/cmdline/rbssh.py
    
    
  2. reviewboard/cmdline/rbssh.py (Diff revision 1)
     
     
    Show all issues
    Col: 1
     E402 module level import not at top of file
    
  3. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (c0e0576)
Loading...