Commit Graph

3 Commits (main)

Author SHA1 Message Date
Allen Li 8715e8e64d [git_cl] Let creds-check revert new auth config changes
Gated this behind new auth flag explicitly being set (so people who
haven't set anything = default off don't run this, just in case)

Bug: b/351024645
Change-Id: I8498b98404ad89d3ca390d3baa798daee0b4b53b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5698379
Reviewed-by: Yiwei Zhang <yiwzhang@google.com>
Commit-Queue: Allen Li <ayatane@chromium.org>
8 months ago
Allen Li 1e4251b6ea [newauth] Accept standard Git bool values
Just some "syntactic" sugar (at the very least we should probably have
used 'true' from the beginning)

https://git-scm.com/docs/git-config#Documentation/git-config.txt-boolean

Bug: b/348024314
Change-Id: I9ec3b12012444662289619ac955885e732945fe2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5641085
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Allen Li <ayatane@chromium.org>
8 months ago
Allen Li fa1bba51d7 [gerrit_util] Add newauth.py helper
These checks will be needed in git_cl.py and probably other places.

Make it easy to change the default to opt-in as some point (and for
deletion later).

Bug: b/348024314
Change-Id: I768986e47ec2e86604268d74ca2b632458263bba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5641084
Commit-Queue: Allen Li <ayatane@chromium.org>
Reviewed-by: Gavin Mak <gavinmak@google.com>
8 months ago