Fix various typos, spelling mistakes, and inconsistencies
Change-Id: If8a00ab24285a32840dc9c92697366037554cbca
This commit is contained in:
@@ -50,7 +50,7 @@ Install a plugin from an absolute file path on the server's host:
|
|||||||
$(pwd)/my-plugin.jar
|
$(pwd)/my-plugin.jar
|
||||||
----
|
----
|
||||||
|
|
||||||
Install a WebUi plugin from an absolute file path on the server's host:
|
Install a WebUI plugin from an absolute file path on the server's host:
|
||||||
|
|
||||||
----
|
----
|
||||||
ssh -p 29418 localhost gerrit plugin install -n name.js \
|
ssh -p 29418 localhost gerrit plugin install -n name.js \
|
||||||
|
@@ -530,7 +530,7 @@ future lookup. This local disk cache is used to retain potentially
|
|||||||
expensive to compute information across restarts. If the location
|
expensive to compute information across restarts. If the location
|
||||||
does not exist, Gerrit will try to create it.
|
does not exist, Gerrit will try to create it.
|
||||||
+
|
+
|
||||||
Tehnically, cached entities are persisted as a set of H2 databases
|
Technically, cached entities are persisted as a set of H2 databases
|
||||||
inside this directory.
|
inside this directory.
|
||||||
+
|
+
|
||||||
If not absolute, the path is resolved relative to `$site_path`.
|
If not absolute, the path is resolved relative to `$site_path`.
|
||||||
@@ -1030,7 +1030,7 @@ Defaults to "Submit whole topic"
|
|||||||
|
|
||||||
[[change.submitTopicTooltip]]change.submitTopicTooltip::
|
[[change.submitTopicTooltip]]change.submitTopicTooltip::
|
||||||
+
|
+
|
||||||
If `change.submitWholeTopic` is configuerd to true and a change has a
|
If `change.submitWholeTopic` is configured to true and a change has a
|
||||||
topic, this configuration determines the tooltip for the submit button
|
topic, this configuration determines the tooltip for the submit button
|
||||||
instead of `change.submitTooltip`. The variable `${topicSize}` is available
|
instead of `change.submitTooltip`. The variable `${topicSize}` is available
|
||||||
for the number of changes in the same topic to be submitted. The number of
|
for the number of changes in the same topic to be submitted. The number of
|
||||||
|
@@ -64,7 +64,7 @@ and `ChangeFooter.vm`.
|
|||||||
|
|
||||||
=== DeleteReviewer.vm
|
=== DeleteReviewer.vm
|
||||||
|
|
||||||
The `DeleteReiewer.vm` template will determine the contents of the email related
|
The `DeleteReviewer.vm` template will determine the contents of the email related
|
||||||
to a user removing a reviewer (with a vote) from a change. It is a
|
to a user removing a reviewer (with a vote) from a change. It is a
|
||||||
`ChangeEmail`: see `ChangeSubject.vm` and `ChangeFooter.vm`.
|
`ChangeEmail`: see `ChangeSubject.vm` and `ChangeFooter.vm`.
|
||||||
|
|
||||||
|
@@ -207,7 +207,7 @@ This plugin allows to display a static info message on the change screen.
|
|||||||
link:https://gerrit-review.googlesource.com/#/admin/projects/plugins/changemessage[
|
link:https://gerrit-review.googlesource.com/#/admin/projects/plugins/changemessage[
|
||||||
Project] |
|
Project] |
|
||||||
link:https://gerrit.googlesource.com/plugins/changemessage/+doc/master/src/main/resources/Documentation/about.md[
|
link:https://gerrit.googlesource.com/plugins/changemessage/+doc/master/src/main/resources/Documentation/about.md[
|
||||||
Plugin Documenatation] |
|
Plugin Documentation] |
|
||||||
link:https://gerrit.googlesource.com/plugins/changemessage/+doc/master/src/main/resources/Documentation/config.md[
|
link:https://gerrit.googlesource.com/plugins/changemessage/+doc/master/src/main/resources/Documentation/config.md[
|
||||||
Configuration]
|
Configuration]
|
||||||
|
|
||||||
@@ -657,7 +657,7 @@ Configuration]
|
|||||||
=== websession-flatfile
|
=== websession-flatfile
|
||||||
|
|
||||||
This plugin replaces the built-in Gerrit H2 based websession cache with
|
This plugin replaces the built-in Gerrit H2 based websession cache with
|
||||||
a flatfile based implementation. This implemantation is shareable
|
a flatfile based implementation. This implementation is shareable
|
||||||
amongst multiple Gerrit servers, making it useful for multi-master
|
amongst multiple Gerrit servers, making it useful for multi-master
|
||||||
Gerrit installations.
|
Gerrit installations.
|
||||||
|
|
||||||
|
@@ -39,7 +39,7 @@ This option is more complicated than the H2 option but is recommended
|
|||||||
for larger installations. It's the database backend with the largest userbase
|
for larger installations. It's the database backend with the largest userbase
|
||||||
in the Gerrit community.
|
in the Gerrit community.
|
||||||
|
|
||||||
Create a user for the web application within Postgres, assign it a
|
Create a user for the web application within PostgreSQL, assign it a
|
||||||
password, create a database to store the metadata, and grant the user
|
password, create a database to store the metadata, and grant the user
|
||||||
full rights on the newly created database:
|
full rights on the newly created database:
|
||||||
|
|
||||||
|
@@ -635,7 +635,7 @@ The following tests should be executed, when Buck version is upgraded:
|
|||||||
[known bug](https://github.com/facebook/buck/issues/341) related to
|
[known bug](https://github.com/facebook/buck/issues/341) related to
|
||||||
symbolic links. The symbolic links are used very often with external
|
symbolic links. The symbolic links are used very often with external
|
||||||
plugins, that are linked per symbolic link to the plugins directory.
|
plugins, that are linked per symbolic link to the plugins directory.
|
||||||
With this use case Buck is failing to rebuild the plugin artefact
|
With this use case Buck is failing to rebuild the plugin artifact
|
||||||
after it was built. All attempts to convince Buck to rebuild will fail.
|
after it was built. All attempts to convince Buck to rebuild will fail.
|
||||||
The only known way to recover is to weep out `buck-out` directory. The
|
The only known way to recover is to weep out `buck-out` directory. The
|
||||||
better workaround is to avoid using Watchman in this specific use case.
|
better workaround is to avoid using Watchman in this specific use case.
|
||||||
|
@@ -183,7 +183,7 @@ When to use `final` modifier and when not (in new code):
|
|||||||
Always:
|
Always:
|
||||||
|
|
||||||
* final fields: marking fields as final forces them to be
|
* final fields: marking fields as final forces them to be
|
||||||
initialised in the constructor or at declaration
|
initialized in the constructor or at declaration
|
||||||
* final static fields: clearly communicates the intent
|
* final static fields: clearly communicates the intent
|
||||||
* to use final variables in inner anonymous classes
|
* to use final variables in inner anonymous classes
|
||||||
|
|
||||||
|
@@ -457,7 +457,7 @@ class MyPlugin {
|
|||||||
Plugins which define new Events should register them via the
|
Plugins which define new Events should register them via the
|
||||||
`com.google.gerrit.server.events.EventTypes.registerClass()`
|
`com.google.gerrit.server.events.EventTypes.registerClass()`
|
||||||
method. This will make the EventType known to the system.
|
method. This will make the EventType known to the system.
|
||||||
Deserialzing events with the
|
Deserializing events with the
|
||||||
`com.google.gerrit.server.events.EventDeserializer` class requires
|
`com.google.gerrit.server.events.EventDeserializer` class requires
|
||||||
that the event be registered in EventTypes.
|
that the event be registered in EventTypes.
|
||||||
|
|
||||||
@@ -657,7 +657,7 @@ The search operator itself is implemented by ensuring that the
|
|||||||
`create()` method of the class implementing the
|
`create()` method of the class implementing the
|
||||||
`ChangeQueryBuilder.ChangeOperatorFactory` interface returns a
|
`ChangeQueryBuilder.ChangeOperatorFactory` interface returns a
|
||||||
`Predicate<ChangeData>`. Here is a sample operator factory
|
`Predicate<ChangeData>`. Here is a sample operator factory
|
||||||
defintion which creates a `MyPredicate`:
|
definition which creates a `MyPredicate`:
|
||||||
|
|
||||||
[source,java]
|
[source,java]
|
||||||
----
|
----
|
||||||
@@ -1394,7 +1394,7 @@ capability check is done during the `UiAction` gathering, so the plugin author
|
|||||||
doesn't have to set `UiAction.Description.setVisible()` explicitly in this
|
doesn't have to set `UiAction.Description.setVisible()` explicitly in this
|
||||||
case.
|
case.
|
||||||
|
|
||||||
The following prerequisities must be met, to satisfy the capability check:
|
The following prerequisites must be met, to satisfy the capability check:
|
||||||
|
|
||||||
* user is authenticated
|
* user is authenticated
|
||||||
* user is a member of a group which has the `Administrate Server` capability, or
|
* user is a member of a group which has the `Administrate Server` capability, or
|
||||||
|
@@ -29,8 +29,8 @@ returned by the link:rest-api-changes.html[changes REST API].
|
|||||||
There are link:rest-api-accounts.html#default-star-endpoints[
|
There are link:rest-api-accounts.html#default-star-endpoints[
|
||||||
additional REST endpoints] for the link:#default-star[default star].
|
additional REST endpoints] for the link:#default-star[default star].
|
||||||
|
|
||||||
Only the link:#default-star[default star] is shown in the WebUi and
|
Only the link:#default-star[default star] is shown in the WebUI and
|
||||||
can be updated from there. Other stars do not show up in the WebUi.
|
can be updated from there. Other stars do not show up in the WebUI.
|
||||||
|
|
||||||
[[default-star]]
|
[[default-star]]
|
||||||
== Default Star
|
== Default Star
|
||||||
|
@@ -652,7 +652,7 @@ extension points, e.g. plugins can
|
|||||||
How to develop a Gerrit plugin is described in the link:dev-plugins.html[
|
How to develop a Gerrit plugin is described in the link:dev-plugins.html[
|
||||||
Plugin Development] section.
|
Plugin Development] section.
|
||||||
|
|
||||||
[[prject-lifecycle]]
|
[[project-lifecycle]]
|
||||||
== Project Lifecycle
|
== Project Lifecycle
|
||||||
|
|
||||||
[[project-creation]]
|
[[project-creation]]
|
||||||
|
@@ -591,7 +591,7 @@ lists and dashboards are visualized.
|
|||||||
** `None`:
|
** `None`:
|
||||||
+
|
+
|
||||||
For each review label only the voting value is shown. Approvals are
|
For each review label only the voting value is shown. Approvals are
|
||||||
rendered as a green check mark icon, vetos as a red X icon.
|
rendered as a green check mark icon, vetoes as a red X icon.
|
||||||
+
|
+
|
||||||
** `Show Name`:
|
** `Show Name`:
|
||||||
+
|
+
|
||||||
|
@@ -5285,8 +5285,8 @@ whose behalf the action should be done. To use this option the caller must
|
|||||||
have been granted both `Submit` and `Submit (On Behalf Of)` permissions.
|
have been granted both `Submit` and `Submit (On Behalf Of)` permissions.
|
||||||
The user named by `on_behalf_of` does not need to be granted the `Submit`
|
The user named by `on_behalf_of` does not need to be granted the `Submit`
|
||||||
permission. This feature is aimed for CI solutions: the CI account can be
|
permission. This feature is aimed for CI solutions: the CI account can be
|
||||||
granted both permssions, so individual users don't need `Submit` permission
|
granted both permissions, so individual users don't need `Submit` permission
|
||||||
themselves. Still the changes can be submited on behalf of real users and
|
themselves. Still the changes can be submitted on behalf of real users and
|
||||||
not with the identity of the CI account.
|
not with the identity of the CI account.
|
||||||
|==========================
|
|==========================
|
||||||
|
|
||||||
|
@@ -1572,7 +1572,7 @@ Information about the configuration from the
|
|||||||
link:config-gerrit.html#gerrit[gerrit] section as link:#gerrit-info[
|
link:config-gerrit.html#gerrit[gerrit] section as link:#gerrit-info[
|
||||||
GerritInfo] entity.
|
GerritInfo] entity.
|
||||||
|`note_db_enabled` |not set if `false`|
|
|`note_db_enabled` |not set if `false`|
|
||||||
Whether the NoteDB storage backend is fully enabled.
|
Whether the NoteDb storage backend is fully enabled.
|
||||||
|`plugin ` ||
|
|`plugin ` ||
|
||||||
Information about Gerrit extensions by plugins as
|
Information about Gerrit extensions by plugins as
|
||||||
link:#plugin-config-info[PluginConfigInfo] entity.
|
link:#plugin-config-info[PluginConfigInfo] entity.
|
||||||
|
@@ -173,7 +173,7 @@ in context of change edit, this is not the best workflow to open one file in edi
|
|||||||
change it, save it, close edit screen and select next file from the file table to edit.
|
change it, save it, close edit screen and select next file from the file table to edit.
|
||||||
"<-" | "->" icons in header of edit screen could be used to navigate to the next file to
|
"<-" | "->" icons in header of edit screen could be used to navigate to the next file to
|
||||||
change from the file table. This would behave like the navigation icons in side by side
|
change from the file table. This would behave like the navigation icons in side by side
|
||||||
with thefollowing logic on click:
|
with the following logic on click:
|
||||||
|
|
||||||
** "save-when-file-was-changed" or
|
** "save-when-file-was-changed" or
|
||||||
** "close-when-no-changes"
|
** "close-when-no-changes"
|
||||||
|
Reference in New Issue
Block a user