1. 08 Apr, 2022 1 commit
    • Josip Sokcevic's avatar
      Revert "Set a default got_revision property in the bot_update json output." · a0382d39
      Josip Sokcevic authored
      This reverts commit 05381726.
      
      Reason for revert: we reverted got_revision change, and this change
      itself may be causing some other failues.
      
      Original change's description:
      > Set a default got_revision property in the bot_update json output.
      >
      > The bot_update.py script sets a got_revision property by default even if
      > it is not present in the reverse revision mapping. This results in an
      > uncaught exception when set_output_commit is set to True if got_revision
      > isn't present in the reverse revision mapping, but it isn't caught until
      > production because the test API doesn't match that behavior. This change
      > updates the test API method to match the behavior of the script.
      >
      > Recipe-Nontrivial-Roll: build
      > Recipe-Nontrivial-Roll: build_limited
      > Recipe-Nontrivial-Roll: chromiumos
      > Recipe-Nontrivial-Roll: infra
      > Change-Id: Ideefa9d77d2a816ae66a2bb52737264ed3f5bcee
      > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3575361
      > Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
      > Reviewed-by: Josip Sokcevic <sokcevic@google.com>
      > Commit-Queue: Garrett Beaty <gbeaty@google.com>
      > Auto-Submit: Garrett Beaty <gbeaty@google.com>
      
      Change-Id: Ie975dfe39e7b8997336761e12f53f3046359d825
      Recipe-Nontrivial-Roll: build
      Recipe-Nontrivial-Roll: build_limited
      Recipe-Nontrivial-Roll: chromiumos
      Recipe-Nontrivial-Roll: infra
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3578820
      Auto-Submit: Josip Sokcevic <sokcevic@google.com>
      Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      a0382d39
  2. 07 Apr, 2022 5 commits
  3. 06 Apr, 2022 5 commits
  4. 05 Apr, 2022 7 commits
  5. 04 Apr, 2022 1 commit
  6. 03 Apr, 2022 1 commit
    • Bruce Dawson's avatar
      Ensure _PresubmitResult._message is text · db8622bc
      Bruce Dawson authored
      It is easy to get type confusion and end up passing a list as the
      message parameter to _PresubmitResult. This error will not be detected
      until the end of the run - perhaps hours later - when all evidence of
      where the list came from is lost.
      
      This change ensures that the message parameter is a string. If it is not
      then the exception that is thrown should allow quick identification of
      the problematic code.
      
      This also fixes a presubmit unit test that passed None as the message.
      We could support that but I don't think that we should.
      
      Bug: 1309977
      Change-Id: Ifb1d5100d47922b0ebd8bb834caa6fbba690b43c
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3566436Reviewed-by: 's avatarJochen Eisinger <jochen@chromium.org>
      Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
      db8622bc
  7. 31 Mar, 2022 2 commits
  8. 30 Mar, 2022 3 commits
  9. 29 Mar, 2022 3 commits
  10. 28 Mar, 2022 3 commits
  11. 24 Mar, 2022 2 commits
  12. 23 Mar, 2022 5 commits
  13. 22 Mar, 2022 2 commits