1. 24 Jul, 2017 2 commits
  2. 21 Jul, 2017 2 commits
  3. 20 Jul, 2017 4 commits
  4. 18 Jul, 2017 5 commits
  5. 17 Jul, 2017 4 commits
  6. 15 Jul, 2017 1 commit
    • Yuke Liao's avatar
      Fix git-crrev-parse on Mac. · 383ace4b
      Yuke Liao authored
      Previously, running git crrev-parse {crrev_number} on Mac doesn't 
      produce any meaningful output, and the reason is that parameter 
      substitutions resulted in extra back slashes ('\'):
      
      ref="refs/heads/master"
      remote_ref="${ref/refs\/heads/refs\/remotes\/origin}"
      
      expected: remote_ref="refs/remotes/origin/master"
      actual: remote_ref="refs\/remotes\/origin/master"
      
      This CL fixes the issue by removing the extra back slashes.
      
      Bug:
      Change-Id: I1ee1b4702f09c96fb65518ee1465d0de927e95cc
      Reviewed-on: https://chromium-review.googlesource.com/572052Reviewed-by: 's avatarDirk Pranke <dpranke@chromium.org>
      Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
      383ace4b
  7. 14 Jul, 2017 6 commits
  8. 13 Jul, 2017 9 commits
  9. 12 Jul, 2017 7 commits
    • Aaron Gable's avatar
      'git cl issue 0': Remove Change-Id · 400e989b
      Aaron Gable authored
      Although git-cl-upload warns when uploading a new patchset
      to a change owned by someone else, if the uploader has run
      'git cl issue 0', then git-cl believes they'll be uploading
      a new change, so it doesn't bother checking. However, once
      the upload begins, Gerrit notices the Change-Id in the commit
      message, and instead adds a new patchset to someone else's
      review (if the uploader is a committer).
      
      This change introduces some logic to git-cl-issue to also
      remove any Change-Id from the commit message when a user
      tries to clear the metadata about their branch.
      
      Bug: 741648
      Change-Id: I6c7c3b24a7fc09c68220c8200b732fbdf9cf1fd3
      Reviewed-on: https://chromium-review.googlesource.com/568267Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
      Commit-Queue: Aaron Gable <agable@chromium.org>
      400e989b
    • Robert Iannucci's avatar
      [tryserver] Remove unused methods. · 133ac1ab
      Robert Iannucci authored
      R=agable@chromium.org, dnj@chromium.org, hinoka@chromium.org
      
      Bug:
      Change-Id: I82a11f31c8c1c4c4a2b461090e5aee637f8821c2
      Reviewed-on: https://chromium-review.googlesource.com/569019Reviewed-by: 's avatarNodir Turakulov <nodir@chromium.org>
      Reviewed-by: 's avatarAaron Gable <agable@chromium.org>
      Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
      133ac1ab
    • Aaron Gable's avatar
      git_footer: be more resilient to malformed footers · b08ba657
      Aaron Gable authored
      Since split_footers became more resilient to malformed
      footers and started returning the entire last paragraph,
      instead of just the last paragraph iff it was entirely
      well-formed, other functions like remove_footer need to
      make sure they handle the case where not every line of
      the footer paragraph can be parsed.
      
      R=iannucci@chromium.org
      
      Bug: 740601
      Change-Id: I75c6c626d96942181f453abeee896ee92d14b20b
      Reviewed-on: https://chromium-review.googlesource.com/565779Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
      Commit-Queue: Aaron Gable <agable@chromium.org>
      b08ba657
    • Dan Jacques's avatar
      [recipe_modules/git] Remove logging. · 9d842bab
      Dan Jacques authored
      "git_setup.py" does not use "logging". Remove it.
      
      BUG=None
      TEST=None
      R=iannucci@chromium.org
      
      Change-Id: Ia31882966bac056899308a67284f8fde15c7b0e0
      Reviewed-on: https://chromium-review.googlesource.com/569101Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
      Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
      9d842bab
    • Dan Jacques's avatar
      [win_tools] Use bundled Python CIPD packages (#2). · 3d9b5881
      Dan Jacques authored
      Re-land of bf144679.
      
      Enable bundled Python CIPD packages in bleeding-edge mode. This
      replaces the ZIP unpacking approach used before, and introduces
      validation and management through the CIPD tool. The bleeding edge
      version will only install if a sentinel file is present in the
      "depot_tools" root; otherwise, default behavior will continue.
      
      This method adds a upgrade and downgrade path to/from ZIP and
      CIPD installations. This is done by rewriting the "win_tools.bat"
      process:
      
      1) Ensure that a bootstrap Python is present.
      2) Use it to run "win_tools.py", which has the functionality of
          "git_bootstrap.py" plus Python installation.
      3) Run "win_tools.py" with appropriate flags.
      
      Some tricks were employed to handle cases where there is an
      already-running Python instance that uses the current Python
      installation and executable. This happens on bots because the
      system uses the same "depot_tools" checkout at multiple launch
      layers. To this end, we use the "python.bat" as the "current Python"
      authority and refrain from cleaning up old Python directories if their
      "python.exe" binaries are currently in use.
      
      We change the Git bleeding edge file to share the same
      sentinel file as Python, ".bleeding_edge".
      
      The new Python should have the same facilities as the original Python
      bundle.
      
      BUG=chromium:740171
      TEST=local
      
      Change-Id: I51ba6415c60b95c2aaba94b6e21bd9b3fc82f35d
      Reviewed-on: https://chromium-review.googlesource.com/568524Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
      Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
      3d9b5881
    • Dan Jacques's avatar
      [git] Remove hard-coded "depot_tools" Git. · 209a681f
      Dan Jacques authored
      Several tools, including the "git" recipe module, hard-code a
      checkout-relative "git.bat" path. Git is a feature that is provided by
      the system, both to tooling and recipes:
      
      1) For users, "depot_tools" must be on PATH, and during setup it will
         have installed "git.bat", ensuring that Git tooling is available in
         PATH.
      2) For bots, the system is responsible for providing "git.bat" on PATH.
         This is typically done at "/b/depot_tools/git.bat", which is sync'd
         through the "update_scripts" step.
      
      By formally treating Git as a system resource, we absolve Windows bots
      and users from manually installing a depot_tools-local Git, bringing
      them in line with other platforms.
      
      BUG=chromium:590806
      TEST=local
      
      Change-Id: I93e89855cdd330a2ba7a8cfb8117a1789d1ab54e
      Reviewed-on: https://chromium-review.googlesource.com/568694
      Commit-Queue: Daniel Jacques <dnj@chromium.org>
      Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
      209a681f
    • Dan Jacques's avatar
      Always copy "python.bat". · e8eed65f
      Dan Jacques authored
      This change should be safe, since batch files are not generally
      write-contended, and "gclient" is run atomically (other things depend on
      this).
      
      The mechanism to detect whether we're downgrading is broken by
      "bot_update". While future syncs should not encounter this issue,
      current syncs still have no way to resolve it, and are left with a
      broken "python.bat" setup.
      
      We remedy this by always installing "python.bat", even if it's already
      there. This is safe, since the intended state of HEAD is for this file
      to be present at all times.
      
      BUG=chromium:741650
      TEST=None
      
      Change-Id: Ief28217bf89d201d830c46b31e0b4040c51cb322
      Reviewed-on: https://chromium-review.googlesource.com/568588Reviewed-by: 's avatarSergey Berezin <sergeyberezin@chromium.org>
      e8eed65f