[cipd] Add git-credential-luci
This can be used for OAuth to Gerrit (in lieu of gitcookies). Bug: b/335483238 Change-Id: Ief933ca0003b9f85e14aad1596b66b134311ea39 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5620638 Reviewed-by: Scott Lee <ddoman@chromium.org> Commit-Queue: Allen Li <ayatane@chromium.org>changes/38/5620638/3
parent
413b558c6c
commit
165fdee7e6
@ -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