[cipd] Add git-credential-luci (reland)
This can be used for OAuth to Gerrit (in lieu of gitcookies). Originally landed https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5620638 Reverted due to interfering with git fetch https://ci.chromium.org/ui/p/infra-internal/builders/cron/build%20recipe%20roller/b8745385521046617057/infra Fixed by excluding git-credential-luci from recipe bundles Bug: b/335483238 Change-Id: I9a0887b32596be122509de0ec1c238088e73bb49 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5627937 Reviewed-by: Scott Lee <ddoman@chromium.org> Commit-Queue: Allen Li <ayatane@chromium.org>changes/37/5627937/4
parent
88a72320ed
commit
02b791b756
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright 2024 The Chromium Authors. All rights reserved.
|
||||
# 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"
|
||||
cipd_bin_setup &> /dev/null
|
||||
|
||||
exec "$MYPATH/.cipd_bin/git-credential-luci" "$@"
|
@ -0,0 +1,9 @@
|
||||
@echo off
|
||||
:: Copyright 2024 The Chromium Authors. All rights reserved.
|
||||
:: 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\git-credential-luci.exe" %*
|
Loading…
Reference in New Issue