- 25 Nov, 2020 1 commit
-
-
Andrii Shyshkalov authored
R=ehmaldonado Before: https://chromium-review.googlesource.com/c/2552792/3/cv/internal/gerrit/gerritfake/fake.go#321 After: https://crrev.com/c/2552792/3/cv/internal/gerrit/gerritfake/fake.go#321 Change-Id: Ie6044e2743c4359bc30c98d8915edd9119d4a386 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2556837 Auto-Submit: Andrii Shyshkalov <tandrii@google.com> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
-
- 24 Nov, 2020 2 commits
-
-
Edward Lesmes authored
Gerrit API doesn't provide the score for an owner of a path, so we can't use the same algorithm when suggesting owners. This change introduces a new algorithm to select the smallest set of at least 2 owners that can approve the change. Change-Id: If620073bdf63633f171c1480e345dbaf75e9f575 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2556479Reviewed-by:
Josip Sokcevic <sokcevic@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
Edward Lesmes authored
Change-Id: I28b061ceb44c032e2c9eb7da22750a7c25f50bea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2556477 Commit-Queue: Josip Sokcevic <sokcevic@google.com> Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Josip Sokcevic <sokcevic@google.com>
-
- 20 Nov, 2020 2 commits
-
-
Josip Sokcevic authored
Bug: 1118410, 1118413, 1118422, 1118424, 1118426 Bug: 1118428, 1118430, 1118434, 1118438, 1118442 Bug: 1118453, 1118454 Recipe-Nontrivial-Roll: chromiumos Recipe-Nontrivial-Roll: build Change-Id: I43e6305f8c3136774f01b57f12bb442bcb863371 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2551388 Commit-Queue: Josip Sokcevic <sokcevic@google.com> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org>
-
Edward Lesmes authored
Change-Id: I04949d95ca466452a58ea91cf2db86852c0621bd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2551378 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Anthony Polito <apolito@google.com>
-
- 19 Nov, 2020 3 commits
-
-
Edward Lesmes authored
Change-Id: Ia9cb19d2b1f776c41ef7e96e6a0ebfb0fcd41344 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2548029 Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Anthony Polito <apolito@google.com> Reviewed-by:
Anthony Polito <apolito@google.com>
-
Gavin Mak authored
Running git rebase --continue may launch a text editor for editing commit messages. This causes testRebase to hang or to fail completely when running locally. Setting GIT_EDITOR to ':' suppresses this. Bug:1149625 Change-Id: Ia4a0b6564b198be945866cb890607ac8966c468f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2551375 Commit-Queue: Gavin Mak <gavinmak@google.com> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Josip Sokcevic <sokcevic@google.com>
-
Scott Lee authored
requests.post() creates a new HTTP connection for each call. It makes presubmit checks slower and timed out. This CL updates rdb_wrapper to use requests.Session() to use a connection pool for Sink requests. Change-Id: Id02ecce85898ae15993d53df17473bb5dfb7e89f Bug: 1145762 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2532895 Commit-Queue: Scott Lee <ddoman@chromium.org> Reviewed-by:
Chan Li <chanli@chromium.org> Reviewed-by:
Erik Staab <estaab@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@google.com>
-
- 18 Nov, 2020 1 commit
-
-
Edward Lesmes authored
Change-Id: I988f5b866560d5839a1121c7129099ffe125fdce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2545108Reviewed-by:
Josip Sokcevic <sokcevic@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
- 17 Nov, 2020 2 commits
-
-
Anthony Polito authored
Change-Id: I32dcd812b41518bd8e2ca50eae1862611ff577de Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2528797Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Anthony Polito <apolito@google.com>
-
Sigurd Schneider authored
This is a reland of 9ca89ac1 Original change's description: > Add option to git cl st to sort by committer date > > Some developers want to see the branches with recent commits first. > This CL adds the option --dateorder to git cl st which sorts branches > by the committer date of the most recent branch. > > Change-Id: Ibdf3fc35ea784521a3e99b374535f822bb83a55e > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2521573 > Commit-Queue: Sigurd Schneider <sigurds@chromium.org> > Reviewed-by: Josip Sokcevic <sokcevic@google.com> > Reviewed-by: Dirk Pranke <dpranke@google.com> Change-Id: I974ac297fcf8652855b101f58a98b3cd122fce36 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2532835 Commit-Queue: Sigurd Schneider <sigurds@chromium.org> Reviewed-by:
Josip Sokcevic <sokcevic@google.com> Reviewed-by:
Dirk Pranke <dpranke@google.com>
-
- 13 Nov, 2020 1 commit
-
-
Gavin Mak authored
Running git cl try-results fetches the latest patchset which may be a trivial change, e.g. rebase or commit message change. This change allows try-results to get the result of patchsets equivalent to the latest and returns their results. Bug: 774179 Change-Id: Iec2fea102597773e24c2e887f19282f14c123e61 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2532899Reviewed-by:
Josip Sokcevic <sokcevic@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com>
-
- 12 Nov, 2020 1 commit
-
-
Andrii Shyshkalov authored
This was important 3+ years ago when we were migrating to Gerrit. It is no longer important, and probably confusing to non-Googlers and Googlers alike. R=dpranke, maruel TBR=ehmaldonado Bug: 1148065 Change-Id: I79ad71b5afb9adac286780c2093b01f656491918 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2534850 Commit-Queue: Andrii Shyshkalov <tandrii@google.com> Reviewed-by:
Marc-Antoine Ruel <maruel@chromium.org>
-
- 11 Nov, 2020 2 commits
-
-
Edward Lesmes authored
Add support for Owners-Override label to allow trusted bots, sheriffs, and global owners to bypass owners checks. Bug: 1093627 Change-Id: Ie217369a67e4060807c0a12f84430e30a7c57daa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2530488Reviewed-by:
Yulan Lin <yulanlin@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
Edward Lesmes authored
Add support for Bot-Review label to allow trusted bots to bypass owners checks. Bug: 1093627 Change-Id: Ie7398041e9e32fd87bb415b239b5ec0a4740e1ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2530516 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Yulan Lin <yulanlin@google.com>
-
- 09 Nov, 2020 1 commit
-
-
Gavin Mak authored
Using --fork-point when possible reduces the number of merge conflicts when running merge-base. Bug: 1111269 Change-Id: I7240fdc9a613d2eb4e856b5677fc713551d7afe9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2519729Reviewed-by:
Josip Sokcevic <sokcevic@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com>
-
- 04 Nov, 2020 1 commit
-
-
Josip Sokcevic authored
R=ehmaldonado@chromium.org Bug: 1143724 Change-Id: I69ce296a27b36c1073999f2b3c51421ac94e7ef2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2519254 Commit-Queue: Josip Sokcevic <sokcevic@google.com> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org>
-
- 27 Oct, 2020 1 commit
-
-
Josip Sokcevic authored
R=ehmaldonado@chromium.org Change-Id: Ib43132afd914bc3ea66f8a634ce8ead9bf2d3b4b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2496064 Commit-Queue: Josip Sokcevic <sokcevic@google.com> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org>
-
- 20 Oct, 2020 1 commit
-
-
Josip Sokcevic authored
This adds retry if target is old default branch. This may happen only if user didn't fetch remote for extended period of time and old default branch no longer exists. R=ehmaldonado@chromium.org Change-Id: I81981049ee006f68a073718180b454c230d055e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2473757 Commit-Queue: Josip Sokcevic <sokcevic@google.com> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org>
-
- 01 Oct, 2020 4 commits
-
-
Stephanie Kim authored
This is a reland of 3774c589 Added missing options.enforce_fetch arg Confirmed via a fake test roll with this CL's patch commit that the bot_update step passes with this change: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2443649 Original change's description: > Reland "Add optional enforce_fetch kwarg to fetch and refresh git cache" > > This is a reland of f38f54f2 > > Original change's description: > > Add optional enforce_fetch kwarg to fetch and refresh git cache > > > > Allows builders to do a force refresh of the git cache to ensure a new > > fetch happens. android-binary-size needs this to get an accurate diff > > of the passed in src revision and the applied patch: > > https://bugs.chromium.org/p/chromium/issues/detail?id=1129235#c19 > > > > Bug: 1129235 > > Change-Id: I993521cdde2a491fc9d42d75ff28dedcd2cea64e > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2438802 > > Commit-Queue: Stephanie Kim <kimstephanie@google.com> > > Reviewed-by: Josip Sokcevic <sokcevic@google.com> > > Bug: 1129235 > Change-Id: I034a91a8b57821d08b10042f7fc94d32350540ba > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2443235 > Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org> > Commit-Queue: Stephanie Kim <kimstephanie@google.com> Bug: 1129235 Change-Id: Ibbd4535f8529243d2dc1d4d32881d8a61efe374a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2443574Reviewed-by:
Josip Sokcevic <sokcevic@google.com> Commit-Queue: Stephanie Kim <kimstephanie@google.com>
-
Stephanie Kim authored
This reverts commit 3774c589. Reason for revert: https://logs.chromium.org/logs/chromium-m86/led/infra-try-recipes-tester_chops-service-accounts.iam.gserviceaccount.com/ea31a9d6c2b61127e3b98d86fb9bc2b8c6370fa3771701fcaa11b47a2d735c19/+/steps/bot_update/0/stdout Going to revert and test with led before landing another "fix" Original change's description: > Reland "Add optional enforce_fetch kwarg to fetch and refresh git cache" > > This is a reland of f38f54f2 > > Original change's description: > > Add optional enforce_fetch kwarg to fetch and refresh git cache > > > > Allows builders to do a force refresh of the git cache to ensure a new > > fetch happens. android-binary-size needs this to get an accurate diff > > of the passed in src revision and the applied patch: > > https://bugs.chromium.org/p/chromium/issues/detail?id=1129235#c19 > > > > Bug: 1129235 > > Change-Id: I993521cdde2a491fc9d42d75ff28dedcd2cea64e > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2438802 > > Commit-Queue: Stephanie Kim <kimstephanie@google.com> > > Reviewed-by: Josip Sokcevic <sokcevic@google.com> > > Bug: 1129235 > Change-Id: I034a91a8b57821d08b10042f7fc94d32350540ba > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2443235 > Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org> > Commit-Queue: Stephanie Kim <kimstephanie@google.com> TBR=tandrii@google.com,ehmaldonado@chromium.org,infra-scoped@luci-project-accounts.iam.gserviceaccount.com,sokcevic@google.com,kimstephanie@google.com Change-Id: I305215eed4128b13c9b5b524f4cbf3203037d582 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1129235 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2443573Reviewed-by:
Stephanie Kim <kimstephanie@google.com> Commit-Queue: Stephanie Kim <kimstephanie@google.com>
-
Stephanie Kim authored
This is a reland of f38f54f2 Original change's description: > Add optional enforce_fetch kwarg to fetch and refresh git cache > > Allows builders to do a force refresh of the git cache to ensure a new > fetch happens. android-binary-size needs this to get an accurate diff > of the passed in src revision and the applied patch: > https://bugs.chromium.org/p/chromium/issues/detail?id=1129235#c19 > > Bug: 1129235 > Change-Id: I993521cdde2a491fc9d42d75ff28dedcd2cea64e > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2438802 > Commit-Queue: Stephanie Kim <kimstephanie@google.com> > Reviewed-by: Josip Sokcevic <sokcevic@google.com> Bug: 1129235 Change-Id: I034a91a8b57821d08b10042f7fc94d32350540ba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2443235Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Stephanie Kim <kimstephanie@google.com>
-
Stephanie Kim authored
This reverts commit f38f54f2. Reason for revert: Seeing errors about missing args https://logs.chromium.org/logs/chromium/led/infra-try-recipes-tester_chops-service-accounts.iam.gserviceaccount.com/007f2e16447b70ae83e87835e2586d4b032f1a915872d9237cec0f72bb239fd6/+/steps/bot_update/0/stdout Original change's description: > Add optional enforce_fetch kwarg to fetch and refresh git cache > > Allows builders to do a force refresh of the git cache to ensure a new > fetch happens. android-binary-size needs this to get an accurate diff > of the passed in src revision and the applied patch: > https://bugs.chromium.org/p/chromium/issues/detail?id=1129235#c19 > > Bug: 1129235 > Change-Id: I993521cdde2a491fc9d42d75ff28dedcd2cea64e > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2438802 > Commit-Queue: Stephanie Kim <kimstephanie@google.com> > Reviewed-by: Josip Sokcevic <sokcevic@google.com> TBR=tandrii@google.com,infra-scoped@luci-project-accounts.iam.gserviceaccount.com,sokcevic@google.com,kimstephanie@google.com Change-Id: Ib867742c624f085d3dd56422c2d63c15fdc84f06 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1129235 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2443231Reviewed-by:
Stephanie Kim <kimstephanie@google.com> Commit-Queue: Stephanie Kim <kimstephanie@google.com>
-
- 30 Sep, 2020 1 commit
-
-
Stephanie Kim authored
Allows builders to do a force refresh of the git cache to ensure a new fetch happens. android-binary-size needs this to get an accurate diff of the passed in src revision and the applied patch: https://bugs.chromium.org/p/chromium/issues/detail?id=1129235#c19 Bug: 1129235 Change-Id: I993521cdde2a491fc9d42d75ff28dedcd2cea64e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2438802 Commit-Queue: Stephanie Kim <kimstephanie@google.com> Reviewed-by:
Josip Sokcevic <sokcevic@google.com>
-
- 24 Sep, 2020 1 commit
-
-
Josip Sokcevic authored
R=apolito@google.com Change-Id: Ic338c698b8eb8d2e04fc1ef23ae4b13cae08b80f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2404701Reviewed-by:
Anthony Polito <apolito@google.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
-
- 22 Sep, 2020 1 commit
-
-
Shahbaz Youssefi authored
A quick bugfix was made in cc290980 that removed trailing empty lines when getting tags out of the git log. This preserved the behavior that tags with trailing whitespace would retain said whitespace. This change instead simplifies the logic that removes trailing whitespace with the side effect that whitespace at the end of the last tag is also stripped. The unittests are adjusted accordingly Bug: 1130601 Change-Id: I26d39736179b36ac2573de1ca003a5bc09f30a28 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2423050 Auto-Submit: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Dirk Pranke <dpranke@google.com> Reviewed-by:
Dirk Pranke <dpranke@google.com>
-
- 17 Sep, 2020 1 commit
-
-
Gavin Mak authored
Currently, for a given branch, map-branches displays the number of commits ahead and behind it is. This change replaces ahead with commits, representing the number of commits a branch has, starting from its base commit, and more accurately reflects the state of a repo. Bug:1128716 Change-Id: I7c070b4efd452d82d878e1cfb7c20d1c80f38ec7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2412991 Commit-Queue: Gavin Mak <gavinmak@google.com> Reviewed-by:
Josip Sokcevic <sokcevic@google.com>
-
- 15 Sep, 2020 1 commit
-
-
Milad Fa authored
Change-Id: Ibf023a1f6b635872c849bda885b47ea1dbf7dda3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2410733Reviewed-by:
Dirk Pranke <dpranke@google.com> Commit-Queue: Dirk Pranke <dpranke@google.com>
-
- 26 Aug, 2020 1 commit
-
-
Ben Pastene authored
If a hook prints error/warning output that's color-coded, gclient will cause the coloring to be disabled since those hooks aren't called directly from a terminal. By emulating a terminal when launching subprocs from gclient, we can convince them to keep the color escape codes. LED builds with both //third_party/depot_tools rolled to this CL, as well as depot_tools in the recipe bundle rolled to this CL: linux: https://ci.chromium.org/swarming/task/4e40237985888310 mac: https://ci.chromium.org/swarming/task/4e4023ea0c829710 win: https://ci.chromium.org/swarming/task/4e4024612e03dc10 Bug: 1034063 Change-Id: I4150f66ef215ece06f4c32482dcd4ded14eb1bfe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2368435Reviewed-by:
Dirk Pranke <dpranke@google.com> Commit-Queue: Ben Pastene <bpastene@chromium.org>
-
- 10 Aug, 2020 2 commits
-
-
Saagar Sanghavi authored
presubmit:gerrit_host/folder/to/repo:path/to/file/:CheckName Example presubmit:chromium-review.googlesource.com/chromium/src/:services/viz/ Bug: 1112667 Change-Id: I095a2c04e73c64d67fa1bb3dbf7e6dfd1d93fe26 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2335873Reviewed-by:
Nodir Turakulov <nodir@chromium.org> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Saagar Sanghavi <saagarsanghavi@google.com>
-
Saagar Sanghavi authored
Allows presubmit_support to perform Timing and RDB reporting for each of the lower-level "CheckXYZ" functions, provided that ENABLE_NEW_PRESUBMIT_CHECKS is called in the PRESUBMIT.py file that we are running. I am using the variable to avoid the breakage caused by the similar previous CL (2332321) which was not backwards compatible. In addition, asks for "-realm" with ResultDB so it can maintain the security boundary. Bug: 1106943 Change-Id: Ia49e8884e2653bee7de7ed7d254452d55dd5c617 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2341828 Commit-Queue: Saagar Sanghavi <saagarsanghavi@google.com> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org>
-
- 06 Aug, 2020 1 commit
-
-
Ben Pastene authored
This reverts commit dba1d65a. Reason for revert: "Check* takes exactly 3 arguments (2 given)" presubmit errors eg: https://ci.chromium.org/p/chromium/builders/try/chromium_presubmit/933062? https://crbug.com/1113506 Original change's description: > [Fixed from older branch] Timing/RDB for lower-level checks > > presubmit: Report timing to rdb for individual checks > Rather than using CheckChangeOnCommit() or CheckChangeOnUpload() as the > sole entry points for PRESUBMIT.py files, this cl enables presubmit_support.py > to use any CheckXYZ[OnCommit/Upload] function to serve as an entry point. > > This way, we can perform timing and RDB reporting for each of the > presubmit check functions and have check-specific data. > > Bug: 1106943 > Change-Id: Ifdabd68c0904a6d70a828f12de157369c6c1571d > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2332321 > Commit-Queue: Saagar Sanghavi <saagarsanghavi@google.com> > Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org> > Reviewed-by: Dirk Pranke <dpranke@google.com> TBR=dpranke@google.com,estaab@chromium.org,ehmaldonado@chromium.org,infra-scoped@luci-project-accounts.iam.gserviceaccount.com,saagarsanghavi@google.com Change-Id: Ibd80f70661d2196f903f0c6b79eb74eda6c94d44 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1106943, 1113506 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2340692Reviewed-by:
Ben Pastene <bpastene@chromium.org> Commit-Queue: Ben Pastene <bpastene@chromium.org>
-
- 05 Aug, 2020 2 commits
-
-
Saagar Sanghavi authored
presubmit: Report timing to rdb for individual checks Rather than using CheckChangeOnCommit() or CheckChangeOnUpload() as the sole entry points for PRESUBMIT.py files, this cl enables presubmit_support.py to use any CheckXYZ[OnCommit/Upload] function to serve as an entry point. This way, we can perform timing and RDB reporting for each of the presubmit check functions and have check-specific data. Bug: 1106943 Change-Id: Ifdabd68c0904a6d70a828f12de157369c6c1571d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2332321 Commit-Queue: Saagar Sanghavi <saagarsanghavi@google.com> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@google.com>
-
Lei Zhang authored
Right now git_cl.py inserts an extra colon if the bug prefix ends with a colon. Fix this by detecting whether the bug prefix ends with a colon or not, and only inserting the colon when necessary. Bug: 1111955 Change-Id: I3db199435087abb17b9600fc208b11d2d8e6a615 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2333426Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
-
- 31 Jul, 2020 1 commit
-
-
Saagar Sanghavi authored
Bug: 1111829 Change-Id: I75c616f4fa9c16c19e732e43ba740bb67f3eb827 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2327839Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Saagar Sanghavi <saagarsanghavi@google.com>
-
- 24 Jul, 2020 1 commit
-
-
Edward Lesmes authored
Bug: 1102997 Change-Id: Id847129d320004fcd121941f2e14cf9ad56ab4a7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2318335Reviewed-by:
Josip Sokcevic <sokcevic@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
-
- 20 Jul, 2020 2 commits
-
-
Saagar Sanghavi authored
Added an rdb wrapper and use it to time CheckChangeOn{Commit, Upload} from every PRESUBMIT.py file, then reports the results to ResultSink. Bug: http://crbug.com/1107588 Change-Id: I9bc8a18ba615a76f3e0611eae5b2c4adc5924276 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2242097 Commit-Queue: Saagar Sanghavi <saagarsanghavi@google.com> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Garrett Beaty <gbeaty@chromium.org>
-
Corentin Wallez authored
And merge it in use_relative_paths. In all Chromium repos, use_relative_hooks is True iff: - use_relative_paths is True, and - there is at least one hook It makes sense that you'd want to use relative hooks if you use relative paths so this CL merges both flags into use_relative_paths. Bug: chromium:1107325 Change-Id: I0fe40eba1e1c61be26c812c7ca4329efb72c7f90 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2306795 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Auto-Submit: Corentin Wallez <cwallez@chromium.org> Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org>
-
- 15 Jul, 2020 1 commit
-
-
Edward Lesmes authored
- Add a check to validate DIR_METADATA files. - Add a check to enforce that OWNERS files contain no metadata if a DIR_METADATA file is present in the same directory. Bug: 1102997 Change-Id: Iedb09941001577dc81b1dda2241481ff667b2568 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2298330 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Nodir Turakulov <nodir@chromium.org>
-
- 12 Jul, 2020 1 commit
-
-
Corentin Wallez authored
Without this repos that use the use_relative_paths still need to use their absolute path for gclient_gn_args_file. Bug: chromium:1102833 Change-Id: I470096625061a28abf495f4d1035121edbcd581f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2279874Reviewed-by:
Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
-