| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Release-Notes: skip
Change-Id: I5d43495aaa561c251ddc31975139917bbf28943e
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Release-Notes: skip
Change-Id: I84c9b8123d71e3d96d54b55a6a7dfb1997d23d02
|
|\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* stable-3.9:
Fix NPE upon Git clone
Fix javadocs for deprecation of Changes#id(int)
Release-Notes: skip
Change-Id: Ib33c0d1c4f884cabba86f7d0d9c2929104d1a5da
|
| |\| | | | | | |
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* stable-3.8:
Fix NPE upon Git clone
Release-Notes: skip
Change-Id: Ifb06b484473eee96003db850f981a83348d1a85b
|
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The Change.getServerid() is flagged as @Nullable and therefore
could lead to a NPE when performing a permission check upon
Gerrit clone.
Bug: Issue 338826950
Release-Notes: Fix NPE during git clone
Change-Id: I7d9978ceb8397c9dde5a41fa92af93bce54bf1d9
|
| |\ \ \ \ \ \ |
|
| |\ \ \ \ \ \ \ |
|
| | | |_|_|/ / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Release-Notes: skip
Change-Id: If71cfac6b48e0ed11d3426fa9179a40ac1370ea5
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Release-Notes: skip
Change-Id: I7661b819d2b81303b06a21a4de0cb85e7e31ece3
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Release-Notes: skip
Change-Id: I40a67f1cb3412d22721679f4afc9e1eb69fde4af
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Release-Notes: skip
Change-Id: Ic9489389899073552ad0ebcc88fd3b8c15948b0b
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Change-Id: Iee464deb00a49d4325f0f38a4c1f90e2ca37bfe8
Release-Notes: skip
|
|\ \ \ \ \ \ \ \
| | |_|/ / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* stable-3.9:
Update @gerritcodereview/typescript-api to 3.9.1
Update git submodules
Update git submodules
Index Change: Remove misleading documentation
ChangesByProjectCacheImpl: Update Change weigher
Remove assignee config from docs
gr-main-header: fix header to wrap the better
gr-main-header: fix header to wrap the better
Document introduction of `virtual_id_number` to `ChangeInfo`
Add baseUrl to INITIAL_DATA in IndexHtmlUtil
Add baseUrl to INITIAL_DATA in IndexHtmlUtil
Fix clearing cache in gr-rest-api
Fix clearing cache in gr-rest-api
Remove reload-diff-preference unneeded event
Remove reload-diff-preference unneeded event
ServerPlugin: Fix buggy Optional.orElse()
Fix buttons on header disappearing
Fix buttons on header disappearing
Set version to 3.9.5-SNAPSHOT
Set version to 3.9.4
Set version to 3.8.6-SNAPSHOT
Set version to 3.8.5
Fix endless loop when using "is:watched" in project watches
Release-Notes: skip
Change-Id: I1647c9c1273076e13f9cea85db344f9a1fc5ee2e
|
| |\ \ \ \ \ \ \
| | |/ / / / / /
| |/| | / / / /
| | | |/ / / /
| | |/| | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* stable-3.8:
Update git submodules
Index Change: Remove misleading documentation
ChangesByProjectCacheImpl: Update Change weigher
Remove assignee config from docs
gr-main-header: fix header to wrap the better
Document introduction of `virtual_id_number` to `ChangeInfo`
Add baseUrl to INITIAL_DATA in IndexHtmlUtil
Fix clearing cache in gr-rest-api
Remove reload-diff-preference unneeded event
Fix buttons on header disappearing
Set version to 3.8.6-SNAPSHOT
Set version to 3.8.5
Fix endless loop when using "is:watched" in project watches
Release-Notes: skip
Change-Id: Ie29e2beda2f4052f2d15ea0ff39dd229f74c3288
|
| | |\ \ \ \ \
| | | | |/ / /
| | | |/| | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* stable-3.7:
Index Change: Remove misleading documentation
Document introduction of `virtual_id_number` to `ChangeInfo`
Release-Notes: skip
Change-Id: I33df959e79da89bba2b0ee7215c17de7cbfbb8c6
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
It has not been possible for change owners to index their own changes
for a while, but the documentation still claims that they can.
Bug: Issue 337070245
Release-Notes: Skip
Change-Id: I67a973da01b57c5cd779314132c7e586c92f6c9b
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Note that the underscore (`_`) has been removed from the variable name
to avoid resemblance to the prefix `_` used in `_number`, which
(according to the documentation) denotes deprecation.
Follow-Up-To: I85c946ef
Bug: Issue 325309573
Release-Notes: Add `virtual_id_number` to `ChangeInfo`
Forward-Compatible: checked
Change-Id: Iddf5dee45f80f863ec8dbc113e15e9499bfee757
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* Update plugins/codemirror-editor from branch 'stable-3.8'
to 6f916580c3f26ecfd9b2a10d96cb1c0530103bc6
- Fix xml mode
Change-Id: Ib419a2fadea2eb321559269b8e23ed14c0c20f3b
(cherry picked from commit 06719abee6c38d17008599f074050db5153bffa3)
- Add missing javascript language support
Whoops!
Change-Id: I56a493db26eb785769cc0cb3058a566f5fc4c9f6
(cherry picked from commit 469f617ed3102be445615396f3047e7ba498d261)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
assignee is no longer a member of Change, but serverId is. Also,
revertOf and cherryPickOf can be null, so only count their weight when
non-null.
Change-Id: I7343670ccee83ef244a0fa6301980f2913c158e7
Release-Notes: skip
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This was missed in 1fba739a5f317e75383500e06d94ce12091e986d.
Change-Id: Ie84657e016bc69aa43b8602f6d9bd5a843c4f93c
Release-Notes: Removed missed reference to assignee config in docs
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
By using `flex: 0 0 auto` it makes sure that the text doesn't get cut
off. It's a little less ugly then it wrapping below.
This is a better fix than [0]. Correct fix is still a mobile optimised
header but that is a seperate change.
[0] I9da124be1ecd911cb16803fe709fb23a0860cd9e
Release-Notes: gr-main-header: fix header to wrap the better
Change-Id: Id7ebb8def48f5f58e31b3e2e297128fbbc8d0443
(cherry picked from commit 14b349c60cb3a90307670c1069e3e82136b785e4)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Release-Notes: Add baseUrl to INITIAL_DATA in IndexHtmlUtil
Change-Id: I6a74f06eb1bb04365784722704043cac1b79541d
(cherry picked from commit b2b9d67de54218a3a45ea8bef3a12b95c602ed77)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
We include the base url in urlWithParams so we have to do the same
inside gr-rest-api by calling getBaseUrl().
Also clear cache in savePreferences().
Release-Notes: Fix clearing cache in gr-rest-api
Bug: 335613081
Change-Id: Ic0fb6af3316c8cd77bcaa64b802cd777cff339d7
(cherry picked from commit 6915b8aa40620176313ec3b55aef90e28a3e6936)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
We don't need to trigger this as the model already updates the diffPref
config and triggers a refresh.
Release-Notes: Remove reload-diff-preference unneeded event
Bug: 335613081
Change-Id: I2413cee2169d7347c7354af6131db28411197251
(cherry picked from commit e81286c3421227ea1e2636c9cd97e8fd349130c6)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
I'm not sure if there's a better fix to this (it's kinda ugly)
but it at least prevents the buttons from disappearing.
The login button was disappearing when the title was big enough.
The correct fix would be to redesign the header to use a nav bar
that works on mobile e.g. using a hamburger icon and having a menu
that comes out. That's a bigger change.
Release-Notes: Fix buttons on header disappearing
Change-Id: I9da124be1ecd911cb16803fe709fb23a0860cd9e
(cherry picked from commit 9debe8c497697f93abf4fb311789ac7bf4b2369c)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Release-Notes: skip
Change-Id: Ie256fb5368cc1a3fcf900ed1c5bfdbb0d63c52bf
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Release-Notes: skip
Change-Id: Ic8c6c64ac2d3ef994ffd60a9e4b8cfcc09caca66
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The "is:watched" predicate matches changes that are being watched.
To match changes that are being watched the "is:watched" predicate is
expanded to an OR query that has one "project:<watched-project>
<project-watch-filter>" predicate per project watch
("project:<watched-project>" is omitted if the project watch is the
All-Projects project, "<project-watch-filter>" is omitted if the project
watch doesn't set a filter). This expansion happens when the
IsWatchedByPredicate is instantiated. Expanding the query requires
loading the project watches of the user and parsing the filter (to
convert the filter string into Predicates).
If the filter of a project watch used the "is:watched" predicate,
querying changes by "is:watched" or checking whether a change matches
the project watch triggered an endless loop: If "is:watched" is used
ChangeQueryBuilder.parse creates an IsWatchedByPredicate instance (in
the is(String) method), which is expanded to the OR query (in the
IsWatchedByPredicate constructor), which requires parsing the project
watch filters. Parsing the project watch filters was done by
ChangeQueryBuilder.parse which creates another IsWatchedByPredicate
instance (in the is(String) method), which is again expanded to the OR
query (in the IsWatchedByPredicate constructor), which again requires
parsing the project watch filters, starting the loop anew.
To fix this we:
1. Disallow using "is:watched" in ProjectWatch.WatcherChangeQueryBuilder
which is a subclass of ChangeQueryBuilder.parse used to check whether
a change matches a project watch.
2. Change IsWatchedByPredicate to use
ProjectWatch.WatcherChangeQueryBuilder to parse the project watch
filters instead of ChangeQueryBuilder.
Using ProjectWatch.WatcherChangeQueryBuilder in IsWatchedByPredicate
makes the matching logic for project watches when a change is updated
consistent with the matching logic for project watches when "is:watched"
is used in a regular change query.
By disallowing "is:watched" in ProjectWatch.WatcherChangeQueryBuilder
project watches that use "is:watched" in their filter do not match any
change now. Before this change they triggered an endless loop, affecting
the stability of the service.
Note, IsWatchedByPredicate did have a check to prevent an endless loop
in this case, but it didn't work since the endless loop happened before
this check was reached.
Bug: Issue 321784734
Release-Notes: Fix endless loop when using "is:watched" in project watches
Change-Id: Ie38535b2df123a62dfd6a6e4b4ee60a80b0254f3
Signed-off-by: Edwin Kempin <ekempin@google.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: Iee464deb00a49d4325f0f38a4c1f90e2ca37bfe8
Release-Notes: skip
|
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Update plugins/codemirror-editor from branch 'stable-3.9'
to ce9838b8795338877f74c7f3b61c7c4526a279e6
- Fix xml mode
Change-Id: Ib419a2fadea2eb321559269b8e23ed14c0c20f3b
(cherry picked from commit 06719abee6c38d17008599f074050db5153bffa3)
- Add missing javascript language support
Whoops!
Change-Id: I56a493db26eb785769cc0cb3058a566f5fc4c9f6
(cherry picked from commit 469f617ed3102be445615396f3047e7ba498d261)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
By using `flex: 0 0 auto` it makes sure that the text doesn't get cut
off. It's a little less ugly then it wrapping below.
This is a better fix than [0]. Correct fix is still a mobile optimised
header but that is a seperate change.
[0] I9da124be1ecd911cb16803fe709fb23a0860cd9e
Release-Notes: gr-main-header: fix header to wrap the better
Change-Id: Id7ebb8def48f5f58e31b3e2e297128fbbc8d0443
(cherry picked from commit 14b349c60cb3a90307670c1069e3e82136b785e4)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Release-Notes: Add baseUrl to INITIAL_DATA in IndexHtmlUtil
Change-Id: I6a74f06eb1bb04365784722704043cac1b79541d
(cherry picked from commit b2b9d67de54218a3a45ea8bef3a12b95c602ed77)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We include the base url in urlWithParams so we have to do the same
inside gr-rest-api by calling getBaseUrl().
Also clear cache in savePreferences().
Release-Notes: Fix clearing cache in gr-rest-api
Bug: 335613081
Change-Id: Ic0fb6af3316c8cd77bcaa64b802cd777cff339d7
(cherry picked from commit 6915b8aa40620176313ec3b55aef90e28a3e6936)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We don't need to trigger this as the model already updates the diffPref
config and triggers a refresh.
Release-Notes: Remove reload-diff-preference unneeded event
Bug: 335613081
Change-Id: I2413cee2169d7347c7354af6131db28411197251
(cherry picked from commit e81286c3421227ea1e2636c9cd97e8fd349130c6)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix an issue with creating child injectors using a buggy
Optional.orElse() pattern when creating the new root injector for a
plugin. This was causing two new injectors to always be created for the
ServerPluginInfoModule.
This pattern was fixed elsewhere in change Icab4115998f and was fixed in
ServerPlugin in the currently reverted change I8633083d97. This splits
out the fix from the rest of change I8633083d97 so that it can be tested
independently.
Change-Id: I2e62662f5801e02bf8c2bc2ae0ca87dbe58b20f2
Release-Notes: Fix Optional.orElse() always causing creation of two injectors for ServerPluginInfoModule
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
I'm not sure if there's a better fix to this (it's kinda ugly)
but it at least prevents the buttons from disappearing.
The login button was disappearing when the title was big enough.
The correct fix would be to redesign the header to use a nav bar
that works on mobile e.g. using a hamburger icon and having a menu
that comes out. That's a bigger change.
Release-Notes: Fix buttons on header disappearing
Change-Id: I9da124be1ecd911cb16803fe709fb23a0860cd9e
(cherry picked from commit 9debe8c497697f93abf4fb311789ac7bf4b2369c)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Release-Notes: skip
Change-Id: I20c8e19b41babd14a868758d2179e776540b0715
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Release-Notes: skip
Change-Id: I2eecaa0a5a2e919760f19fd2d02a9e211b021ec4
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Since 7.0.0, Bazel uses --remote_download_toplevel by default which
means intermediate outputs will not be downloaded during the build.
However for Eclipse build to work, the intermediate outputs should
also be downloaded.
Release-Notes: skip
Bug: Issue 324027370
Change-Id: I4c1432f84138544abd2b3fab2586ea2e7b57cb82
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This was broken with [0]. We do a similar fix to [1].
We check for if the status is 204 and if it is,
we return early which prevents trying to parse the
json, which would only throw.
[0] I34b9e0cae7a4feeb987763396a145da0c04f8deb
[1] I14bb51becb3a44d4bd32b4beadae5a50ec5e67f4
Release-Notes: Fix inline editor
Change-Id: Ieddfd2946c80b7f08bcf8c3e9dffd519ff1583df
(cherry picked from commit 5f7a43e31ae8ea22a4b6f680e3453bb9fcfea557)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This includes a fix for xml, adds javascript and uses new go/yaml
cm packages.
Release-Notes: skip
Change-Id: I5e358ed1a2ce9376b79c7b9c585faf0400a74021
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Also add new go and yaml package (migrates from legacy mode).
Have to do something similar to I59177f30738d6ceb5b59e2707970d4ee085d1223
otherwise the same problem happens.
Release-Notes: Update CodeMirror
Change-Id: Ic3990638f96872c72d5acb4bcb7a1a1f163ce085
(cherry picked from commit 633488cce1df32062ec262dd2210f7b2556aaf00)
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Similar to change 400697, process is:
- rm -rf node_modules/
- yarn upgrade-interactive
- update package.json with upgrade-interactive table
- yarn install
- yarn upgrade-interactive for check
No issues were spotted by the tests and build commands
Google-Bug-Id: b/283050673
Release-Notes: skip
Change-Id: I2d88dbcecf4b2011aa0a1d7304e3fafe88c2daf5
(cherry picked from commit 7644f3e74f24686bc2c15177ee8e67cca6a019be)
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In some complex deployments of Gerrit, the order of plugins' load during
the startup time matters.
Currently, the only way to influence it is to rename plugin JAR file in
the `plugins/` directory. Which is a bit inconvenient and possibly
error-prone.
With this change, it's now possible to use `plugins.loadPriority`
option of `gerrit.config` to influence the order of loading plugins
during the startup.
The `plugins.loadPriority` is a list configuration option, that accepts
plugin names (as discovered by Gerrit from the `MANIFEST.MF` value of
`Gerrit-PluginName` or plugin JAR file in `plugins/` directory). The
earlier the plugin is defined in `gerrit.config` the sooner (or higher
priority) it will have.
Bug: Issue 335744331
Release-Notes: Change plugin load order using `plugins.loadPriority`
Change-Id: Ie2e646ff8cdea8529f79084055ae2401d22e111c
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
To ensure proper plugin load order Gerrit used a private
implementation of `java.util.Comparator` interface. The responsibility
of that implementation is to ensure that:
* plugins with `Gerrit-ApiModule` entry in `Manifest.mf` are first,
* all other plugins are sorted in the natural order.
As this is a crucial part of plugin loading and may be extended later
(eg. by including load priority in `Manifest.mf`) it will be good to
have at least basic testing for the current logic.
This change is extracting this `Comparator` code into a standalone class
and adding test coverage for it.
Release-Notes: skip
Change-Id: I5587d40bc53ffd47049dbccda550dfa9748677ef
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Release-Notes: skip
Change-Id: I7c92cdfd6b2229522990ea4c59cf206f2920f6d5
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
By using `flex: 0 0 auto` it makes sure that the text doesn't get cut
off. It's a little less ugly then it wrapping below.
This is a better fix than [0]. Correct fix is still a mobile optimised
header but that is a seperate change.
[0] I9da124be1ecd911cb16803fe709fb23a0860cd9e
Release-Notes: gr-main-header: fix header to wrap the better
Change-Id: Id7ebb8def48f5f58e31b3e2e297128fbbc8d0443
(cherry picked from commit 14b349c60cb3a90307670c1069e3e82136b785e4)
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Java 11 is EOL since September 2023 (see [1]) and Gerrit has been
supporting Java 17 for many releases.
Drop the support for building Gerrit using Java 11 and make
Java 17 the default minimal supported version.
Also set the IntelliJ language level to 17.
[1] https://www.oracle.com/uk/java/technologies/java-se-support-roadmap.html
Release-Notes: Drop support for Java 11
Change-Id: Id8bf939477d1bca74ee160b485d587d32a3f0eb8
|