| commit | 7fe8c23eba89d192848fb51046d95b5b60687510 | [log] [tgz] |
|---|---|---|
| author | Edwin Kempin <ekempin@google.com> | Thu Nov 20 13:10:38 2025 +0000 |
| committer | Edwin Kempin <ekempin@google.com> | Thu Nov 20 13:19:05 2025 +0000 |
| tree | 1bedf2d11268d4f7ef4744f03e836a5bdb8d7935 | |
| parent | 454bfebaf808981f5c92302f8b2d6c3a9cc53fc7 [diff] |
AccountResolver: Return all accounts that own a matching email At a point in time an email must only belong to a single account. If multiple accounts are found for the same email it means there is an inconsistency: 1. either some of the found accounts have a preferred email set that they do not own via an external ID 2. or multiple accounts own the same email via different exteral IDs In case of 1. we want to ignore the accounts that do not own the email via an external ID. In case of 2. we can't decide which account is a better match, hence we should return all accounts that own the email via an external ID. Before this change we returned only the first match in case of 2. Release-Notes: skip Bug: Google b/461874564 Change-Id: I968796143a5cd0109e7912ec202ebf53a6356aac Signed-off-by: Edwin Kempin <ekempin@google.com>
Gerrit is a code review and project management tool for Git based projects.
Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.
Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer.
For information about how to install and use Gerrit, refer to the documentation.
Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.
Please report bugs on the issue tracker.
Gerrit is the work of hundreds of contributors. We appreciate your help!
Please read the contribution guidelines.
Note that we do not accept Pull Requests via the Github mirror.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Bazel and run the following:
git clone --recurse-submodules https://gerrit.googlesource.com/gerrit
cd gerrit && bazel build release
The instruction how to configure GerritForge/BinTray repositories is here
On Debian/Ubuntu run:
apt-get update && apt-get install gerrit=<version>-<release>
NOTE: release is a counter that starts with 1 and indicates the number of packages that have been released with the same version of the software.
On CentOS/RedHat run:
yum clean all && yum install gerrit-<version>[-<release>]
On Fedora run:
dnf clean all && dnf install gerrit-<version>[-<release>]
Docker images of Gerrit are available on DockerHub
To run a CentOS 8 based Gerrit image:
docker run -p 8080:8080 gerritcodereview/gerrit[:version]-centos8
To run a Ubuntu 20.04 based Gerrit image:
docker run -p 8080:8080 gerritcodereview/gerrit[:version]-ubuntu20
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.