- 10 Nov, 2017 3 commits
-
-
Jonathan Nieder authored
Gerrit's "Set Review" API has a built-in trap: drafts (optional) How draft comments are handled that are already in the database but that were not also described in this input. Allowed values are DELETE, PUBLISH, PUBLISH_ALL_REVISIONS and KEEP. All values except PUBLISH_ALL_REVISIONS operate only on drafts for a single revision. If not set, the default is DELETE. That destructive default is almost never what a person wants. Use KEEP instead. Noticed because "git cl try" was losing people's comments. Bug: gerrit:6812 Change-Id: I1d09231ea23b13c925d301241bef266df2ddf1cf Reviewed-on: https://chromium-review.googlesource.com/764488Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Jonathan Nieder <jrn@google.com>
-
Raphael Kubo da Costa authored
Sometimes, InputApi users need to create temporary files, write to them and pass them to another process, like this: with input_api.tempfile.NamedTemporaryFile() as f: f.write('foo') input_api.subprocess.check_output(['/path/to/script', '--reading-from', f.name]) While this works fine on Unix, on Windows subprocess cannot open and read the file while we have it open for writing. To work around this, we now offer a CreateTemporaryFile() that wraps a call to tempfile.NamedTemporaryFile(delete=False), and we then take care of removing all files created this way at the end of a presubmit run. The idea is for users to do something like this: with input_api.CreateTemporaryFile() as f: f.write('foo') f.close() input_api.subprocess.check_output(['/path/to/script', '--reading-from', f.name]) with the temporary file being removed automatically in a transparent fashion later. Bug: 780629 Change-Id: I0d705a5d52928a43f39a51f94a2c48d277bd5ced Reviewed-on: https://chromium-review.googlesource.com/758637 Commit-Queue: Raphael Kubo da Costa (rakuco) <raphael.kubo.da.costa@intel.com> Reviewed-by: Aaron Gable <agable@chromium.org>
-
Nodir Turakulov authored
Bug: 781430 Change-Id: Idcba016f78078aa9678b8a246e964b3dcb09a016 Reviewed-on: https://chromium-review.googlesource.com/762389Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Nodir Turakulov <nodir@chromium.org>
-
- 09 Nov, 2017 5 commits
-
-
Mun Yong Jang authored
Bug: 782328 Change-Id: I5219416371cc1b3dfc1f93fee6d1067ef5a6e3d3 Reviewed-on: https://chromium-review.googlesource.com/758719 Commit-Queue: Mun Yong Jang <myjang@google.com> Reviewed-by: Nodir Turakulov <nodir@chromium.org>
-
Gabriel Charette authored
R=iannucci@chromium.org Bug: --send-email is not a command Change-Id: Ia6a034204510322d674e0a45a2ed8a43dbba242c Reviewed-on: https://chromium-review.googlesource.com/757131 Commit-Queue: Gabriel Charette <gab@chromium.org> Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
-
Gabriel Charette authored
R=iannucci@chromium.org Bug: Change-Id: Icf44fd71f1521a9e7f0eb8c4710924a5e45b541b Reviewed-on: https://chromium-review.googlesource.com/759131Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org>
-
recipe-roller authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (e.g. depot_tools) into downstream projects (e.g. tools/build). More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug. recipe_engine: https://crrev.com/458606ee71924034a3b2c49bbacdac131e59237f Add runtime module to assist during LUCI migration and beyond. (tandrii@chromium.org) TBR=iannucci@chromium.org Recipe-Tryjob-Bypass-Reason: Autoroller Bugdroid-Send-Email: False Change-Id: Ieef95d8254f0af85e837bf8c8095298de75da1ed Reviewed-on: https://chromium-review.googlesource.com/759440Reviewed-by: Recipe Roller <recipe-roller@chromium.org> Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
-
Andrii Shyshkalov authored
This reverts commit 2a1ca3f6. Reason for revert: to be replaced by recipe_engine runtime module in https://chromium-review.googlesource.com/#/c/infra/luci/recipes-py/+/759677 Original change's description: > Add luci_migration recipe module. > > R=iannucci@chromium.org > > Bug: 782460 > Change-Id: I022deb4d8e3cee8d48e1acccc78f8681490c72b9 > Reviewed-on: https://chromium-review.googlesource.com/757820 > Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org> > Reviewed-by: Robbie Iannucci <iannucci@chromium.org> TBR=iannucci@chromium.org,tandrii@chromium.org Change-Id: Ieb874ad42b939edb66e35db3cfed0b8b8746e70e No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 782460 Reviewed-on: https://chromium-review.googlesource.com/759357Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
-
- 08 Nov, 2017 4 commits
-
-
Andrii Shyshkalov authored
R=iannucci@chromium.org Bug: 782460 Change-Id: I022deb4d8e3cee8d48e1acccc78f8681490c72b9 Reviewed-on: https://chromium-review.googlesource.com/757820 Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org> Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
-
recipe-roller authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (e.g. depot_tools) into downstream projects (e.g. tools/build). More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug. recipe_engine: https://crrev.com/bb8f049b9ca6647cca1ca6ef79d24eee7144f48d Fix doc typo. (tandrii@chromium.org) TBR=iannucci@chromium.org Recipe-Tryjob-Bypass-Reason: Autoroller Bugdroid-Send-Email: False Change-Id: I53d52e0d521e70d540fdac238400463b7ff11e31 Reviewed-on: https://chromium-review.googlesource.com/759083Reviewed-by: Recipe Roller <recipe-roller@chromium.org> Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
-
Aaron Gable authored
Bug: 749709 Change-Id: I60c56bd664b9e51643578a79bb41497315e2d64b Reviewed-on: https://chromium-review.googlesource.com/750241Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Aaron Gable <agable@chromium.org>
-
Sergey Berezin authored
This tool will soon be added as a gclient hook for Mac developers to install the requested Xcode version on their workstations, and it's easier if gclient can assume it on PATH. BUG=475693 R=iannucci@chromium.org Change-Id: I6af90755bb2ee6de1e19e3a475d9a23bf75888c3 Reviewed-on: https://chromium-review.googlesource.com/756888Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Reviewed-by: Aaron Gable <agable@chromium.org> Commit-Queue: Sergey Berezin <sergeyberezin@chromium.org>
-
- 07 Nov, 2017 4 commits
-
-
Mun Yong Jang authored
Bug: 781478 Change-Id: Id07fdca70418c5e564eab8322df51a4004acc937 Reviewed-on: https://chromium-review.googlesource.com/754379Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Reviewed-by: Nodir Turakulov <nodir@chromium.org> Commit-Queue: Mun Yong Jang <myjang@google.com>
-
recipe-roller authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (e.g. depot_tools) into downstream projects (e.g. tools/build). More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug. recipe_engine: https://crrev.com/6b01324b35c2a7046b67292f7be0cd827f7fd94c Fork buildbucket module from Chrome's build/tools/slave. (vadimsh@chromium.org) TBR=iannucci@chromium.org Recipe-Tryjob-Bypass-Reason: Autoroller Bugdroid-Send-Email: False Change-Id: I187848363106ddcc5e58dafa8a069d7e1d52752c Reviewed-on: https://chromium-review.googlesource.com/757227Reviewed-by: Recipe Roller <recipe-roller@chromium.org> Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
-
recipe-roller authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (e.g. depot_tools) into downstream projects (e.g. tools/build). More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug. recipe_engine: https://crrev.com/3005908b2410f1110be8354876be0aa5fe28894a [loader] Make .m also contain a reference to its owning module. (iannucci@chromium.org) TBR=iannucci@chromium.org Recipe-Tryjob-Bypass-Reason: Autoroller Bugdroid-Send-Email: False Change-Id: Idcf2d5ec697cc04539dc8aab08d9e484b95bf716 Reviewed-on: https://chromium-review.googlesource.com/756864Reviewed-by: Recipe Roller <recipe-roller@chromium.org> Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
-
Nick Carter authored
Bug: 663787 Change-Id: Ie7e2fca42db0c840d713dc6edba5dc0c2b65223d Reviewed-on: https://chromium-review.googlesource.com/676086Reviewed-by: Aaron Gable <agable@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Nick Carter <nick@chromium.org>
-
- 06 Nov, 2017 6 commits
-
-
Aaron Gable authored
Bug: 780540 Change-Id: I85bf40d8faa482786589f9031e34f364342c06dd Reviewed-on: https://chromium-review.googlesource.com/754003Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Aaron Gable <agable@chromium.org>
-
Andrii Shyshkalov authored
Buildbucket config changed here: https://chromium-review.googlesource.com/c/infra/infra/+/755313 TBR=phajdan.jr@chromium.org Bug: 780352 Change-Id: Ie80d578be7d91108c60bbfb59f8184bc237e4408 Reviewed-on: https://chromium-review.googlesource.com/755315Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
-
recipe-roller authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (e.g. depot_tools) into downstream projects (e.g. tools/build). More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug. recipe_engine: https://crrev.com/9a86c24698860be18af30d97b537c44b53d30c2e cq: update names/bucket of downstream recipe rollers. (tandrii@chromium.org) TBR=iannucci@chromium.org Recipe-Tryjob-Bypass-Reason: Autoroller Bugdroid-Send-Email: False Change-Id: I60c99241b2d9e706d21b785e3b1da72ceaa2b816 Reviewed-on: https://chromium-review.googlesource.com/755053Reviewed-by: Recipe Roller <recipe-roller@chromium.org> Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
-
Jochen Eisinger authored
A CL might delete an OWNERS file which we still need to read for the OWNERS check. BUG=778870 R=agable@chromium.org Change-Id: I25636ff36228a1afb3c10edf5c2419773a4d057e Reviewed-on: https://chromium-review.googlesource.com/754623Reviewed-by: Aaron Gable <agable@chromium.org> Commit-Queue: Jochen Eisinger <jochen@chromium.org>
-
William Hesse authored
Bug: Change-Id: I031f5787a87a4bddbd3492912814476daf2c9b4f Reviewed-on: https://chromium-review.googlesource.com/738118 Commit-Queue: William Hesse <whesse@google.com> Reviewed-by: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
-
Andrew Grieve authored
To mention that it should not be used for accessing files. Change-Id: I01ea79134bfc1f394c1791d47eb6fdb798358941 Reviewed-on: https://chromium-review.googlesource.com/750646Reviewed-by: Paweł Hajdan Jr. <phajdan.jr@chromium.org> Commit-Queue: agrieve <agrieve@chromium.org>
-
- 04 Nov, 2017 1 commit
-
-
recipe-roller authored
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (e.g. depot_tools) into downstream projects (e.g. tools/build). More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug. recipe_engine: https://crrev.com/4f15bf37c0d932f3f15ccc10a9e3055a77465265 Update readme. (tandrii@chromium.org) TBR=iannucci@chromium.org Recipe-Tryjob-Bypass-Reason: Autoroller Bugdroid-Send-Email: False Change-Id: I769fd510c71640a9ac72f0e41b46aeb13b76803d Reviewed-on: https://chromium-review.googlesource.com/753745Reviewed-by: Recipe Roller <recipe-roller@chromium.org> Commit-Queue: Recipe Roller <recipe-roller@chromium.org>
-
- 03 Nov, 2017 5 commits
-
-
Aaron Gable authored
R=tandrii Bug: 768445 Change-Id: I04605b3e95b08d71aedde23c97b6ca985f030eb6 Reviewed-on: https://chromium-review.googlesource.com/753131Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Aaron Gable <agable@chromium.org>
-
Matt Mueller authored
Bug: 374928 Change-Id: I8f633ce172fc644e251193eb3fa4b67d62fb9dfa Reviewed-on: https://chromium-review.googlesource.com/747365 Commit-Queue: Matt Mueller <mattm@chromium.org> Reviewed-by: Aaron Gable <agable@chromium.org>
-
Ryan Tseng authored
The test output was incorrect, this matches what it actually should look like. Bug: 772529 Change-Id: I1ca9ceeb6d6b6f55b2ac7c90667c6a9904d2a43b Recipe-Nontrivial-Roll: build Recipe-Nontrivial-Roll: build_limited Recipe-Nontrivial-Roll: build_limited_scripts_slave Recipe-Nontrivial-Roll: infra Recipe-Nontrivial-Roll: skia Recipe-Nontrivial-Roll: release_scripts Change-Id: I1ca9ceeb6d6b6f55b2ac7c90667c6a9904d2a43b Reviewed-on: https://chromium-review.googlesource.com/751694 Commit-Queue: Ryan Tseng <hinoka@chromium.org> Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
-
Raphael Kubo da Costa authored
In Python land, the method run once a test method runs is called tearDown(), not cleanUp(). In other words, the existing methods were never called and we were always leaving lots of "gstools_test*" directories in /tmp. Change-Id: Ib1de95c7ba92922b98571780f389237de0dcb253 Reviewed-on: https://chromium-review.googlesource.com/753383 Commit-Queue: Aaron Gable <agable@chromium.org> Reviewed-by: Aaron Gable <agable@chromium.org>
-
Sergiy Byelozyorov authored
This check will be used in Chromium, V8 and Catapult PRESUBMIT scripts. R=maruel@chromium.org, tandrii@chromium.org Bug: 777893 Change-Id: I2ca1e774b89787c4d3b5f336315d145571858864 Reviewed-on: https://chromium-review.googlesource.com/738169 Commit-Queue: Sergiy Byelozyorov <sergiyb@google.com> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Reviewed-by: Daniel Jacques <dnj@chromium.org>
-
- 02 Nov, 2017 3 commits
-
-
Aaron Gable authored
Bug: 749709 Change-Id: I17beca5c374c080502833b30a26b68a0774689ef Reviewed-on: https://chromium-review.googlesource.com/749633Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Aaron Gable <agable@chromium.org>
-
Aaron Gable authored
Bug: 770327 Change-Id: I9dd0ed0be0761de4968136f563e8986b979c35cf Reviewed-on: https://chromium-review.googlesource.com/723824 Commit-Queue: Aaron Gable <agable@chromium.org> Reviewed-by: Ravi Mistry <rmistry@chromium.org>
-
Raphael Kubo da Costa authored
Instead of calling re.search() for every entry in WATCHLIST_DEFINITIONS for every file being processed, create the regular expressions object beforehand when parsing the watchlist file. Processing a Chromium commit with 17k files went down from about 25 minutes to 10 seconds with this change. Bug: 780055 Change-Id: I6493971b67a7466ce8e1e3b28537018a724bbf47 Reviewed-on: https://chromium-review.googlesource.com/751463Reviewed-by: Aaron Gable <agable@chromium.org> Commit-Queue: Raphael Kubo da Costa (rakuco) <raphael.kubo.da.costa@intel.com>
-
- 01 Nov, 2017 2 commits
-
-
Ryan Tseng authored
This relands commit 47b67c42. Also: * Fix bot_update.py output of manifest Bug: 772529,776299 Recipe-Nontrivial-Roll: infra Recipe-Nontrivial-Roll: build_limited_scripts_slave Recipe-Nontrivial-Roll: skiabuildbot Recipe-Nontrivial-Roll: release_scripts Recipe-Nontrivial-Roll: skia Recipe-Nontrivial-Roll: skiabuildbot Recipe-Nontrivial-Roll: build Change-Id: I31828ea5bfbc284623be8e553980f83d0889de92 Reviewed-on: https://chromium-review.googlesource.com/748308 Commit-Queue: Ryan Tseng <hinoka@chromium.org> Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Reviewed-by: Ryan Tseng <hinoka@chromium.org>
-
Ryan Tseng authored
This reverts commit 47b67c42. Reason for revert: Bug in bot_update.py resource, breaks recipe roller. Original change's description: > Reland "bot_update recipe: Upload source manifest" > > This reverts commit c3d1208d. > > Also: > * Instead of replacing "manifest", just add a new "source_manifest" > to the output JSON. This allow transition without breakage. > * Change the test api so test for recipe output changes. > > The plan is to land this first, switch all downstream to "source_manifest", > and then remove the original "manifest" key. > > Bug: 772529,776299 > Change-Id: Iffb75f18046f8e4c058afe077872d4257b9dd754 > Recipe-Nontrivial-Roll: infra > Recipe-Nontrivial-Roll: build_limited_scripts_slave > Recipe-Nontrivial-Roll: skiabuildbot > Recipe-Nontrivial-Roll: release_scripts > Recipe-Nontrivial-Roll: skia > Recipe-Nontrivial-Roll: skiabuildbot > Recipe-Nontrivial-Roll: build > Reviewed-on: https://chromium-review.googlesource.com/731378 > Reviewed-by: Robbie Iannucci <iannucci@chromium.org> > Commit-Queue: Ryan Tseng <hinoka@chromium.org> TBR=iannucci@chromium.org,hinoka@chromium.org Change-Id: I7a4ee904075e8b75b8a47f9ef0cd8a633af85a9c No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 772529, 776299 Reviewed-on: https://chromium-review.googlesource.com/748312Reviewed-by: Ryan Tseng <hinoka@chromium.org> Commit-Queue: Ryan Tseng <hinoka@chromium.org>
-
- 31 Oct, 2017 3 commits
-
-
Ryan Tseng authored
This reverts commit c3d1208d. Also: * Instead of replacing "manifest", just add a new "source_manifest" to the output JSON. This allow transition without breakage. * Change the test api so test for recipe output changes. The plan is to land this first, switch all downstream to "source_manifest", and then remove the original "manifest" key. Bug: 772529,776299 Change-Id: Iffb75f18046f8e4c058afe077872d4257b9dd754 Recipe-Nontrivial-Roll: infra Recipe-Nontrivial-Roll: build_limited_scripts_slave Recipe-Nontrivial-Roll: skiabuildbot Recipe-Nontrivial-Roll: release_scripts Recipe-Nontrivial-Roll: skia Recipe-Nontrivial-Roll: skiabuildbot Recipe-Nontrivial-Roll: build Reviewed-on: https://chromium-review.googlesource.com/731378Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Ryan Tseng <hinoka@chromium.org>
-
Tom Anderson authored
Change-Id: I66bfe94e5625715e03ee00b534a27003ca688047 Reviewed-on: https://chromium-review.googlesource.com/747073 Commit-Queue: Dirk Pranke <dpranke@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Reviewed-by: Dirk Pranke <dpranke@chromium.org>
-
Chris Nardi authored
The vpython/CIPD work created some errors when attempting to build on Cygwin. This patch fixes these errors by converting Cygwin paths to Windows paths or using the depot_tools python instead of Cygwin python. Bug: Change-Id: Id62f59a357fa2937c7eb843bf306ef4303b0910e Reviewed-on: https://chromium-review.googlesource.com/745727Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Reviewed-by: Vadim Shtayura <vadimsh@chromium.org> Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
-
- 27 Oct, 2017 1 commit
-
-
Dominic Battre authored
If you name your branches "bug-123-fix-foobar" or "123-fix-foobar", git cl upload will automatically populate the "Bug: " line in the cl description with 123. Bug: 778252 Change-Id: I5bf570d5d44e8681c552a52a8b5ed0c64ce82284 Reviewed-on: https://chromium-review.googlesource.com/738237 Commit-Queue: Aaron Gable <agable@chromium.org> Reviewed-by: Aaron Gable <agable@chromium.org>
-
- 26 Oct, 2017 1 commit
-
-
David Benjamin authored
Bug: Change-Id: Id7509ae08bc09c6cb291f29b55c60d6d96e79121 Reviewed-on: https://chromium-review.googlesource.com/721359Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: David Benjamin <davidben@chromium.org>
-
- 25 Oct, 2017 2 commits
-
-
Mun Yong Jang authored
Bug:509672 Change-Id: I74bbaa725be829c625cd617c58b3e849acb18102 Reviewed-on: https://chromium-review.googlesource.com/726847 Commit-Queue: Mun Yong Jang <myjang@google.com> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Reviewed-by: Nodir Turakulov <nodir@chromium.org>
-
Andrew Moylan authored
This change inserts a flush after "..." in lines like: Failed! Attempting to squash mybranch ... Failed! and: Failed! Attempting to squash mybranch ... Success! This way the user can follow the progress better and has an indication of why the rebase is taking longer than they might expect. Bug: Change-Id: Ie04db2879fccd363d7b0f13b7a5217f1c13fd0e2 Reviewed-on: https://chromium-review.googlesource.com/737009Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Andrew Moylan <amoylan@chromium.org>
-