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

Issue 2003323003: Script to push download_file_types.pb to all platforms, via Component Updater (Closed)

Created:
4 years, 7 months ago by Nathan Parker
Modified:
4 years, 6 months ago
CC:
chromium-reviews, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Script to push download_file_types.pb to all platforms, via Component Updater. BUG=596555 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/0627b3f53c2fb7c0c7a0ae73f94f35c06d53b394 Cr-Commit-Position: refs/heads/master@{#396114}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Switch to dir+basename args per vakh's review #

Patch Set 3 : nit in README.gn #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -37 lines) Patch
M chrome/browser/resources/safe_browsing/BUILD.gn View 1 4 chunks +49 lines, -5 lines 2 comments Download
M chrome/browser/resources/safe_browsing/README.md View 1 2 1 chunk +16 lines, -6 lines 0 comments Download
M chrome/browser/resources/safe_browsing/gen_file_type_proto.py View 1 4 chunks +75 lines, -23 lines 1 comment Download
A chrome/browser/resources/safe_browsing/push_file_type_proto.py View 1 chunk +65 lines, -0 lines 0 comments Download
M chrome/chrome_resources.gyp View 1 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
Nathan Parker
The design doc describes the overall flow of the file pushing: https://docs.google.com/document/d/10OYEl7xXQ9D9d81bvwe5joVaxSVA4qDIhVWdZAPQHKE/edit#heading=h.6x7ryrna83yp
4 years, 7 months ago (2016-05-24 22:37:14 UTC) #3
vakh (use Gerrit instead)
https://codereview.chromium.org/2003323003/diff/1/chrome/browser/resources/safe_browsing/gen_file_type_proto.py File chrome/browser/resources/safe_browsing/gen_file_type_proto.py (right): https://codereview.chromium.org/2003323003/diff/1/chrome/browser/resources/safe_browsing/gen_file_type_proto.py#newcode182 chrome/browser/resources/safe_browsing/gen_file_type_proto.py:182: all_dir = os.path.abspath(opts.outfile[:opts.outfile.find("%d") - 1]) This assumes a particular ...
4 years, 7 months ago (2016-05-24 23:31:57 UTC) #4
Nathan Parker
Thanks! PTAL https://codereview.chromium.org/2003323003/diff/1/chrome/browser/resources/safe_browsing/gen_file_type_proto.py File chrome/browser/resources/safe_browsing/gen_file_type_proto.py (right): https://codereview.chromium.org/2003323003/diff/1/chrome/browser/resources/safe_browsing/gen_file_type_proto.py#newcode182 chrome/browser/resources/safe_browsing/gen_file_type_proto.py:182: all_dir = os.path.abspath(opts.outfile[:opts.outfile.find("%d") - 1]) On 2016/05/24 ...
4 years, 7 months ago (2016-05-24 23:55:50 UTC) #5
vakh (use Gerrit instead)
lgtm https://codereview.chromium.org/2003323003/diff/1/chrome/browser/resources/safe_browsing/push_file_type_proto.py File chrome/browser/resources/safe_browsing/push_file_type_proto.py (right): https://codereview.chromium.org/2003323003/diff/1/chrome/browser/resources/safe_browsing/push_file_type_proto.py#newcode53 chrome/browser/resources/safe_browsing/push_file_type_proto.py:53: for f in expected_files: On 2016/05/24 23:55:50, Nathan ...
4 years, 6 months ago (2016-05-25 21:10:07 UTC) #6
Nathan Parker
thestig@chromium.org: Please review changes in chrome/chrome_resources.gyp and maybe chrome/browser/resources/safe_browsing/BUILD.gn if you feel like it. Thanks!
4 years, 6 months ago (2016-05-25 21:15:09 UTC) #8
Lei Zhang
https://codereview.chromium.org/2003323003/diff/40001/chrome/browser/resources/safe_browsing/BUILD.gn File chrome/browser/resources/safe_browsing/BUILD.gn (right): https://codereview.chromium.org/2003323003/diff/40001/chrome/browser/resources/safe_browsing/BUILD.gn#newcode69 chrome/browser/resources/safe_browsing/BUILD.gn:69: action("make_all_file_types_protobuf") { Just curious why there's no GYP equivalent. ...
4 years, 6 months ago (2016-05-25 21:44:09 UTC) #9
Nathan Parker
https://codereview.chromium.org/2003323003/diff/40001/chrome/browser/resources/safe_browsing/BUILD.gn File chrome/browser/resources/safe_browsing/BUILD.gn (right): https://codereview.chromium.org/2003323003/diff/40001/chrome/browser/resources/safe_browsing/BUILD.gn#newcode69 chrome/browser/resources/safe_browsing/BUILD.gn:69: action("make_all_file_types_protobuf") { On 2016/05/25 21:44:09, Lei Zhang wrote: > ...
4 years, 6 months ago (2016-05-26 00:38:27 UTC) #10
Lei Zhang
lgtm
4 years, 6 months ago (2016-05-26 00:39:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2003323003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2003323003/40001
4 years, 6 months ago (2016-05-26 00:44:13 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/235884)
4 years, 6 months ago (2016-05-26 02:49:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2003323003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2003323003/40001
4 years, 6 months ago (2016-05-26 02:50:50 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-05-26 04:06:59 UTC) #18
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/0627b3f53c2fb7c0c7a0ae73f94f35c06d53b394 Cr-Commit-Position: refs/heads/master@{#396114}
4 years, 6 months ago (2016-05-26 04:08:09 UTC) #20
brucedawson
https://codereview.chromium.org/2003323003/diff/40001/chrome/browser/resources/safe_browsing/gen_file_type_proto.py File chrome/browser/resources/safe_browsing/gen_file_type_proto.py (right): https://codereview.chromium.org/2003323003/diff/40001/chrome/browser/resources/safe_browsing/gen_file_type_proto.py#newcode181 chrome/browser/resources/safe_browsing/gen_file_type_proto.py:181: print "\n\nTo push these files, run the following:" This ...
4 years, 6 months ago (2016-06-02 00:45:07 UTC) #22
vakh (use Gerrit instead)
4 years, 6 months ago (2016-06-02 01:54:07 UTC) #23
Message was sent while issue was closed.
On 2016/06/02 00:45:07, brucedawson wrote:
>
https://codereview.chromium.org/2003323003/diff/40001/chrome/browser/resource...
> File chrome/browser/resources/safe_browsing/gen_file_type_proto.py (right):
> 
>
https://codereview.chromium.org/2003323003/diff/40001/chrome/browser/resource...
> chrome/browser/resources/safe_browsing/gen_file_type_proto.py:181: print
"\n\nTo
> push these files, run the following:"
> This message appears to print as part of a normal build. It's quite weird
seeing
> this message out of context. Was that intentional? Either way it probably
> shouldn't be shown unless explicit requested by the user.

This has been removed via: https://codereview.chromium.org/2032793002/

Powered by Google App Engine
This is Rietveld 408576698