Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(131)

Issue 7067054: Modify oauth2client.multistore_file to store and retrieve credentials using an arbitrary key

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by markpell
Modified:
11 years, 7 months ago
CC:
google-api-python-client_googlegroups.com
Visibility:
Public.

Patch Set 1 : "Adding new storage key API and associated tests" #

Total comments: 6

Patch Set 2 : "CR feedback" #

Patch Set 3 : Some more CR feedback #

Total comments: 4

Patch Set 4 : Fixing spacing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -100 lines) Patch
M oauth2client/multistore_file.py View 1 2 3 9 chunks +68 lines, -40 lines 0 comments Download
M oauth2client/util.py View 1 1 chunk +15 lines, -0 lines 0 comments Download
M tests/test_oauth2client_file.py View 1 2 8 chunks +81 lines, -60 lines 0 comments Download
M tests/test_oauth2client_util.py View 1 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 17
markpell
Hey guys, finally got around to finishing the changes we talked about for the multistore ...
11 years, 8 months ago (2013-01-08 18:06:41 UTC) #1
jcgregorio_google
Somethings been lost in the upload process, I only see one file in Patch Set ...
11 years, 8 months ago (2013-01-08 18:09:59 UTC) #2
markpell
Yeah I was afraid I didn't do it right. The change is in 2 commits ...
11 years, 8 months ago (2013-01-08 18:13:04 UTC) #3
jcgregorio_google
Yes, $ python upload-diffs.py --rev 1111 --issue 7067054 where the 1111 is replaced with the ...
11 years, 8 months ago (2013-01-08 18:15:45 UTC) #4
markpell
Ok, I think I have the diffs sorted out correctly. Please have another look. -Mark
11 years, 8 months ago (2013-01-08 18:54:25 UTC) #5
jcgregorio_google
https://codereview.appspot.com/7067054/diff/8001/oauth2client/multistore_file.py File oauth2client/multistore_file.py (right): https://codereview.appspot.com/7067054/diff/8001/oauth2client/multistore_file.py#newcode84 oauth2client/multistore_file.py:84: @util.positional(2) https://codereview.appspot.com/7067054/diff/8001/oauth2client/multistore_file.py#newcode85 oauth2client/multistore_file.py:85: def get_credential_storage_custom_key(filename, key_dict, warn_on_readonly=True): 80 chars ...
11 years, 8 months ago (2013-01-09 14:22:21 UTC) #6
markpell
Thanks for the quick feedback. Addressed all comments. https://codereview.appspot.com/7067054/diff/8001/oauth2client/multistore_file.py File oauth2client/multistore_file.py (right): https://codereview.appspot.com/7067054/diff/8001/oauth2client/multistore_file.py#newcode84 oauth2client/multistore_file.py:84: On ...
11 years, 8 months ago (2013-01-09 16:00:24 UTC) #7
jcgregorio_google
LGTM, but wait for jbeda to review before committing. -joe On 2013/01/09 16:00:24, markpell wrote: ...
11 years, 8 months ago (2013-01-09 16:26:34 UTC) #8
markpell
Based on some CR feedback from rdayal, I added another simple wrapper function for using ...
11 years, 7 months ago (2013-01-14 16:36:52 UTC) #9
jcgregorio_google
https://codereview.appspot.com/7067054/diff/15005/oauth2client/multistore_file.py File oauth2client/multistore_file.py (right): https://codereview.appspot.com/7067054/diff/15005/oauth2client/multistore_file.py#newcode119 oauth2client/multistore_file.py:119: key_dict: A dictionary to use as the key for ...
11 years, 7 months ago (2013-01-14 16:39:34 UTC) #10
jbeda_google
On 2013/01/14 16:39:34, jcgregorio_google wrote: > https://codereview.appspot.com/7067054/diff/15005/oauth2client/multistore_file.py > File oauth2client/multistore_file.py (right): > > https://codereview.appspot.com/7067054/diff/15005/oauth2client/multistore_file.py#newcode119 > ...
11 years, 7 months ago (2013-01-23 21:59:44 UTC) #11
markpell
Thanks guys. Since I'm not a committer on this project, can one of you land ...
11 years, 7 months ago (2013-01-23 23:04:49 UTC) #12
jbeda_google
I'll leave it to Joe -- he is the guy. On Wed, Jan 23, 2013 ...
11 years, 7 months ago (2013-01-23 23:28:28 UTC) #13
jcgregorio_google
https://codereview.appspot.com/7067054/diff/15005/oauth2client/multistore_file.py File oauth2client/multistore_file.py (right): https://codereview.appspot.com/7067054/diff/15005/oauth2client/multistore_file.py#newcode119 oauth2client/multistore_file.py:119: key_dict: A dictionary to use as the key for ...
11 years, 7 months ago (2013-01-24 01:56:30 UTC) #14
markpell
https://codereview.appspot.com/7067054/diff/15005/oauth2client/multistore_file.py File oauth2client/multistore_file.py (right): https://codereview.appspot.com/7067054/diff/15005/oauth2client/multistore_file.py#newcode119 oauth2client/multistore_file.py:119: key_dict: A dictionary to use as the key for ...
11 years, 7 months ago (2013-01-24 15:36:37 UTC) #15
jcgregorio_google
Committed in https://code.google.com/p/google-api-python-client/source/detail?r=b4888423b1d3b890ed8300469232f8a3ed133bf6 On 2013/01/24 15:36:37, markpell wrote: > https://codereview.appspot.com/7067054/diff/15005/oauth2client/multistore_file.py > File oauth2client/multistore_file.py (right): > ...
11 years, 7 months ago (2013-01-24 20:53:27 UTC) #16
markpell
11 years, 7 months ago (2013-01-24 20:59:23 UTC) #17
Thanks Joe!


On Thu, Jan 24, 2013 at 3:53 PM, <jcgregorio@google.com> wrote:

> Committed in
> https://code.google.com/p/**google-api-python-client/**source/detail?r=**
>
b4888423b1d3b890ed8300469232f8**a3ed133bf6<https://code.google.com/p/google-api-python-client/source/detail?r=b4888423b1d3b890ed8300469232f8a3ed133bf6>
>
>
> On 2013/01/24 15:36:37, markpell wrote:
>
> https://codereview.appspot.**com/7067054/diff/15005/**
>
oauth2client/multistore_file.**py<https://codereview.appspot.com/7067054/diff/15005/oauth2client/multistore_file.py>
>
>> File oauth2client/multistore_file.**py (right):
>>
>
>
> https://codereview.appspot.**com/7067054/diff/15005/**
>
oauth2client/multistore_file.**py#newcode119<https://codereview.appspot.com/7067054/diff/15005/oauth2client/multistore_file.py#newcode119>
>
>> oauth2client/multistore_file.**py:119: key_dict: A dictionary to use as
>>
> the key
>
>> for storing this credential.  There
>> On 2013/01/14 16:39:34, jcgregorio_google wrote:
>> > One space between sentences to keep it consistent with the rest of
>>
> the code.
>
>  Done.
>>
>
>
> https://codereview.appspot.**com/7067054/diff/15005/**
>
oauth2client/multistore_file.**py#newcode119<https://codereview.appspot.com/7067054/diff/15005/oauth2client/multistore_file.py#newcode119>
>
>> oauth2client/multistore_file.**py:119: key_dict: A dictionary to use as
>>
> the key
>
>> for storing this credential.  There
>> This was addressed in patch set #4.  Sorry, I forgot to close the
>>
> comment.
>
>  On 2013/01/24 01:56:30, jcgregorio_google wrote:
>> > This still needs to be addressed, then I'll commit it.
>> >
>> > On 2013/01/14 16:39:34, jcgregorio_google wrote:
>> > > One space between sentences to keep it consistent with the rest of
>>
> the code.
>
>> >
>>
>
>
>
https://codereview.appspot.**com/7067054/<https://codereview.appspot.com/7067...
>



-- 
Thanks,
-Mark
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b