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

Issue 12862043: Fetch and store raw log entries

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

Description

Fetch and store raw log entries

Patch Set 1 #

Patch Set 2 : indent #

Total comments: 27

Patch Set 3 : review #

Total comments: 25

Patch Set 4 : more comments #

Patch Set 5 : todo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1081 lines, -165 lines) Patch
M src/python/Makefile View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/python/ct/client/log_client.py View 3 chunks +3 lines, -102 lines 0 comments Download
M src/python/ct/client/log_db_test.py View 1 chunk +1 line, -1 line 0 comments Download
A src/python/ct/client/monitor.py View 1 2 3 1 chunk +207 lines, -0 lines 0 comments Download
A src/python/ct/client/monitor_test.py View 1 2 3 1 chunk +263 lines, -0 lines 0 comments Download
A src/python/ct/client/prober.py View 1 2 3 1 chunk +72 lines, -0 lines 0 comments Download
M src/python/ct/client/sqlite_connection.py View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/python/ct/client/sqlite_log_db.py View 1 chunk +3 lines, -3 lines 0 comments Download
A src/python/ct/client/sqlite_temp_db.py View 1 2 1 chunk +144 lines, -0 lines 0 comments Download
A src/python/ct/client/sqlite_temp_db_test.py View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
A src/python/ct/client/state.py View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A src/python/ct/client/state_test.py View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A src/python/ct/client/temp_db.py View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A src/python/ct/client/temp_db_test.py View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
M src/python/ct/crypto/error.py View 1 chunk +1 line, -1 line 0 comments Download
M src/python/ct/crypto/merkle.py View 1 chunk +3 lines, -2 lines 0 comments Download
M src/python/ct/crypto/merkle_test.py View 1 chunk +1 line, -1 line 0 comments Download
M src/python/ct/crypto/verify.py View 2 chunks +35 lines, -17 lines 0 comments Download
M src/python/ct/crypto/verify_test.py View 8 chunks +68 lines, -16 lines 0 comments Download
M src/python/ct/dashboard/dashboard.py View 1 2 3 4 5 chunks +45 lines, -22 lines 0 comments Download
M src/python/ct/proto/client.proto View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 10
ekasper
Next in a series of cert monitoring CLs: set up get-entries update loop. This doesn't ...
10 years, 8 months ago (2013-08-13 15:55:06 UTC) #1
Eran
Mostly reviewing the monitor code - have not looked at any test code yet. Overall ...
10 years, 8 months ago (2013-08-14 15:05:40 UTC) #2
ekasper
https://codereview.appspot.com/12862043/diff/3001/src/python/ct/client/monitor.py File src/python/ct/client/monitor.py (right): https://codereview.appspot.com/12862043/diff/3001/src/python/ct/client/monitor.py#newcode21 src/python/ct/client/monitor.py:21: self.__temp_db = temp_db On 2013/08/14 15:05:41, Eran wrote: > ...
10 years, 8 months ago (2013-08-15 16:41:37 UTC) #3
Eran
Overall looks good, see minor comments below. We could discuss consistency across languages (C++, Python ...
10 years, 8 months ago (2013-08-16 11:06:27 UTC) #4
ekasper
https://codereview.appspot.com/12862043/diff/10001/src/python/ct/client/monitor.py File src/python/ct/client/monitor.py (right): https://codereview.appspot.com/12862043/diff/10001/src/python/ct/client/monitor.py#newcode31 src/python/ct/client/monitor.py:31: except state.FileNotFoundError: On 2013/08/16 11:06:27, Eran wrote: > Nit: ...
10 years, 8 months ago (2013-08-16 11:55:50 UTC) #5
Eran
Overall looks good based on your replies to my comments - can't verify as I ...
10 years, 8 months ago (2013-08-19 09:17:02 UTC) #6
ekasper
On 2013/08/19 09:17:02, Eran wrote: > Overall looks good based on your replies to my ...
10 years, 8 months ago (2013-08-20 09:52:04 UTC) #7
ekasper
https://codereview.appspot.com/12862043/diff/10001/src/python/ct/crypto/verify.py File src/python/ct/crypto/verify.py (right): https://codereview.appspot.com/12862043/diff/10001/src/python/ct/crypto/verify.py#newcode95 src/python/ct/crypto/verify.py:95: @error.returns_true_or_raises On 2013/08/19 09:17:02, Eran wrote: > We're definitely ...
10 years, 8 months ago (2013-08-20 09:52:36 UTC) #8
Eran
LGTM. Re True return value from verification methods: Having the method return True is useful ...
10 years, 8 months ago (2013-08-20 10:50:27 UTC) #9
ekasper
10 years, 8 months ago (2013-08-20 10:54:18 UTC) #10
On 2013/08/20 10:50:27, Eran wrote:
> LGTM.
> Re True return value from verification methods:
> Having the method return True is useful as it allows you to use the decorator,
> just as you've stated.
> What I was suggesting is to point out in the documentation that the method's
> return value need not be checked by the caller since the decorator already
does
> that.

Sure, that sounds reasonable. I'll add that before committing upstream.
Sign in to reply to this message.

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