Bump JGit to 801a56b48

This moves stable-3.5 JGit version in line with master consistent with
the JGit update policy.

Notable fixes are:
 * 1e04046a6 Fix crashes on rare combination of file names (this issue
   has been seen during offline reindex of changes with specific merge
   commits).
 * 3e7281662 UploadPackServlet#doPost use try-with-resource to ensure up
   is closed
 * 7b1c8cf14 Re-try reading a file when there are concurrent writes
   (these retries are helpful for both NFS filesystems and Windows
   hosts)

Notable enhancements are:
 * 1a364c49e JGit blame very slow for large merge commits that rename
   files
 * eca101fc0 Fetch: Introduce negative refspecs.
 * ad9c217f4 PushCommand: allow users to disable use of bitmaps for push
 * b39972f8a Update Apache Mina SSHD to 2.9.2

$ git log --oneline --no-merges ^82b5aaf7e3 801a56b48a
05e5e9907 GC: disable writing commit-graph for shallow repos
8ef58089a RefDatabase: fix javadoc formatting
ddf1c1ed3 Pull up additionalRefsNames from RefDirectory to RefDatabase
70b436b1b Add TernarySearchTree
414bfe05f CommitGraph: teach ObjectReader to get commit-graph
9a6d60248 PatchApplier: fix handling of last newline in text patch
8a7348df6 CommitGraph: add commit-graph for FileObjectDatabase
aeb74f63d Reformat PatchApplier and PatchApplierTest
6722f25d5 PackWriter#prepareBitmapIndex: add clarifying comments
9b7c3ac11 IO#readFully: provide overload that fills the full array
f38a0614f Fix API warnings for the new CommitGraph
0d10ebe56 PackReverseIndex#findPosition: fix typo in method name
b082c58e0 GC: Write commit-graph files when gc
7016e2dda CommitGraph: add core.commitGraph config
7b0f633b6 CommitGraph: implement commit-graph read
5c6c374ff Gc#deleteOrphans: avoid dependence on PackExt alphabetical ordering
514ebfdc7 WalkPushConnection: Sanitize paths given to transports
91587aebd GraphCommits: Remove unused getter by position
04245494b CommitGraphWriter: fix UnusedException errorprone error
6ca3d2194 Update jetty to 10.0.13
3a136d200 PackExt: Add a commit graph extension.
ec7c61eac BatchRefUpdate: Consistent switch branches in ref update
2b21d9bbb RefWriter#writePackedRefs: Remove a redundant "if" check
ebc1f7d65 commitgraph package: fix exports/imports, add @since tag for new API
cf70e7cbe CommitGraph: implement commit-graph writer
8e1053ac4 [releng] bump japicmp base version
339b38340 Prepare 6.4.1-SNAPSHOT builds
acd079b37 JGit v6.4.0.202211300538-r
cb9f058f9 Fix crashes on rare combination of file names
2e28f27c2 Prepare 6.5.0-SNAPSHOT builds
ce0c739f2 Prepare 6.4.0-SNAPSHOT build
a3a726be6 JGit v6.4.0.202211231055-rc1
c14e6f5c6 [pgm] Add options --name-only, --name-status to diff, log, show
3d522c690 Update Orbit to R20221123021534 for 2022-12
19de96785 RBE: Update toolchain with bazel-toolchains 5.1.2 release
396508e28 SshTestGitServer: : ensure UploadPack is closed to fix resource leak
bde09c185 UploadPackTest: ensure UploadPack is closed to fix resource leak
4ddc64a2d [pgm] Ensure UploadPack is closed to fix resource leak
3e7281662 UploadPackServlet#doPost use try-with-resource to ensure up is closed
cddff2b7f Fix warnings in PatchApplierTest
143188e83 Fix boxing warnings in TransportTest
f849b8d0d Silence warnings about unclosed BasePackPushConnection
9fc9ae6de Fix warning about non-externalized String
af87046e5 Remove unused imports
3301032c6 Suppress non-externalized String warnings
f67cca6cb Remove unused API problem filters
ad994f7f6 Add 4.26 target platform
b06778c46 Use "releases" repository for 4.25 target platform
b39972f8a Update Apache Mina SSHD to 2.9.2
282d0b4f8 Update Orbit to S20221118032057
bd515f1c2 DfsBlockCache: Report IndexEventConsumer metrics for reverse indexes.
accacc27a DfsStreamKey: Replace ForReverseIndex to separate metrics.
e81c5135f Prepare 6.4.0-SNAPSHOT builds
1c886d92f RawText.isBinary(): handle complete buffer correctly
21fb73818 JGit v6.4.0.202211160543-m3
ed9979797 PackExt: Add a reverse index extension.
4d9e004f5 Fix API breakage caused by extracting WorkTreeUpdater
f288de749 Update Orbit to S20221109014815
bd2aced4a Use replace instead of replaceAll in toCleanString
3a4974930 Fix the path for JSchText.properties
1e04046a6 Fix crashes on rare combination of file names
e7adcac9f Fix Maven SHA1 for Bazel build
fe9aeb02e UploadPack: Receive and parse client session-id
7b0a71a5e TransferConfig: Move reading advertisesid setting into TransferConfig
e8068188f FirstWant: Parse client session-id if received.
93097f001 ReceivePack: Receive and parse client session-id.
45ed93cc8 Prepare 6.4.0-SNAPSHOT builds
afa65f8f0 JGit v6.4.0.202210260700-m2
ad9c217f4 PushCommand: allow users to disable use of bitmaps for push
71af0d6a5 I/O redirection for the pre-push hook
96236fdcb PackParser: populate full size of the PackedObjectInfos
60206ea95 PackedObjectInfo: add the full size to the description
b58ea5c6c ObjectReader: New #isNotLargerThan method
b398bb91a Fail build if there are license issues with dependencies
490c586de Update org.apache.httpcomponents:httpcore to 4.4.15
f319c9358 Update Orbit to S20220927175816
48d257382 Update JMH to 1.35
0a02adc02 Update org.eclipse.jdt:ecj to 3.31.0
4aada1285 Update plexus compiler to 2.12.1
5bb275e75 Update org.apache.maven.wagon:wagon-ssh to 3.5.2
ca1c70ff5 pgm/BUILD: Add dependencty to java EWAH
cbf0d9a76 [sshd] Guard against numerical overflow
6beb2f376 Remove unused imports
656e32e9f Remove unused API filters
2021ce342 ObjectDirectory: avoid using File.getCanonicalPath()
eb5124c74 AutoCRLFOutputStream: use BufferedOutputStream
f71fcbf36 CloneCommand: set HEAD also when not checking out
4f4204914 Pass on shallowSince only if not null
ccad49a28 Fix wrong @since tag
acde6c8f5 Split out ApplyCommand logic to PatchApplier class
85182df26 Prepare 6.4.0-SNAPSHOT builds
ac3bf7896 Fix typo in FetchV2Request javadoc
fb377b09e Prepare 6.3.1-SNAPSHOT builds
e7bffdfc4 DfsBundleWriter: Add test case about GC_REST pack.
68e8ecc91 JGit v6.3.0.202209071007-r
f8104e25f JGit v6.3.0.2022009070944-r
a8e683fef [merge] Fix merge conflicts with symlinks
583bf0023 Update DEPENDENCIES for 6.3.0
1e28d49eb Update tycho to 2.7.5
448052dc2 Move WorkTreeUpdater to merge package
6ed4c074c WorkTreeUpdater: use DirCacheCheckout#StreamSupplier
6d2bcb604 DirCacheCheckout#getContent: also take InputStream supplier
7c4a5421c Revert "Adds FilteredRevCommit that can overwrites its parents in the DAG."
ee6334bcc Revert "Option to pass start RevCommit to be blamed on to the BlameGenerator."
2778bb2cc WorkTreeUpdater: remove safeWrite option
148ef4fd6 Update Orbit to R20220830213456 for 2022-09
ca166a0c6 BaseSuperprojectWriter: report invalid paths as manifest errors
25aceffdc ApplyCommand: fix ApplyResult#updatedFiles
0887111ba WorkTreeUpdater: rename metadata maps
ddb1a0c3a WorkTreeUpdater#Result: hide data members
1a2aa740c Add javadoc on RevCommit
5747bba48 Option to pass start RevCommit to be blamed on to the BlameGenerator.
aaae9ecd5 WorkTreeUpdater: re-format and clean-up
3a1270985 Prepare 6.3.0-SNAPSHOT builds
6297491e8 Adds FilteredRevCommit that can overwrites its parents in the DAG.
85a480999 JGit v6.3.0.202208161710-m3
b255eb0fb DirCacheCheckout: load WorkingTreeOptions only once
134ee334f WorkTreeUpdater: Fix unclosed streams
d9c0629ff Fix adding symlinks to the index when core.symlinks=false
7854122b9 Remove unused API problem filters
4bec6d98b Add missing @since tag for RevCommit#parents introduced in 61b4d105e4
2417c9f0e Fix API errors caused by 23a71696cd
8542bf790 Provide default shallowCommits getter and setter in ObjectDatabase
23a71696c Reapply "Create util class for work tree updating in both filesystem and index."
3b4a63618 ResolveMerger: add coverage for inCore file => directory transition
f0524d59f Provide encoding to String#getBytes()
5709317f7 Revert "Create util class for work tree updating in both filesystem and index."
05a248507 Provide a default implementation for set/get shallowCommits on DfsObjDatabase
e5e46bc53 Revert "Adds FilteredRevCommit that can overwrites its parents in the DAG."
3d2f08793 Revert "Option to pass start RevCommit to be blamed on to the BlameGenerator."
8184683f7 CleanCommand: fix prefix matching
59e8bec6e Option to pass start RevCommit to be blamed on to the BlameGenerator.
ceb51a5e0 Adds FilteredRevCommit that can overwrites its parents in the DAG.
61b4d105e Add the ability to override parents on RevCommit.
b544da795 Refactor NameConflictTreeWalk.fastMin method
5af93628d Fix BUILD rules for FilteredRenameDetectorTest
f8e229d56 Rename fastMinHasMatch to allTreesNamesMatchFastMinRef
8a3a6a99a Document TreeWalk#min()
3bec0b56a Squash error-prone messages
eef4da5da Use constants for git packet protocol line identifiers
673007d52 ObjectDirectory: improve reading of shallow file
207dd4c93 Fetch: add support for shallow
559be6652 [tests] Stabilize the HTTP server's request log
8584ac704 NameConflictTreeWalk: respect git order on multi-tree iteration
911b4e0d8 Update Orbit to S20220726152247 and bouncycastle to 1.71
5151b324f Create util class for work tree updating in both filesystem and index.
a1ce9063f Fix the handling of .git/info/exclude and core.excludesFile
ffcb95138 Remove version constraints from org.tukaani.xz package
99293bbc0 Add aarch64 environment to target platform configuration
1a364c49e JGit blame very slow for large merge commits that rename files
ba93cd36d Fix warnings about non-externalized string literals
db4f7dffb [sshd] Correct signature for RSA keys from an SSH agent
0c32889eb Run tests that checks araxis output only on Linux
2adbd7438 Add 4.25 target platform for Eclipse 2022-09
f014febe3 Suppress API errors raised for new API introduced in 5.13.1
5c04d7442 Eclipse 4.24 was released, adapt p2 URL accordingly
87391ccee Fix DefaultCharset bug pattern flagged by error prone
6674abb16 Use SystemReader#getDefaultCharset to read console input
7f4fa5655 Annotate the exception with the possible failure reason when Bitmaps are not enabled.
5868543f1 Fix typo in DiffTools#compare javadoc
d4c853974 Update jgit-last-release-version to 6.2.0.202206071550-r
a9f535e10 Prepare 6.2.1-SNAPSHOT builds
236b45f95 JGit v6.2.0.202206071550-r
8137e5e74 Prepare 6.3.0-SNAPSHOT builds
ddfeb051a Update DEPENDENCIES for 6.2.0 to be released with 2022-06
e04f693c4 Update orbit to R20220531185310 for 2022-06
cc862f843 Prepare 6.2.0-SNAPSHOT builds
adfa30ca6 [releng] Fix MANIFEST.MF of o.e.j.ssh.apache.agent
c32694e5a Teach JGit to handle external diff/merge tools defined in .gitattributes
ff77d412a Adapt diff- and merge tool code for PGM and EGit usage
7b1ade51d JGit v6.2.0.202206011217-rc1
973e955ea Add availability check of pre-defined tools
8c681aac5 Fixed since tags added for new merge constants
e81085944 Add filtering with help of DirCacheCheckout.getContent()
760d8ea60 Prepare 6.2.0-SNAPSHOT builds
814901bfc Avoid warning "no explicit project encoding"
649b2b72c JGit v6.2.0.202205251150-m3
eaf4d500b Add mergetool merge feature (execute external tool)
857343563 Add command line support for "git mergetool"
24171b05f Add config reader for user-defined mergetools
b63c2f39a Add difftool compare feature (execute external tool)
ca62b3447 RewriteGenerator: Fully buffering of input is no longer necessary
0c749d33b Update Orbit to S20220517184036
4ac6e7b50 PackFileSnapshot: Resolve warnings by using "equals" instead of "=="
88d5f51e6 Remove stray files (probes or lock files) created by background threads
b969c44c0 Prepare 6.2.0-SNAPSHOT builds
6ac09896b JGit v6.2.0.202205041315-m2
60ecf4a24 Update list of 3rd party dependencies
919b84296 Add target platforms for eclipse 4.23 (2022-03) and 4.24 (2022-06)
1140500ed Update Orbit to I20220502200629
4dd9a94ec [sshd] Better user feedback on authentication failure
8b8999dca Lazy loading of .lfsconfig.
1a96d1048 [releng] bump japicmp base version
563a7b582 RefSpec: add missing @since
7f9cd7d2b De-couple ServiceLoader calls from class loading
7e06e5175 CommitCommand: call GpgSigner.getDefault() only if indeed signing
fbce3122e GpgSigner: prevent class lock inversion on the default signer
eca101fc0 Fetch: Introduce negative refspecs.
98029e675 BaseSearch: Suppress ReferenceEquality Warnings
47a16f5f2 RewriteGenerator: Suppress ReferenceEquality Warnings
cc8b2e627 PlotCommit: Suppress ReferenceEquality Warnings
f1362e857 PlotCommitList: Suppress ReferenceEquality Warnings
a706835a4 Add GetRefsBenchmark for testing refs lookups
aa5a2c461 [pgm tests] Relax version constraints for hamcrest
8f0280716 Use git config core.commentChar
a187d12dd CommitConfig: add support for core.commentChar
a17136029 [push, lfs] Tell the pre-push hook whether the push is a dry run
b12ec8f37 LFS: clean up messages
0ae37d400 DirCacheCheckout: use a LinkedHashMap instead of HashMap
7b1c8cf14 Re-try reading a file when there are concurrent writes
ac78c1752 [sideband] Ensure last bit of progress channel is written
45287f109 Add tests for SideBandInputStream
a820ff089 WinPipeConnector: Resolve warnings by using "equals" instead of "=="
2c1a8798c LsRemoteCommand: apply url.*.insteadOf
c127a1a65 Factor out URL replacement from RemoteConfig
2d9ed3cf2 Fix MANIFEST.MF in the LFS bundles
13eb2ce3e Update Tycho to 2.6.0
600e96dfd Refer to target platform as file
d0ed6016d Prepare 6.2.0-SNAPSHOT builds

Change-Id: I461538576687e99b41a1240ff8e56c33c30a9d31
Release-Notes: Bump JGit to 801a56b48
1 file changed
tree: 956a3f377dad091969e00de7eda3bc3fc82dd600
  1. .settings/
  2. .ts-out/
  3. antlr3/
  4. contrib/
  5. Documentation/
  6. e2e-tests/
  7. java/
  8. javatests/
  9. lib/
  10. modules/
  11. plugins/
  12. polygerrit-ui/
  13. prolog/
  14. prologtests/
  15. proto/
  16. resources/
  17. tools/
  18. webapp/
  19. .bazelignore
  20. .bazelproject
  21. .bazelrc
  22. .bazelversion
  23. .editorconfig
  24. .git-blame-ignore-revs
  25. .gitignore
  26. .gitmodules
  27. .gitreview
  28. .mailmap
  29. .pydevproject
  30. .zuul.yaml
  31. BUILD
  32. COPYING
  33. INSTALL
  34. Jenkinsfile
  35. package.json
  36. README.md
  37. SUBMITTING_PATCHES
  38. version.bzl
  39. WORKSPACE
  40. yarn.lock
README.md

Gerrit Code Review

Gerrit is a code review and project management tool for Git based projects.

Build Status Maven Central

Objective

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.

Documentation

For information about how to install and use Gerrit, refer to the documentation.

Source

Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.

Reporting bugs

Please report bugs on the issue tracker.

Contribute

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.

Getting in contact

The Developer Mailing list is repo-discuss on Google Groups.

License

Gerrit is provided under the Apache License 2.0.

Build

Install Bazel and run the following:

    git clone --recurse-submodules https://gerrit.googlesource.com/gerrit
    cd gerrit && bazel build release

Install binary packages (Deb/Rpm)

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>]

Use pre-built Gerrit images on Docker

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.