Allow rbt api-get to be used outside of a checkout.

Review Request #7812 — Created Dec. 17, 2015 and submitted

Information

RBTools
release-0.7.x

Reviewers

rbt api-get required a checkout in order to locate the server to connect
to. However, the checkout wasn't needed for anything else, and limited
the usefulness.

Now, if --server is passed, a local checkout isn't needed at all. It
will simply perform the request at the server provided.

Tested outside of a checkout, specifying --server=http://localhost:8080.

Tested inside a repository, without --server.

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/commands/api_get.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/commands/api_get.py
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.7.x (cf1fc77)