ソースを参照

Add revert instructions

Add revert instructions to .bat and bash files which are the entry
points to various infra tools deployed via CIPD.

Bug: 1206818
Change-Id: Ib0045aea86f29d0f7e3a43c6ff314c4b7aa74171
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2892387
Auto-Submit: Nodir Turakulov <nodir@chromium.org>
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Nodir Turakulov 4 年 前
コミット
47a4b0bc59
24 ファイル変更52 行追加0 行削除
  1. 2 0
      bb
  2. 2 0
      bb.bat
  3. 6 0
      cipd_manifest.txt
  4. 2 0
      crosjobs
  5. 2 0
      dirmd
  6. 2 0
      dirmd.bat
  7. 2 0
      goma_auth
  8. 2 0
      goma_auth.bat
  9. 2 0
      goma_ctl
  10. 2 0
      goma_ctl.bat
  11. 2 0
      led
  12. 2 0
      led.bat
  13. 2 0
      luci-auth
  14. 2 0
      luci-auth.bat
  15. 2 0
      lucicfg
  16. 2 0
      lucicfg.bat
  17. 2 0
      pinpoint
  18. 2 0
      pinpoint.bat
  19. 2 0
      prpc
  20. 2 0
      prpc.bat
  21. 2 0
      rdb
  22. 2 0
      rdb.bat
  23. 2 0
      vpython
  24. 2 0
      vpython.bat

+ 2 - 0
bb

@@ -4,6 +4,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# See revert instructions in cipd_manifest.txt
+
 MYPATH=$(dirname "${BASH_SOURCE[0]}")
 
 source "$MYPATH/cipd_bin_setup.sh"

+ 2 - 0
bb.bat

@@ -3,5 +3,7 @@
 :: Use of this source code is governed by a BSD-style license that can be
 :: found in the LICENSE file.
 
+:: See revert instructions in cipd_manifest.txt
+
 call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
 "%~dp0\.cipd_bin\bb.exe" %*

+ 6 - 0
cipd_manifest.txt

@@ -2,6 +2,12 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# This file contains version pins of a few infrastructure tools.
+# If a tool is broken, revert a recent CL touching this file.
+# Note that Chromium has its own depot_tools pin, so if in a rush, revert the
+# depot_tools roll as well: https://chromium-review.googlesource.com/q/project:chromium/src+file:DEPS+depot_tools
+# or just wait for the autoroller to auto-roll your revert to Chromium.
+
 # Pin resolved versions in the repo, to reduce trust in the CIPD backend.
 #
 # Most of these tools are generated via builders at

+ 2 - 0
crosjobs

@@ -4,6 +4,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# See revert instructions in cipd_manifest.txt
+
 MYPATH=$(dirname "${BASH_SOURCE[0]}")
 
 source "$MYPATH/cipd_bin_setup.sh"

+ 2 - 0
dirmd

@@ -4,6 +4,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# See revert instructions in cipd_manifest.txt
+
 MYPATH=$(dirname "${BASH_SOURCE[0]}")
 
 source "$MYPATH/cipd_bin_setup.sh"

+ 2 - 0
dirmd.bat

@@ -3,5 +3,7 @@
 :: Use of this source code is governed by a BSD-style license that can be
 :: found in the LICENSE file.
 
+:: See revert instructions in cipd_manifest.txt
+
 call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
 "%~dp0\.cipd_bin\dirmd.exe" %*

+ 2 - 0
goma_auth

@@ -4,6 +4,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# See revert instructions in cipd_manifest.txt
+
 MYPATH=$(dirname "${BASH_SOURCE[0]}")
 
 source "$MYPATH/cipd_bin_setup.sh"

+ 2 - 0
goma_auth.bat

@@ -3,6 +3,8 @@
 :: Use of this source code is governed by a BSD-style license that can be
 :: found in the LICENSE file.
 
+:: See revert instructions in cipd_manifest.txt
+
 @call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
 @call python.bat %~dp0\.cipd_bin\goma_auth.py %*
 exit /b

+ 2 - 0
goma_ctl

@@ -4,6 +4,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# See revert instructions in cipd_manifest.txt
+
 MYPATH=$(dirname "${BASH_SOURCE[0]}")
 
 source "$MYPATH/cipd_bin_setup.sh"

+ 2 - 0
goma_ctl.bat

@@ -3,6 +3,8 @@
 :: Use of this source code is governed by a BSD-style license that can be
 :: found in the LICENSE file.
 
+:: See revert instructions in cipd_manifest.txt
+
 @call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
 @call vpython.bat %~dp0\.cipd_bin\goma_ctl.py %*
 exit /b

+ 2 - 0
led

@@ -4,6 +4,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# See revert instructions in cipd_manifest.txt
+
 MYPATH=$(dirname "${BASH_SOURCE[0]}")
 
 source "$MYPATH/cipd_bin_setup.sh"

+ 2 - 0
led.bat

@@ -3,5 +3,7 @@
 :: Use of this source code is governed by a BSD-style license that can be
 :: found in the LICENSE file.
 
+:: See revert instructions in cipd_manifest.txt
+
 call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
 "%~dp0\.cipd_bin\led.exe" %*

+ 2 - 0
luci-auth

@@ -4,6 +4,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# See revert instructions in cipd_manifest.txt
+
 MYPATH=$(dirname "${BASH_SOURCE[0]}")
 
 source "$MYPATH/cipd_bin_setup.sh"

+ 2 - 0
luci-auth.bat

@@ -3,6 +3,8 @@
 :: Use of this source code is governed by a BSD-style license that can be
 :: found in the LICENSE file.
 
+:: See revert instructions in cipd_manifest.txt
+
 call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
 "%~dp0\.cipd_bin\luci-auth.exe" %*
 

+ 2 - 0
lucicfg

@@ -4,6 +4,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# See revert instructions in cipd_manifest.txt
+
 MYPATH=$(dirname "${BASH_SOURCE[0]}")
 
 source "$MYPATH/cipd_bin_setup.sh"

+ 2 - 0
lucicfg.bat

@@ -3,5 +3,7 @@
 :: Use of this source code is governed by a BSD-style license that can be
 :: found in the LICENSE file.
 
+:: See revert instructions in cipd_manifest.txt
+
 call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
 "%~dp0\.cipd_bin\lucicfg.exe" %*

+ 2 - 0
pinpoint

@@ -4,6 +4,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# See revert instructions in cipd_manifest.txt
+
 MYPATH=$(dirname "${BASH_SOURCE[0]}")
 
 source "$MYPATH/cipd_bin_setup.sh"

+ 2 - 0
pinpoint.bat

@@ -3,5 +3,7 @@
 :: Use of this source code is governed by a BSD-style license that can be
 :: found in the LICENSE file.
 
+:: See revert instructions in cipd_manifest.txt
+
 call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
 "%~dp0\.cipd_bin\pinpoint.exe" %*

+ 2 - 0
prpc

@@ -4,6 +4,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# See revert instructions in cipd_manifest.txt
+
 MYPATH=$(dirname "${BASH_SOURCE[0]}")
 
 source "$MYPATH/cipd_bin_setup.sh"

+ 2 - 0
prpc.bat

@@ -3,6 +3,8 @@
 :: Use of this source code is governed by a BSD-style license that can be
 :: found in the LICENSE file.
 
+:: See revert instructions in cipd_manifest.txt
+
 call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
 "%~dp0\.cipd_bin\prpc.exe" %*
 

+ 2 - 0
rdb

@@ -4,6 +4,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# See revert instructions in cipd_manifest.txt
+
 MYPATH=$(dirname "${BASH_SOURCE[0]}")
 
 source "$MYPATH/cipd_bin_setup.sh"

+ 2 - 0
rdb.bat

@@ -3,5 +3,7 @@
 :: Use of this source code is governed by a BSD-style license that can be
 :: found in the LICENSE file.
 
+:: See revert instructions in cipd_manifest.txt
+
 call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
 "%~dp0\.cipd_bin\rdb.exe" %*

+ 2 - 0
vpython

@@ -4,6 +4,8 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+# See revert instructions in cipd_manifest.txt
+
 if [[ $VPYTHON_BYPASS == "manually managed python not supported by chrome operations" ]]
 then
   NEWARGS=()

+ 2 - 0
vpython.bat

@@ -3,5 +3,7 @@
 :: Use of this source code is governed by a BSD-style license that can be
 :: found in the LICENSE file.
 
+:: See revert instructions in cipd_manifest.txt
+
 call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
 "%~dp0\.cipd_bin\vpython.exe" -vpython-interpreter "%~dp0\python.bat" %*