Merge branch 'stable-3.3' into master

* stable-3.3:
  Set version to 3.3.0-SNAPSHOT
  Set version to 3.3.0-rc5
  Documentation: fix Bazel options for a Java 8 build
  Update git submodules
  Flip the defaults of the attention and assignee flags
  Document jgit options respected by gerrit gc
  Update git submodules
  Documentation: Fix dev-core-plugins asciidoctor (numbered list) warnings
  Fix release_noter --link option for plugin changes
  Update git submodules
  Update git submodules
  Set version to 2.16.24-SNAPSHOT
  Set version to 2.16.23

Change-Id: Ib94020c67c539d6425bb94c8f4a42d95c8fae6f5
This commit is contained in:
Marco Miller
2020-11-09 15:20:53 -05:00
4 changed files with 71 additions and 12 deletions

View File

@@ -5523,6 +5523,49 @@ Sample `etc/jgit.config` file:
trustFolderStat = false
----
[[jgit-gc]]
=== Section gc
Options in section gc are used when command link:cmd-gc.html[gerrit gc] is used
or scheduled via options link:cmd-gc.html#gc.startTime[gc.startTime] and
link:cmd-gc.html#gc.interval[gc.interval].
[[gc.auto]]gc.auto::
+
When there are approximately more than this many loose objects in the repository,
auto gc will pack them. Some commands use this command to perform a light-weight
garbage collection from time to time. The default value is 6700.
+
Setting this to 0 disables not only automatic packing based on the number of
loose objects, but any other heuristic auto gc will otherwise use to determine
if theres work to do, such as link:#gc.autoPackLimit[gc.autoPackLimit].
[[gc.autodetach]]gc.autodetach::
+
Makes auto gc run in a background thread. Default is `true`.
[[gc.autopacklimit]]gc.autopacklimit::
+
When there are more than this many packs that are not marked with `*.keep` file
in the repository, auto gc consolidates them into one larger pack. The
default value is 50. Setting this to 0 disables it. Setting `gc.auto` to 0 will
also disable this.
[[gc.packRefs]]gc.packRefs::
+
This variable determines whether gc runs git pack-refs. The default is `true`.
[[gc.reflogExpire]]gc.reflogExpire::
+
Removes reflog entries older than this time; defaults to 90 days. The value "now"
expires all entries immediately, and "never" suppresses expiration altogether.
[[gc.reflogExpireUnreachable]]gc.reflogExpireUnreachable::
+
Removes reflog entries older than this time and not reachable from the
current tip; defaults to 30 days. The value "now" expires all entries immediately,
and "never" suppresses expiration altogether.
[[jgit-protocol]]
=== Section protocol
@@ -5540,6 +5583,16 @@ Supported versions:
2:: wire protocol version 2. Speeds up fetches from repositories with many refs by allowing the client
to specify which refs to list before the server lists them.
[[jgit-receive]]
=== Section receive
[[receive.autogc]]receive.autogc::
+
By default, `git-receive-pack` will run auto gc after receiving data from git-push and updating refs.
You can stop it by setting this variable to `false`. This is recommended in gerrit to avoid the
additional load this creates. Instead schedule gc using link:cmd-gc.html#gc.startTime[gc.startTime]
and link:cmd-gc.html#gc.interval[gc.interval] or e.g. in a cron job that runs gc in a separate process.
GERRIT
------
Part of link:index.html[Gerrit Code Review]

View File

@@ -61,8 +61,7 @@ Java 8 is a legacy Java release and support for Java 8 will be discontinued
in future gerrit releases. To build Gerrit with Java 8 language level, run:
```
$ bazel build --java_toolchain //tools:error_prone_warnings_toolchain_java8
:release
$ bazel build --java_toolchain //tools:error_prone_warnings_toolchain :release
```
[[java-11]]

View File

@@ -170,7 +170,7 @@ Apache License Version 2.0.
The plugin functionality has gone outside the Gerrit-related scope,
has a clear scope or conflict with other core plugins or existing and
planned Gerrit core features.
+
NOTE: The plugin would need to remain core until the planned replacement gets
implemented. Otherwise the feature is likely missing between the removal and
planned implementation times.