|
|
Chromium Code Reviews|
Created:
4 years, 5 months ago by agrieve Modified:
4 years, 5 months ago Reviewers:
jbudorick CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionMake android lint warnings show closer-to-correct file paths
Many of the paths are within /tmp. To address those, this change adds
relevant parent directories or path to originating .zip file in order
to provide context.
BUG=621769
Committed: https://crrev.com/3f9e0b4e45f6ae6a8822fa46f87b80c36f8c6339
Cr-Commit-Position: refs/heads/master@{#402802}
Patch Set 1 #Patch Set 2 : fix interal lint errors caused by AndroidManifest.xml being in the wrong spot #
Total comments: 4
Messages
Total messages: 21 (9 generated)
The CQ bit was checked by agrieve@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by agrieve@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Make android lint warnings show closer-to-correct file paths Many of the paths are within /tmp. To address those, this change adds relevant parent directories or path to originating .zip file in order to provide context. BUG=621769 ========== to ========== Make android lint warnings show closer-to-correct file paths Many of the paths are within /tmp. To address those, this change adds relevant parent directories or path to originating .zip file in order to provide context. BUG=621769 ==========
agrieve@chromium.org changed reviewers: + jbudorick@chromium.org
On 2016/06/29 02:33:52, commit-bot: I haz the power wrote: > Dry run: CQ is trying da patch. Follow status at > > https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2102373002/diff/20001/build/android/gyp/lint.py File build/android/gyp/lint.py (right): https://codereview.chromium.org/2102373002/diff/20001/build/android/gyp/lint.... build/android/gyp/lint.py:98: def _NewTempSubdir(prefix, append_digit=True): Why do we need this function at all? Why can't we tweak build_utils.TempDir to expose some of the optional kwargs to tempfile.mkdtemp?
https://codereview.chromium.org/2102373002/diff/20001/build/android/gyp/lint.py File build/android/gyp/lint.py (right): https://codereview.chromium.org/2102373002/diff/20001/build/android/gyp/lint.... build/android/gyp/lint.py:98: def _NewTempSubdir(prefix, append_digit=True): On 2016/06/29 08:45:17, jbudorick (EMEA til June 30) wrote: > Why do we need this function at all? Why can't we tweak build_utils.TempDir to > expose some of the optional kwargs to tempfile.mkdtemp? Before this change, it was just a convenient way of putting all temp directories under a single temp directory. With this change, it now creates nested subdirectories (prefix contains /'s) so that even though the files are under /tmp, their immediate ancestors form a meaningful description of where the files came from (either a .zip file or a .java file in the tree)
lgtm https://codereview.chromium.org/2102373002/diff/20001/build/android/gyp/lint.py File build/android/gyp/lint.py (right): https://codereview.chromium.org/2102373002/diff/20001/build/android/gyp/lint.... build/android/gyp/lint.py:98: def _NewTempSubdir(prefix, append_digit=True): On 2016/06/29 13:03:49, agrieve wrote: > On 2016/06/29 08:45:17, jbudorick (EMEA til June 30) wrote: > > Why do we need this function at all? Why can't we tweak build_utils.TempDir to > > expose some of the optional kwargs to tempfile.mkdtemp? > > Before this change, it was just a convenient way of putting all temp directories > under a single temp directory. > > With this change, it now creates nested subdirectories (prefix contains /'s) so > that even though the files are under /tmp, their immediate ancestors form a > meaningful description of where the files came from (either a .zip file or a > .java file in the tree) vvv https://codereview.chromium.org/2102373002/diff/20001/build/android/gyp/lint.... build/android/gyp/lint.py:115: resource_dir = _NewTempSubdir(_RebasePath(resource_source), ah, I see what you mean.
The CQ bit was checked by agrieve@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Make android lint warnings show closer-to-correct file paths Many of the paths are within /tmp. To address those, this change adds relevant parent directories or path to originating .zip file in order to provide context. BUG=621769 ========== to ========== Make android lint warnings show closer-to-correct file paths Many of the paths are within /tmp. To address those, this change adds relevant parent directories or path to originating .zip file in order to provide context. BUG=621769 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
CQ bit was unchecked.
Message was sent while issue was closed.
Description was changed from ========== Make android lint warnings show closer-to-correct file paths Many of the paths are within /tmp. To address those, this change adds relevant parent directories or path to originating .zip file in order to provide context. BUG=621769 ========== to ========== Make android lint warnings show closer-to-correct file paths Many of the paths are within /tmp. To address those, this change adds relevant parent directories or path to originating .zip file in order to provide context. BUG=621769 Committed: https://crrev.com/3f9e0b4e45f6ae6a8822fa46f87b80c36f8c6339 Cr-Commit-Position: refs/heads/master@{#402802} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/3f9e0b4e45f6ae6a8822fa46f87b80c36f8c6339 Cr-Commit-Position: refs/heads/master@{#402802} |
