Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Issue 2066963002: Add file permissions to filesystem_mock (Closed)

Created:
4 years, 6 months ago by raikiri
Modified:
4 years, 6 months ago
Reviewers:
qyearsley
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add file permissions to filesystem_mock BUG=574461 Committed: https://crrev.com/855b1c7ae159d928843ceacd5bd2313915115580 Cr-Commit-Position: refs/heads/master@{#400261}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Simplified file permissions #

Patch Set 3 : Formatting corrections #

Total comments: 2

Patch Set 4 : Added is_executable and make_executable #

Patch Set 5 : Added comment to clarify function purpose #

Patch Set 6 : Corrected make_executable and is_executable locations #

Total comments: 6

Patch Set 7 : Added is_executable and make_executable to filesystem_mock #

Patch Set 8 : corrected filesystem make_executable to copy permissions to new file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -1 line) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem.py View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py View 1 2 3 4 5 6 7 3 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock_unittest.py View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (7 generated)
raikiri
4 years, 6 months ago (2016-06-14 19:48:30 UTC) #2
Dirk Pranke
What do we need this functionality for?
4 years, 6 months ago (2016-06-14 21:02:56 UTC) #4
qyearsley
On 2016/06/14 at 21:02:56, dpranke wrote: > What do we need this functionality for? For ...
4 years, 6 months ago (2016-06-14 21:36:05 UTC) #5
qyearsley
https://codereview.chromium.org/2066963002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py File third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py (right): https://codereview.chromium.org/2066963002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py#newcode52 third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py:52: self.perms = {} Although it's nice that `perms` is ...
4 years, 6 months ago (2016-06-14 21:47:02 UTC) #8
Dirk Pranke
On 2016/06/14 21:36:05, qyearsley wrote: > On 2016/06/14 at 21:02:56, dpranke wrote: > > What ...
4 years, 6 months ago (2016-06-14 22:34:58 UTC) #9
raikiri
4 years, 6 months ago (2016-06-14 23:15:47 UTC) #10
qyearsley
In this same CL, could you add the methods make_executable and is_executable to FileSystem? (make_executable ...
4 years, 6 months ago (2016-06-15 18:34:07 UTC) #11
qyearsley
https://codereview.chromium.org/2066963002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py File third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py (right): https://codereview.chromium.org/2066963002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py#newcode60 third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py:60: while f not in self.permissions: while -> if https://codereview.chromium.org/2066963002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem_mock.py#newcode81 ...
4 years, 6 months ago (2016-06-15 18:35:39 UTC) #12
raikiri
4 years, 6 months ago (2016-06-15 18:57:50 UTC) #13
raikiri
4 years, 6 months ago (2016-06-15 21:16:53 UTC) #14
qyearsley
https://codereview.chromium.org/2066963002/diff/100001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem.py File third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem.py (right): https://codereview.chromium.org/2066963002/diff/100001/third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem.py#newcode280 third_party/WebKit/Tools/Scripts/webkitpy/common/system/filesystem.py:280: os.chmod(file_path, stat.S_IXUSR) Not sure if it makes a difference, ...
4 years, 6 months ago (2016-06-15 21:54:25 UTC) #15
raikiri
4 years, 6 months ago (2016-06-16 17:49:34 UTC) #16
qyearsley
lgtm
4 years, 6 months ago (2016-06-16 20:16:09 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2066963002/120001
4 years, 6 months ago (2016-06-16 20:17:00 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 6 months ago (2016-06-16 21:36:36 UTC) #21
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/855b1c7ae159d928843ceacd5bd2313915115580 Cr-Commit-Position: refs/heads/master@{#400261}
4 years, 6 months ago (2016-06-16 21:38:11 UTC) #23
raikiri
4 years, 6 months ago (2016-06-17 23:45:10 UTC) #24
raikiri
4 years, 6 months ago (2016-06-20 18:18:54 UTC) #25
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698