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

Issue 11917043: Add get-entries flow, and some tests

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by ekasper
Modified:
10 years, 8 months ago
CC:
ctlog-opensource-review_google.com
Visibility:
Public.

Description

Add get-entries flow

Patch Set 1 #

Patch Set 2 : Add get-entries flow and some tests #

Patch Set 3 : format #

Total comments: 12

Patch Set 4 : review comments #

Total comments: 2

Patch Set 5 : distinguish 4xx from 5xx #

Patch Set 6 : fix error class #

Patch Set 7 : now really fix it #

Total comments: 18

Patch Set 8 : review comments #

Patch Set 9 : format #

Total comments: 6

Patch Set 10 : add a test for partial responses #

Unified diffs Side-by-side diffs Delta from patch set Stats (+368 lines, -42 lines) Patch
M src/python/Makefile View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M src/python/ct/client/log_client.py View 1 2 3 4 5 6 7 8 9 6 chunks +188 lines, -41 lines 0 comments Download
A src/python/ct/client/log_client_test.py View 1 2 3 4 5 6 7 8 9 1 chunk +173 lines, -0 lines 0 comments Download
M src/python/ct/proto/client.proto View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 14
ekasper
This CL adds the basic flow for retrieving entries (but not the decoding of entries ...
10 years, 9 months ago (2013-07-26 12:42:08 UTC) #1
Eran
Some preliminary comments. https://codereview.appspot.com/11917043/diff/8001/src/python/ct/client/log_client.py File src/python/ct/client/log_client.py (right): https://codereview.appspot.com/11917043/diff/8001/src/python/ct/client/log_client.py#newcode15 src/python/ct/client/log_client.py:15: gflags.DEFINE_integer("entry_batch_size", 1000, "Number of entries to ...
10 years, 9 months ago (2013-07-26 16:38:41 UTC) #2
ekasper
https://codereview.appspot.com/11917043/diff/8001/src/python/ct/client/log_client.py File src/python/ct/client/log_client.py (right): https://codereview.appspot.com/11917043/diff/8001/src/python/ct/client/log_client.py#newcode15 src/python/ct/client/log_client.py:15: gflags.DEFINE_integer("entry_batch_size", 1000, "Number of entries to fetch " On ...
10 years, 9 months ago (2013-07-29 09:30:12 UTC) #3
ekasper
Friendly ping. Any chance you'll have time to look at this today? On Mon, Jul ...
10 years, 9 months ago (2013-07-30 13:26:36 UTC) #4
Ben Laurie (Google)
https://codereview.appspot.com/11917043/diff/13001/src/python/ct/client/log_client.py File src/python/ct/client/log_client.py (right): https://codereview.appspot.com/11917043/diff/13001/src/python/ct/client/log_client.py#newcode140 src/python/ct/client/log_client.py:140: # errors. Actually, we decided to send JSON errors ...
10 years, 9 months ago (2013-07-30 13:44:42 UTC) #5
ekasper
https://codereview.appspot.com/11917043/diff/13001/src/python/ct/client/log_client.py File src/python/ct/client/log_client.py (right): https://codereview.appspot.com/11917043/diff/13001/src/python/ct/client/log_client.py#newcode140 src/python/ct/client/log_client.py:140: # errors. On 2013/07/30 13:44:42, Ben Laurie (Google) wrote: ...
10 years, 9 months ago (2013-07-30 14:38:09 UTC) #6
Ben Laurie (Google)
On 30 July 2013 15:38, <ekasper@google.com> wrote: > > https://codereview.appspot.**com/11917043/diff/13001/src/** > python/ct/client/log_client.py<https://codereview.appspot.com/11917043/diff/13001/src/python/ct/client/log_client.py> > File src/python/ct/client/log_**client.py ...
10 years, 9 months ago (2013-07-30 14:44:46 UTC) #7
ekasper
(re-sending with reply-all) On Tue, Jul 30, 2013 at 5:17 PM, Emilia Kasper <ekasper@google.com> wrote: ...
10 years, 9 months ago (2013-07-30 15:18:26 UTC) #8
Eran
Final comments, code should be good to go after this. Also, +1 to Ben's comment ...
10 years, 9 months ago (2013-07-31 09:22:55 UTC) #9
ekasper
Thanks for the comments, I've tried to address them. Also added the new test to ...
10 years, 8 months ago (2013-08-05 16:19:07 UTC) #10
ekasper
https://codereview.appspot.com/11917043/diff/26001/src/python/ct/client/log_client.py File src/python/ct/client/log_client.py (right): https://codereview.appspot.com/11917043/diff/26001/src/python/ct/client/log_client.py#newcode69 src/python/ct/client/log_client.py:69: error_msg = "%s returned http_error %d: %s" % On ...
10 years, 8 months ago (2013-08-06 12:00:02 UTC) #11
Eran
LGTM except for the loop in log_client.py. Once that's addressed, the code should be good ...
10 years, 8 months ago (2013-08-06 12:33:14 UTC) #12
ekasper
https://codereview.appspot.com/11917043/diff/37001/src/python/ct/client/log_client.py File src/python/ct/client/log_client.py (right): https://codereview.appspot.com/11917043/diff/37001/src/python/ct/client/log_client.py#newcode111 src/python/ct/client/log_client.py:111: request""" On 2013/08/06 12:33:14, Eran wrote: > Nit: """ ...
10 years, 8 months ago (2013-08-06 13:37:04 UTC) #13
Eran
10 years, 8 months ago (2013-08-06 14:14:34 UTC) #14
In that case LGTM.
Sign in to reply to this message.

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