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

Issue 29490563: Issue 3967 - Properly handle non-existing file-mappings (Closed)

Created:
July 17, 2017, 9:07 a.m. by tlucas
Modified:
July 18, 2017, 12:12 p.m.
Visibility:
Public.

Description

Issue 3967 - Properly handle non-existing file-mappings

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -9 lines) Patch
M packager.py View 1 2 3 2 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 13
tlucas
Patch Set 1 I almost followed Dave's approach from https://codereview.adblockplus.org/29340721/ , except not adding unknown ...
July 17, 2017, 9:29 a.m. (2017-07-17 09:29:03 UTC) #1
kzar
Moving myself to Cc for now, since it's probably better that Vasily or Sebastian review ...
July 17, 2017, 9:37 a.m. (2017-07-17 09:37:40 UTC) #2
tlucas
Patch Set 2 Adhering to Dave's suggestions regarding readability / unnecessary comment https://codereview.adblockplus.org/29490563/diff/29490564/packager.py File packager.py ...
July 17, 2017, 12:29 p.m. (2017-07-17 12:29:48 UTC) #3
kzar
Otherwise LGTM https://codereview.adblockplus.org/29490563/diff/29490564/packager.py File packager.py (right): https://codereview.adblockplus.org/29490563/diff/29490564/packager.py#newcode105 packager.py:105: and self.isIncluded(name) and not self.isignored(name)): On 2017/07/17 ...
July 17, 2017, 12:32 p.m. (2017-07-17 12:32:53 UTC) #4
Sebastian Noack
https://codereview.adblockplus.org/29490563/diff/29490564/packager.py File packager.py (right): https://codereview.adblockplus.org/29490563/diff/29490564/packager.py#newcode105 packager.py:105: and self.isIncluded(name) and not self.isignored(name)): On 2017/07/17 12:32:52, kzar ...
July 17, 2017, 2:02 p.m. (2017-07-17 14:02:32 UTC) #5
tlucas
Path Set 3 Adhering to Sebastian's note about readability / memory-usage in any() https://codereview.adblockplus.org/29490563/diff/29490622/packager.py File ...
July 17, 2017, 2:56 p.m. (2017-07-17 14:56:16 UTC) #6
kzar
> Issue 3967 - Properly handle non-existing file-mappings I think maybe the commit message could ...
July 17, 2017, 3:05 p.m. (2017-07-17 15:05:54 UTC) #7
tlucas
On 2017/07/17 15:05:54, kzar wrote: > > Issue 3967 - Properly handle non-existing file-mappings > ...
July 17, 2017, 4:33 p.m. (2017-07-17 16:33:20 UTC) #8
tlucas
Patch Set 4: Outsourced switching logic to a variable, according to Sebastian's suggestion https://codereview.adblockplus.org/29490563/diff/29490564/packager.py File ...
July 17, 2017, 4:34 p.m. (2017-07-17 16:34:12 UTC) #9
Vasily Kuznetsov
Hi guys! The code looks pretty good to me. What do you think about adding ...
July 17, 2017, 4:57 p.m. (2017-07-17 16:57:11 UTC) #10
Sebastian Noack
We don't have a test setup for anything but the Edge packager so far. There ...
July 17, 2017, 5:07 p.m. (2017-07-17 17:07:54 UTC) #11
kzar
On 2017/07/17 16:33:20, tlucas wrote: > On 2017/07/17 15:05:54, kzar wrote: > > > Issue ...
July 17, 2017, 5:15 p.m. (2017-07-17 17:15:23 UTC) #12
Vasily Kuznetsov
July 17, 2017, 6:27 p.m. (2017-07-17 18:27:12 UTC) #13
On 2017/07/17 17:07:54, Sebastian Noack wrote:
> We don't have a test setup for anything but the Edge packager so far. There is
a
> separate issue for that. Not sure if it makes sense to hold back this change
> until we have set up tests, which is non-trivial if we use the same approach
as
> for the Edge packager.
> 
> LGTM as far as I'm concerned.

Yeah, makes sense. Probably better to land this quickly and then cover this
functionality when the tests are added. In this case, LGTM from me too.

Powered by Google App Engine
This is Rietveld