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

Issue 308600043: [dftimewolf] First draft of timewolf code. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 6 months ago by someguyiknow
Modified:
7 years, 5 months ago
CC:
kiddi, log2timeline-dev_googlegroups.com
Visibility:
Public.

Description

[dftimewolf] First draft of timewolf code.

Patch Set 1 #

Total comments: 37

Patch Set 2 : First round of fixes. #

Patch Set 3 : Move api_base_url to attrs from args. #

Total comments: 8

Patch Set 4 : Second round of fixes. #

Patch Set 5 : Modify collectors for new GRR API changes. #

Patch Set 6 : Fix typo and remove resolved TODO. #

Patch Set 7 : Set proper FlowContext enums. #

Patch Set 8 : Prevent pre-parsing flag access. #

Patch Set 9 : Import zipfile. #

Patch Set 10 : Better checks for lack of approvals, proper error backtrace referencing. #

Patch Set 11 : Add .netrc support. #

Total comments: 10

Patch Set 12 : Checks for paths/hosts and sketch interaction around presence of processed artifacts. #

Total comments: 2

Patch Set 13 : Move netrc/getpass to utils. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+979 lines, -0 lines) Patch
A dftimewolf/__init__.py View 1 chunk +1 line, -0 lines 0 comments Download
A dftimewolf/lib/__init__.py View 1 chunk +1 line, -0 lines 0 comments Download
A dftimewolf/lib/collectors.py View 1 2 3 4 5 6 7 8 9 1 chunk +293 lines, -0 lines 0 comments Download
A dftimewolf/lib/processors.py View 1 1 chunk +103 lines, -0 lines 0 comments Download
A dftimewolf/lib/timesketch_utils.py View 1 2 1 chunk +126 lines, -0 lines 0 comments Download
A dftimewolf/lib/utils.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +99 lines, -0 lines 0 comments Download
A dftimewolf/timewolf_cli.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +123 lines, -0 lines 0 comments Download
A dftimewolf/timewolf_collect.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +71 lines, -0 lines 0 comments Download
A dftimewolf/timewolf_export.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +92 lines, -0 lines 0 comments Download
A dftimewolf/timewolf_process.py View 1 2 3 4 5 6 7 1 chunk +70 lines, -0 lines 0 comments Download

Messages

Total messages: 22
someguyiknow
7 years, 6 months ago (2016-10-04 19:11:56 UTC) #1
jberggren
First round of comments, but it looks good! https://codereview.appspot.com/308600043/diff/1/dftimewolf/lib/collectors.py File dftimewolf/lib/collectors.py (right): https://codereview.appspot.com/308600043/diff/1/dftimewolf/lib/collectors.py#newcode94 dftimewolf/lib/collectors.py:94: verbose=False): ...
7 years, 6 months ago (2016-10-05 14:24:20 UTC) #2
someguyiknow
https://codereview.appspot.com/308600043/diff/1/dftimewolf/lib/collectors.py File dftimewolf/lib/collectors.py (right): https://codereview.appspot.com/308600043/diff/1/dftimewolf/lib/collectors.py#newcode94 dftimewolf/lib/collectors.py:94: verbose=False): On 2016/10/05 14:24:19, jberggren wrote: > 4 space ...
7 years, 6 months ago (2016-10-05 19:27:37 UTC) #3
someguyiknow
Code updated.
7 years, 6 months ago (2016-10-05 19:40:53 UTC) #4
someguyiknow
Code updated.
7 years, 6 months ago (2016-10-05 19:55:12 UTC) #5
jberggren
Just some minor things, otherwise LGTM https://codereview.appspot.com/308600043/diff/1/dftimewolf/lib/collectors.py File dftimewolf/lib/collectors.py (right): https://codereview.appspot.com/308600043/diff/1/dftimewolf/lib/collectors.py#newcode94 dftimewolf/lib/collectors.py:94: verbose=False): On 2016/10/05 ...
7 years, 6 months ago (2016-10-06 13:01:56 UTC) #6
someguyiknow
Code updated.
7 years, 6 months ago (2016-10-07 03:59:11 UTC) #7
someguyiknow
https://codereview.appspot.com/308600043/diff/40001/dftimewolf/timewolf_cli.py File dftimewolf/timewolf_cli.py (right): https://codereview.appspot.com/308600043/diff/40001/dftimewolf/timewolf_cli.py#newcode61 dftimewolf/timewolf_cli.py:61: print e On 2016/10/06 13:01:56, jberggren wrote: > You ...
7 years, 6 months ago (2016-10-07 03:59:21 UTC) #8
someguyiknow
Code updated.
7 years, 6 months ago (2016-10-11 23:33:38 UTC) #9
someguyiknow
Code updated.
7 years, 6 months ago (2016-10-11 23:38:23 UTC) #10
someguyiknow
Code updated.
7 years, 6 months ago (2016-10-12 01:47:11 UTC) #11
someguyiknow
Code updated.
7 years, 6 months ago (2016-10-12 02:33:20 UTC) #12
someguyiknow
Code updated.
7 years, 6 months ago (2016-10-12 03:04:25 UTC) #13
someguyiknow
Code updated.
7 years, 6 months ago (2016-10-12 13:23:37 UTC) #14
someguyiknow
Code updated.
7 years, 6 months ago (2016-10-13 21:39:11 UTC) #15
jberggren
https://codereview.appspot.com/308600043/diff/200001/dftimewolf/timewolf_cli.py File dftimewolf/timewolf_cli.py (right): https://codereview.appspot.com/308600043/diff/200001/dftimewolf/timewolf_cli.py#newcode16 dftimewolf/timewolf_cli.py:16: In the case of collecting artifacts from a host ...
7 years, 6 months ago (2016-10-18 05:34:13 UTC) #16
jberggren
https://codereview.appspot.com/308600043/diff/200001/dftimewolf/timewolf_cli.py File dftimewolf/timewolf_cli.py (right): https://codereview.appspot.com/308600043/diff/200001/dftimewolf/timewolf_cli.py#newcode68 dftimewolf/timewolf_cli.py:68: We should check for FLAGS.hosts and FLAGS.paths here, and ...
7 years, 6 months ago (2016-10-18 05:36:55 UTC) #17
someguyiknow
Code updated.
7 years, 6 months ago (2016-10-18 19:30:18 UTC) #18
someguyiknow
https://codereview.appspot.com/308600043/diff/200001/dftimewolf/timewolf_cli.py File dftimewolf/timewolf_cli.py (right): https://codereview.appspot.com/308600043/diff/200001/dftimewolf/timewolf_cli.py#newcode16 dftimewolf/timewolf_cli.py:16: In the case of collecting artifacts from a host ...
7 years, 6 months ago (2016-10-18 19:32:33 UTC) #19
jberggren
https://codereview.appspot.com/308600043/diff/220001/dftimewolf/timewolf_cli.py File dftimewolf/timewolf_cli.py (right): https://codereview.appspot.com/308600043/diff/220001/dftimewolf/timewolf_cli.py#newcode71 dftimewolf/timewolf_cli.py:71: netrc_entry = netrc_file.authenticators(ts_host) the netrc stuff is repeated below. ...
7 years, 6 months ago (2016-10-18 19:47:14 UTC) #20
someguyiknow
Code updated.
7 years, 6 months ago (2016-10-18 21:32:22 UTC) #21
someguyiknow
7 years, 6 months ago (2016-10-18 21:33:19 UTC) #22
https://codereview.appspot.com/308600043/diff/220001/dftimewolf/timewolf_cli.py
File dftimewolf/timewolf_cli.py (right):

https://codereview.appspot.com/308600043/diff/220001/dftimewolf/timewolf_cli....
dftimewolf/timewolf_cli.py:71: netrc_entry = netrc_file.authenticators(ts_host)
On 2016/10/18 19:47:14, jberggren wrote:
> the netrc stuff is repeated below. Maybe turn this into a function with the
host
> as parameter:
> 
> def GetUsernamePassword(host):
>  ...
>  return username, password
> 
> Feel free to do this in a followup CL though!

Done.
Sign in to reply to this message.

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