commit | 3021ced2e67ca1ace95f15a236019a50bd874b28 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Sep 19 16:01:45 2019 +0900 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Sep 19 07:01:45 2019 +0000 |
tree | 59d5867845d23b34220e3d3b18c57a4e8c5cc41a | |
parent | eff2785a99f613b425f59506538bc4cf81b37764 [diff] |
Update git submodules * Update plugins/replication from branch 'master' to f1e84b0738b60d89d8bd710e58ebba4eac61b770 - Migrate from easymock to mockito Mockito naturally uses equals() for argument matching, so we can remove the argument matcher classes that were implemented for Easymock and instead just add equals() methods on the classes being matched. Bug: Issue 5057 Change-Id: Ib9befe36b248529262ccedc0a24d63b54b43020b - Merge branch 'stable-3.0' * stable-3.0: PushOneTest: Remove unused mock ReplicationQueue ReplicationStateTest: Remove unused mock ReplicationTasksStorage Wrap calls to createProject in a utility method ReplicationIT: stop using EasyMock Change-Id: I72e4b0bccfdf69fc2d3bcb21e8d85fab0a58a369 - DestinationConfiguration: Format with google-java-format Change-Id: I1a7aab6cc2e4da8fe7c20c84e0ad580646d88577 - Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: PushOneTest: Remove unused mock ReplicationQueue ReplicationStateTest: Remove unused mock ReplicationTasksStorage Wrap calls to createProject in a utility method ReplicationIT: stop using EasyMock Change-Id: Idb3bb64f6073509a39fd961bf19e89898f8f6688 - PushOneTest: Remove unused mock ReplicationQueue Change-Id: I162fb33059ef954b437d230cef05f732752dc137 - ReplicationStateTest: Remove unused mock ReplicationTasksStorage Change-Id: I285805381512d76437ad740764697784b8f39c9e - Wrap calls to createProject in a utility method The createProject method is removed in stable-3.0, and creating a test project must be done with the ProjectOperations class. This means that when a new test is added in stable-2.16 and uses createProject, there is a conflict when merging it up to stable-3.0. Wrap all the calls to createProject in a new utility method and call that instead in the tests. This commit will conflict on the next merge up to stable-3.0, but then there will be no more conflicts in future. Change-Id: I271d0d55cd07c25eb4c6f8acc47d144b47600356 - ReplicationIT: stop using EasyMock Integration tests should never use mocks as they are always supposed to use the real implementation and the integration between components. Remove the use of EasyMock as it has a very limited contribution and impact on ReplicationIT. Change-Id: I61d42c69164484486187f123a2fa26f8810c1924
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 7 based Gerrit image:
docker run -p 8080:8080 gerritforge/gerrit-centos7[:version]
To run a Ubuntu 15.04 based Gerrit image:
docker run -p 8080:8080 gerritforge/gerrit-ubuntu15.04[:version]
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.