Add support for an in-memory cookie store

Review Request #7295 — Created May 8, 2015 and submitted

Information

RBTools
release-0.7.x
a2b942e...

Reviewers

There is now support for an in-memory cookie store. This feature can be
enabled via the --in-memory-cookies command-line option. For
consumers of the API, passing in_memory_cookies=True to the RBClient
constructor will enable this behaviour as well.

Ran unit tests.

Updated this review request with the --in-memory-cookies flag. I was
prompted for my username and password. When updating without the flag,
I am not prompted.

Description From Last Updated

Do we want a config key for this?

daviddavid

"instead of writing them to a file"

chipx86chipx86

Alphabetical order.

chipx86chipx86
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/api/transport/sync.py
        rbtools/api/request.py
        rbtools/commands/__init__.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/api/transport/sync.py
        rbtools/api/request.py
        rbtools/commands/__init__.py
    
    
  2. 
      
brennie
david
  1. 
      
  2. rbtools/commands/__init__.py (Diff revision 1)
     
     
    Show all issues

    Do we want a config key for this?

    1. Oh, also, is this really the best UI? Maybe something like --dont-save-credentials?

  3. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/api/transport/sync.py
        rbtools/api/request.py
        rbtools/commands/__init__.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/api/transport/sync.py
        rbtools/api/request.py
        rbtools/commands/__init__.py
    
    
  2. 
      
chipx86
  1. How about simplifying the terminology/variables a bit, and calling them "save_cookies" and "no-save-cookies"?

    1. Oops, I guess the --no-save-cookies part didn't happen. Didn't notice when I first reviewed.

  2. rbtools/commands/__init__.py (Diff revision 2)
     
     
     
    Show all issues

    "instead of writing them to a file"

  3. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/api/transport/sync.py
        rbtools/api/request.py
        rbtools/commands/__init__.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/api/transport/sync.py
        rbtools/api/request.py
        rbtools/commands/__init__.py
    
    
  2. 
      
chipx86
  1. 
      
  2. rbtools/api/request.py (Diff revision 3)
     
     
    Show all issues

    Alphabetical order.

  3. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/api/transport/sync.py
        rbtools/api/request.py
        rbtools/commands/__init__.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/api/transport/sync.py
        rbtools/api/request.py
        rbtools/commands/__init__.py
    
    
  2. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.7.x (422ab0e)
Loading...