mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
[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>
This commit is contained in:
14
git-credential-luci
Executable file
14
git-credential-luci
Executable file
@@ -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" "$@"
|
||||
Reference in New Issue
Block a user