diff options
author | Josip Sokcevic <sokcevic@chromium.org> | 2024-10-03 20:32:04 +0000 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-10-03 20:47:50 +0000 |
commit | f7f9dd4deb3b92bf175a0411dac60e7b6fdd9cfa (patch) | |
tree | 2af4bfdc9b02d2c44a2652af7ba1a62170d3af7e /subcmds/sync.py | |
parent | 70ee4dd313bda9cca7fdd826f1c58de03fad1121 (diff) | |
download | git-repo-f7f9dd4deb3b92bf175a0411dac60e7b6fdd9cfa.tar.gz |
project: Handle git sso auth failures as repo exit
If a user is not authenticated, repo continues execution and it will
likely result in more of the same errors being printed. A user is also
likely to SIGTERM the process resulting in more errors.
This change stops repo sync if any of repositories can't be fetched to
Git authentcation using sso helper. We could extend this to all Git
authentication
Change-Id: I9e471e063450c0a51f25a5e7f12a83064dfb170c
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/438522
Reviewed-by: Gavin Mak <gavinmak@google.com>
Tested-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Diffstat (limited to 'subcmds/sync.py')
0 files changed, 0 insertions, 0 deletions