Putting this in the WAR dated back to the Maven days, when adding new
binary build targets was prohibitively expensive. Nobody using a
distributed gerrit.war, as opposed to building locally, actually needs
to run this binary.
This binary has a very thin dependency stack and can build in just a few
seconds, rather than having to build all of the server target, JS
bundles, and other slow pieces of gerrit.war just to generate a proto
file.
Change-Id: If6e7d981bdd57b11536ffe990d11789afd232a46
This release contains the following fixes since 5.0.1.201806211838-r:
A fix for issue 9153:
- ResolveMerger: Fix encoding with string; use bytes
And several fixes related to cleanup of ref directories after running
GC:
- Delete all loose refs empty directories
- Use java.nio to delete path to get detailed errors
- GC: Remove empty references folders
- Do not ignore path deletion errors
Bug: Issue 9153
Change-Id: I38d57c20475345626e277c7734fd0e109070d69e
* stable-2.15:
Clarify that receive.maxObjectSizeLimit does not get inherited
Upgrade JGit to 4.9.3.201807311005-r
Minor improvements in receive.maxObjectSizeLimit documentation
Bazel: Consume rules_closure from HEAD
Bump auto-value to 1.6.2
dev-contributing: use buildifer 0.15.0
Change-Id: I7826131be3cc47fee531c292bd3ce25cf6be464f
* stable-2.14:
Clarify that receive.maxObjectSizeLimit does not get inherited
dev-contributing: use buildifer 0.15.0
Change-Id: I8b3f860dd85cea062f59ba3e9b3f26aae0c6f731
This reverts commit 7c4f0c3f3070bd8f066b94cd92fcbbcf4ee36af7.
Reason for revert: Google uses a different MessageSender implementation
internally.
The rebased version of this revert keeps the cosmetic variable
renamings.
Change-Id: Ieda44268c38819dd887e9563effc794e278e6810
This release contains the following fixes that were submitted on
JGit's stable-4.9 branch since the currently used snapshot was built:
A fix for issue 9153:
- ResolveMerger: Fix encoding with string; use bytes
And several fixes related to cleanup of ref directories after running
GC:
- Delete all loose refs empty directories
- Use java.nio to delete path to get detailed errors
- GC: Remove empty references folders
- Do not ignore path deletion errors
Bug: Issue 9153
Change-Id: Ia385b5bb46e94e4a93503345648502885c61c5c9
* stable-2.14:
Minor improvements in receive.maxObjectSizeLimit documentation
Bazel: Consume rules_closure from HEAD
Bump auto-value to 1.6.2
Change-Id: I401942a40c5001300f77f9437d342001cd42e619
We had an issue with submodule subscriptions where it would have saved
quite some work if this log would have contained the target branch.
Change-Id: Icf39746547485ea59bb4db075dde23d8a3f39a82
Signed-off-by: Edwin Kempin <ekempin@google.com>
These classes don't really need to throw a CmdLineException because
the provided CmdLineParser is never actually used when reporting the
error to the user.
Replace the deprecated CmdLineException with IllegalArgumentException.
Change-Id: I52efc3d70177cbaa4ae9c0d945b4afc558f504d2
In the updated version of args4j the constructor:
CmdLineException(CmdLineParser, String)
is deprecated in favor of:
CmdLineException(CmdLineParser, Localizable, String...)
Add a new Localizable class that implements the expected interface,
and replace usage of the deprecated constructor across the Gerrit code
except in AsciiDoctor and DocIndexer. The latter don't really need to
use CmdLineException; this will be fixed in a separate commit.
Change-Id: I7033c0dd764780a163953ca9fc39da228ac20707
After updating the "Project" column name to "Repo", there were still
references to the former name in the change_table preference, which
controls what columns appear in the change table. Because, following the
rename, preferences would have an outdated key, this had the unintended
effect of hiding the repo column by default for any user who had
modified that preference.
With this change, the appearance of "Project" in a change_table list is
treated like an appearance of "Repo".
Bug: Issue 9509
Change-Id: I1e773b5dd07dd086551f62aacbbe5973078e9ee4
Now, that both changes were merged, consume rules_closure from HEAD
and avoid patching it during the build: [1].
[1] d1c92e34f2
Change-Id: I5afeccb17e4ef76b2ec86f9f8b7f2741bf8d4e93
Regression caused by 08ab3aa2 -- the change-star element no longer makes
API calls, instead relying on the parent component.
Bug: Issue 9511
Change-Id: I26faee7ab9158687ec939c48592f3a263cffc93e
Show a small warning at the end of a diff if either side does not have a
trailing newline. When a diff loads, find the last chunk for both sides
and examine the last line of each chunk. If the newline is missing from
either or both, show a corresponding message.
Keep track of whether the diff component is loading using a _loading
property so that the message can be hidden when loading a new diff.
Feature: Issue 9459
Change-Id: I59f59de5676af2f0352a42aa6d7dabaad5fc65b4
As per UX instructions, adds a border between the images and replaces
the image outline with a box shadow.
Change-Id: Iec157ce7e346cab217a49d6fcee5977c1702478c