Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29527607: Issue 5458, 5457 - Refactor _parse_targetspec, add support for locales and blockTotal (Closed)

Created:
Aug. 25, 2017, 9:15 a.m. by wspee
Modified:
Sept. 22, 2017, 1:32 p.m.
Visibility:
Public.

Description

Issue 5458, 5457 - Refactor _parse_targetspec, add support for locales and blockTotal

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added test for target parsing #

Total comments: 3

Patch Set 3 : Use assert instead of assertEqual, updated README.md #

Total comments: 5

Patch Set 4 : Use assert instead of assertEqual across the board, also test no additional targets are present #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -17 lines) Patch
M sitescripts/notifications/README.md View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M sitescripts/notifications/parser.py View 1 chunk +34 lines, -17 lines 0 comments Download
M sitescripts/notifications/test/parser.py View 1 2 3 1 chunk +57 lines, -0 lines 0 comments Download

Messages

Total messages: 12
wspee
The notification repository syntax changed, see: https://issues.adblockplus.org/ticket/5457#comment:5 https://issues.adblockplus.org/ticket/5458#comment:5 So the old reviews are irrelevant now ...
Aug. 25, 2017, 9:20 a.m. (2017-08-25 09:20:38 UTC) #1
Vasily Kuznetsov
Hi Winsley, The code looks good to me but perhaps it would make sense for ...
Aug. 25, 2017, 6:03 p.m. (2017-08-25 18:03:06 UTC) #2
wspee
On 2017/08/25 18:03:06, Vasily Kuznetsov wrote: > Hi Winsley, > > The code looks good ...
Sept. 11, 2017, 1:38 p.m. (2017-09-11 13:38:09 UTC) #3
Vasily Kuznetsov
Hi Winsley, It looks good, but you could make it even nicer by replacing `self.assertEqual` ...
Sept. 20, 2017, 3:45 p.m. (2017-09-20 15:45:33 UTC) #4
wspee
On 2017/09/20 15:45:33, Vasily Kuznetsov wrote: > Hi Winsley, > > It looks good, but ...
Sept. 21, 2017, 8:10 a.m. (2017-09-21 08:10:44 UTC) #5
wspee
https://codereview.adblockplus.org/29527607/diff/29541700/sitescripts/notifications/test/parser.py File sitescripts/notifications/test/parser.py (right): https://codereview.adblockplus.org/29527607/diff/29541700/sitescripts/notifications/test/parser.py#newcode192 sitescripts/notifications/test/parser.py:192: self.assertEqual(len(notifications), 17) On 2017/09/20 15:45:33, Vasily Kuznetsov wrote: > ...
Sept. 21, 2017, 8:10 a.m. (2017-09-21 08:10:52 UTC) #6
Wladimir Palant
https://codereview.adblockplus.org/29527607/diff/29551575/sitescripts/notifications/test/parser.py File sitescripts/notifications/test/parser.py (right): https://codereview.adblockplus.org/29527607/diff/29551575/sitescripts/notifications/test/parser.py#newcode193 sitescripts/notifications/test/parser.py:193: assert len(notifications) == 17 I'd recommend switching back to ...
Sept. 21, 2017, 9:24 a.m. (2017-09-21 09:24:02 UTC) #7
Vasily Kuznetsov
https://codereview.adblockplus.org/29527607/diff/29541700/sitescripts/notifications/test/parser.py File sitescripts/notifications/test/parser.py (right): https://codereview.adblockplus.org/29527607/diff/29541700/sitescripts/notifications/test/parser.py#newcode192 sitescripts/notifications/test/parser.py:192: self.assertEqual(len(notifications), 17) On 2017/09/20 15:45:33, Vasily Kuznetsov wrote: > ...
Sept. 21, 2017, 9:41 a.m. (2017-09-21 09:41:30 UTC) #8
wspee
On 2017/09/21 09:41:30, Vasily Kuznetsov wrote: > https://codereview.adblockplus.org/29527607/diff/29541700/sitescripts/notifications/test/parser.py > File sitescripts/notifications/test/parser.py (right): > > https://codereview.adblockplus.org/29527607/diff/29541700/sitescripts/notifications/test/parser.py#newcode192 ...
Sept. 21, 2017, 10:15 a.m. (2017-09-21 10:15:05 UTC) #9
wspee
https://codereview.adblockplus.org/29527607/diff/29551575/sitescripts/notifications/test/parser.py File sitescripts/notifications/test/parser.py (right): https://codereview.adblockplus.org/29527607/diff/29551575/sitescripts/notifications/test/parser.py#newcode193 sitescripts/notifications/test/parser.py:193: assert len(notifications) == 17 On 2017/09/21 09:41:30, Vasily Kuznetsov ...
Sept. 21, 2017, 10:15 a.m. (2017-09-21 10:15:11 UTC) #10
Wladimir Palant
LGTM
Sept. 21, 2017, 10:50 a.m. (2017-09-21 10:50:43 UTC) #11
Vasily Kuznetsov
Sept. 21, 2017, 11:10 a.m. (2017-09-21 11:10:14 UTC) #12
LGTM

Powered by Google App Engine
This is Rietveld