1. 14 Nov, 2017 1 commit
  2. 13 Nov, 2017 1 commit
  3. 10 Nov, 2017 3 commits
    • Jonathan Nieder's avatar
      Do not delete users' draft comments · 1ea21322
      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: 's avatarAndrii Shyshkalov <tandrii@chromium.org>
      Commit-Queue: Jonathan Nieder <jrn@google.com>
      1ea21322
    • Raphael Kubo da Costa's avatar
      presubmit: Add InputApi.CreateTemporaryFile() · f2d1615b
      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: 's avatarAaron Gable <agable@chromium.org>
      f2d1615b
    • Nodir Turakulov's avatar
      [gclient hooks] add .bat to vpython on windows · 0ffcc877
      Nodir Turakulov authored
      Bug: 781430
      Change-Id: Idcba016f78078aa9678b8a246e964b3dcb09a016
      Reviewed-on: https://chromium-review.googlesource.com/762389Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
      Commit-Queue: Nodir Turakulov <nodir@chromium.org>
      0ffcc877
  4. 09 Nov, 2017 5 commits
  5. 08 Nov, 2017 4 commits
  6. 07 Nov, 2017 4 commits
  7. 06 Nov, 2017 6 commits
  8. 04 Nov, 2017 1 commit
  9. 03 Nov, 2017 5 commits
  10. 02 Nov, 2017 3 commits
  11. 01 Nov, 2017 2 commits
    • Ryan Tseng's avatar
      Reland 2 "bot_update recipe: Upload source manifest" · 70dea427
      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: 's avatarRobbie Iannucci <iannucci@chromium.org>
      Reviewed-by: 's avatarRyan Tseng <hinoka@chromium.org>
      70dea427
    • Ryan Tseng's avatar
      Revert "Reland "bot_update recipe: Upload source manifest"" · 5d790d53
      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: 's avatarRyan Tseng <hinoka@chromium.org>
      Commit-Queue: Ryan Tseng <hinoka@chromium.org>
      5d790d53
  12. 31 Oct, 2017 3 commits
  13. 27 Oct, 2017 1 commit
  14. 26 Oct, 2017 1 commit