Merge branch 'stable-2.9'
* stable-2.9: More detailed error message when failing to upload new change Keep old timestamps during data migration Describe change view preference in review UI documentation Add documentation with screenshots for the new review UIs Doc: Consistently refer to "Web UI" rather than "WebUI"
This commit is contained in:
@@ -53,7 +53,7 @@ as reviewer.
|
||||
+
|
||||
Default is 10.
|
||||
+
|
||||
This setting only applies for adding reviewers in the Gerrit WebUI,
|
||||
This setting only applies for adding reviewers in the Gerrit Web UI,
|
||||
but is ignored when adding reviewers with the
|
||||
link:cmd-set-reviewers.html[set-reviewers] command.
|
||||
|
||||
@@ -776,7 +776,7 @@ Number of changed lines from which on a change is considered as a large
|
||||
change. The number of changed lines of a change is the sum of the lines
|
||||
that were inserted and deleted in the change.
|
||||
+
|
||||
The specified value is used to visualize the change sizes in the web UI
|
||||
The specified value is used to visualize the change sizes in the Web UI
|
||||
in change tables and user dashboards.
|
||||
+
|
||||
By default 500.
|
||||
@@ -2254,8 +2254,8 @@ Default is `cn`.
|
||||
[[ldap.localUsernameToLowerCase]]ldap.localUsernameToLowerCase::
|
||||
+
|
||||
Converts the local username, that is used to login into the Gerrit
|
||||
WebUI, to lower case before doing the LDAP authentication. By setting
|
||||
this parameter to true, a case insensitive login to the Gerrit WebUI
|
||||
Web UI, to lower case before doing the LDAP authentication. By setting
|
||||
this parameter to true, a case insensitive login to the Gerrit Web UI
|
||||
can be achieved.
|
||||
+
|
||||
If set, it must be ensured that the local usernames for all existing
|
||||
@@ -3161,7 +3161,7 @@ By default, not set, generating the value at startup.
|
||||
|
||||
[[user.anonymousCoward]]user.anonymousCoward::
|
||||
+
|
||||
Username that is displayed in the Gerrit WebUI and in e-mail
|
||||
Username that is displayed in the Gerrit Web UI and in e-mail
|
||||
notifications if the full name of the user is not set.
|
||||
+
|
||||
By default "Anonymous Coward" is used.
|
||||
|
@@ -721,7 +721,7 @@ and '-', and must start with an alphabetic character.
|
||||
|
||||
The example below shows how the parameters `plugin.helloworld.enabled`
|
||||
and `plugin.helloworld.language` are bound to be editable from the
|
||||
WebUI. For the parameter `plugin.helloworld.enabled` "Enable Greeting"
|
||||
Web UI. For the parameter `plugin.helloworld.enabled` "Enable Greeting"
|
||||
is provided as display name and the default value is set to `true`.
|
||||
For the parameter `plugin.helloworld.language` "Preferred Language"
|
||||
is provided as display name and "en" is set as default value.
|
||||
@@ -1844,7 +1844,7 @@ displayed as part of the index page, if present in the manifest:
|
||||
Compiled plugins and extensions can be deployed to a running Gerrit
|
||||
server using the link:cmd-plugin-install.html[plugin install] command.
|
||||
|
||||
WebUI plugins distributed as single `.js` file can be deployed
|
||||
Web UI plugins distributed as single `.js` file can be deployed
|
||||
without the overhead of JAR packaging, for more information refer to
|
||||
link:cmd-plugin-install.html[plugin install] command.
|
||||
|
||||
|
@@ -164,7 +164,7 @@ configuration needed for deployment]
|
||||
* create the stable branch `stable-2.5` in the `gerrit` project
|
||||
+
|
||||
Via the link:https://gerrit-review.googlesource.com/#/admin/projects/gerrit,branches[
|
||||
Gerrit WebUI] or by push.
|
||||
Gerrit Web UI] or by push.
|
||||
|
||||
* Push the commits done on `stable-2.5` to `refs/for/stable-2.5` and
|
||||
get them merged
|
||||
|
@@ -13,14 +13,14 @@ To fix this problem verify
|
||||
|
||||
* that the branch name in the push specification is typed correctly
|
||||
(case sensitive) and
|
||||
* that the branch really exists for this project (in the Gerrit WebUI
|
||||
* that the branch really exists for this project (in the Gerrit Web UI
|
||||
go to 'Projects' > 'List' and browse your project, then click on
|
||||
'Branches' to see all existing branches).
|
||||
|
||||
If it was your intention to create a new branch you can either
|
||||
|
||||
* bypass code review on push as explained link:user-upload.html#bypass_review[here] or
|
||||
* create the new branch in the Gerrit WebUI before pushing (go to
|
||||
* create the new branch in the Gerrit Web UI before pushing (go to
|
||||
'Projects' > 'List' and browse your project, in the 'Branches'
|
||||
tab you can then create a new branch).
|
||||
|
||||
|
@@ -20,8 +20,8 @@ change. Pushing again should now create a new change in Gerrit.
|
||||
|
||||
If the change for which you wanted to upload a new patch set was
|
||||
abandoned and your new changes overcome the reasons for abandoning
|
||||
this change you may want to restore the change in the Gerrit WebUI
|
||||
(browse the abandoned change in the Gerrit WebUI and click on the
|
||||
this change you may want to restore the change in the Gerrit Web UI
|
||||
(browse the abandoned change in the Gerrit Web UI and click on the
|
||||
'Restore Change' button). Afterwards the push should succeed and a
|
||||
new patch set for this change will be created.
|
||||
|
||||
|
@@ -7,7 +7,7 @@ You can see the commit messages for existing commits in the history
|
||||
by doing a link:http://www.kernel.org/pub/software/scm/git/docs/git-log.html[git log].
|
||||
|
||||
If it was the intention to rework a change and to push a new patch
|
||||
set, find the change in the Gerrit WebUI, copy its Change-Id line and
|
||||
set, find the change in the Gerrit Web UI, copy its Change-Id line and
|
||||
use it to correct the invalid Change-Id line in the commit message of
|
||||
the commit for which the push is failing. How to do this is explained
|
||||
link:error-push-fails-due-to-commit-message.html#commit_hook[here].
|
||||
|
@@ -33,7 +33,7 @@ missing and the Change-Ids will be automatically created and inserted
|
||||
into the commit messages. This is explained link:error-push-fails-due-to-commit-message.html#commit_hook[here].
|
||||
|
||||
If you want to update an existing change in Gerrit by uploading a new
|
||||
patch set you should copy its Change-Id from the Gerrit WebUI and
|
||||
patch set you should copy its Change-Id from the Gerrit Web UI and
|
||||
insert it into the commit message. How to update the commit message
|
||||
is explained link:error-push-fails-due-to-commit-message.html[here].
|
||||
|
||||
|
@@ -7,7 +7,7 @@ You can see the commit messages for existing commits in the history
|
||||
by doing a link:http://www.kernel.org/pub/software/scm/git/docs/git-log.html[git log].
|
||||
|
||||
If it was the intention to rework a change and to push a new patch
|
||||
set, find the change in the Gerrit WebUI, copy its Change-Id line and
|
||||
set, find the change in the Gerrit Web UI, copy its Change-Id line and
|
||||
use the copied Change-Id line instead of the existing Change-Id lines
|
||||
in the commit message of the commit for which the push is failing.
|
||||
How to do this is explained link:error-push-fails-due-to-commit-message.html#commit_hook[here].
|
||||
|
@@ -19,7 +19,7 @@ verify that:
|
||||
If you are sure you are pushing the correct commit and you are still
|
||||
getting the "no new changes" error unexpectedly you can take the
|
||||
commit ID and search for the corresponding change in Gerrit. To do
|
||||
this simply paste the commit ID in the Gerrit WebUI into the search
|
||||
this simply paste the commit ID in the Gerrit Web UI into the search
|
||||
field. Details about how to search in Gerrit are explained link:user-search.html[here].
|
||||
|
||||
Please note that each commit can really be pushed only once. This
|
||||
@@ -35,7 +35,7 @@ means:
|
||||
. if a commit was pushed directly to a branch (without going through
|
||||
code review) you cannot push this commit once again for code
|
||||
review (please note that in this case searching by the commit ID
|
||||
in the Gerrit WebUI will not find any change)
|
||||
in the Gerrit Web UI will not find any change)
|
||||
|
||||
If you need to re-push a commit you may rewrite this commit by
|
||||
link:http://www.kernel.org/pub/software/scm/git/docs/git-commit.html[amending] it or doing an interactive link:http://www.kernel.org/pub/software/scm/git/docs/git-rebase.html[git rebase]. By rewriting the
|
||||
|
@@ -11,9 +11,9 @@ If you are facing this problem, do the following:
|
||||
|
||||
. Verify that you are using the correct username for the SSH command
|
||||
and that it is typed correctly (case sensitive). You can look up
|
||||
your username in the Gerrit WebUI under 'Settings' -> 'Profile'.
|
||||
your username in the Gerrit Web UI under 'Settings' -> 'Profile'.
|
||||
. Verify that you have uploaded your public SSH key for your Gerrit
|
||||
account. To do this go in the Gerrit WebUI to 'Settings' ->
|
||||
account. To do this go in the Gerrit Web UI to 'Settings' ->
|
||||
'SSH Public Keys' and check that your public SSH key is there. If
|
||||
your public SSH key is not there you have to upload it.
|
||||
. Verify that you are using the correct private SSH key. To find out
|
||||
|
@@ -13,7 +13,7 @@ If you are facing this problem, do the following:
|
||||
. Verify that the project name specified as git repository in the
|
||||
push command is typed correctly (case sensitive).
|
||||
. Verify that you are pushing to the correct Gerrit server.
|
||||
. Go in the Gerrit WebUI to 'Projects' > 'List' and check that the
|
||||
. Go in the Gerrit Web UI to 'Projects' > 'List' and check that the
|
||||
project is listed. If the project is not listed the project either
|
||||
does not exist or you don't have
|
||||
link:access-control.html#category_read['Read'] access for it. This
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 231 KiB |
Binary file not shown.
After Width: | Height: | Size: 222 KiB |
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
BIN
Documentation/images/user-review-ui-change-screen-permalink.png
Normal file
BIN
Documentation/images/user-review-ui-change-screen-permalink.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 220 KiB |
BIN
Documentation/images/user-review-ui-change-screen.png
Normal file
BIN
Documentation/images/user-review-ui-change-screen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 212 KiB |
BIN
Documentation/images/user-review-ui-change-view-preference.png
Normal file
BIN
Documentation/images/user-review-ui-change-view-preference.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
@@ -8,6 +8,7 @@
|
||||
.. link:http://source.android.com/submit-patches/workflow[Default Android Workflow] (external)
|
||||
. Web
|
||||
.. Registering a new Gerrit account
|
||||
.. link:user-review-ui.html[Reviewing Changes]
|
||||
.. link:user-search.html[Searching Changes]
|
||||
.. link:user-notify.html[Subscribing to Email Notifications]
|
||||
. SSH
|
||||
|
@@ -42,7 +42,7 @@ Access Control] chapter explains all the details.
|
||||
|
||||
To see the access rights of your project
|
||||
|
||||
- go to the Gerrit WebUI
|
||||
- go to the Gerrit Web UI
|
||||
- click on the `Projects` > `List` menu entry
|
||||
- find your project in the project list and click on it
|
||||
- click on the `Access` menu entry
|
||||
@@ -65,7 +65,7 @@ access rights were modified.
|
||||
|
||||
If a Git browser such as GitWeb is configured for the Gerrit server you
|
||||
can find a link to the history of the `project.config` file in the
|
||||
WebUI. Otherwise you may inspect the history locally. If you have
|
||||
Web UI. Otherwise you may inspect the history locally. If you have
|
||||
cloned the repository you can do this by executing the following
|
||||
commands:
|
||||
|
||||
@@ -92,7 +92,7 @@ Projects in Gerrit are organized hierarchically as a tree with the
|
||||
project can have only a single parent project, multi-inheritance is
|
||||
not supported.
|
||||
|
||||
Looking at the access rights of your project in the Gerrit WebUI, you
|
||||
Looking at the access rights of your project in the Gerrit Web UI, you
|
||||
only see the access rights which are defined on that project. To see
|
||||
the inherited access rights you must follow the link to the parent
|
||||
project under `Rights Inherit From`.
|
||||
@@ -111,7 +111,7 @@ maintain the access rights on that common parent. Changing the parent
|
||||
of a project is only allowed for Gerrit administrators. This means you
|
||||
need to contact the administrator of your Gerrit server if you want to
|
||||
reparent your project. One way to do this is to change the parent
|
||||
project in the WebUI, save the modifications for review and get the
|
||||
project in the Web UI, save the modifications for review and get the
|
||||
change approved and merged by a Gerrit administrator.
|
||||
|
||||
[[refs]]
|
||||
@@ -141,7 +141,7 @@ Access rights are granted to groups. It is useful to know that Gerrit
|
||||
maintains its own groups internally but also supports different external
|
||||
group backends.
|
||||
|
||||
The Gerrit internal groups can be seen in the Gerrit WebUI by clicking
|
||||
The Gerrit internal groups can be seen in the Gerrit Web UI by clicking
|
||||
on the `Groups` > `List` menu entry. By clicking on a group you can
|
||||
edit the group members (`Members` tab) and the group options
|
||||
(`General` tab).
|
||||
@@ -229,7 +229,7 @@ link:project-setup.html#project_options[Project Options] section.
|
||||
|
||||
To see the options of your project
|
||||
|
||||
- go to the Gerrit WebUI
|
||||
- go to the Gerrit Web UI
|
||||
- click on the `Projects` > `List` menu entry
|
||||
- find your project in the project list and click on it
|
||||
- click on the `General` menu entry
|
||||
@@ -381,7 +381,7 @@ a Gerrit administrator to create the service user.
|
||||
|
||||
If the link:https://gerrit-review.googlesource.com/#/admin/projects/plugins/serviceuser[
|
||||
serviceuser] plugin is installed you can also create new service users
|
||||
in the Gerrit WebUI under `People` > `Create Service User`. For this
|
||||
in the Gerrit Web UI under `People` > `Create Service User`. For this
|
||||
the `Create Service User` global capability must be assigned.
|
||||
|
||||
The service user must have link:access-control.html#category_read[read]
|
||||
@@ -399,8 +399,8 @@ capability assigned.
|
||||
== Branch Administration
|
||||
|
||||
As project owner you can administrate the branches of your project in
|
||||
the Gerrit WebUI under `Projects` > `List` > <your project> >
|
||||
`Branches`. In the WebUI both link:project-setup.html#branch-creation[
|
||||
the Gerrit Web UI under `Projects` > `List` > <your project> >
|
||||
`Branches`. In the Web UI both link:project-setup.html#branch-creation[
|
||||
branch creation] and link:project-setup.html#branch-deletion[branch
|
||||
deletion] are allowed for project owners without requiring any
|
||||
additional access rights.
|
||||
@@ -414,7 +414,7 @@ this default branch and checks it out.
|
||||
== Email Notifications
|
||||
|
||||
With Gerrit individual users control their own email subscriptions. By
|
||||
editing the link:user-notify.html#user[watched projects] in the WebUI
|
||||
editing the link:user-notify.html#user[watched projects] in the Web UI
|
||||
under `Settings` > `Watched Projects` users can decide which events to
|
||||
be informed about by email. The change notifications can be filtered by
|
||||
link:user-search.html[change search expressions].
|
||||
@@ -441,7 +441,7 @@ configure such custom dashboards on
|
||||
link:user-dashboards.html#project-dashboards[project level]. This way
|
||||
you can define a view of the changes that are relevant for your
|
||||
project and share this dashboard with all users. The project dashboards
|
||||
can be seen in the WebUI under `Projects` > `List` > <your project> >
|
||||
can be seen in the Web UI under `Projects` > `List` > <your project> >
|
||||
`Dashboards`.
|
||||
|
||||
[[issue-tracker-integration]]
|
||||
@@ -474,7 +474,7 @@ If installed, these plugins can e.g. be used to automatically add links
|
||||
to Gerrit changes to the issues in the issue tracker system or to
|
||||
automatically close an issue if the corresponding change is merged.
|
||||
If installed, project owners may enable/disable the issue tracker
|
||||
integration from the Gerrit WebUI under `Projects` > `Lists` >
|
||||
integration from the Gerrit Web UI under `Projects` > `Lists` >
|
||||
<your project> > `General`.
|
||||
|
||||
[[comment-links]]
|
||||
@@ -507,19 +507,19 @@ from the `Bug` footer to Jira the following configuration can be used:
|
||||
Normally it is not needed to explicitly assign reviewers to every
|
||||
change since the project members either link:user-notify.html#user[
|
||||
watch the project] and get notified by email or regularly check the
|
||||
list of open changes in the Gerrit WebUI. The project members then
|
||||
list of open changes in the Gerrit Web UI. The project members then
|
||||
pick the changes themselves that are interesting to them for review.
|
||||
|
||||
If authors of changes want to have a review by a particular person
|
||||
(e.g. someone who is known to be expert in the touched code area, or a
|
||||
stakeholder for the implemented feature), they can request the review
|
||||
by adding this person in the Gerrit WebUI as a reviewer on the change.
|
||||
by adding this person in the Gerrit Web UI as a reviewer on the change.
|
||||
Gerrit will then notify this person by email about the review request.
|
||||
|
||||
With the link:https://gerrit-review.googlesource.com/#/admin/projects/plugins/reviewers[
|
||||
reviewers] plugin it is possible to configure default reviewers who
|
||||
will be automatically added to each change. The default reviewers can
|
||||
be configured in the Gerrit WebUI under `Projects` > `List` >
|
||||
be configured in the Gerrit Web UI under `Projects` > `List` >
|
||||
<your project> > `General` in the `reviewers Plugin` section.
|
||||
|
||||
The link:https://gerrit-review.googlesource.com/#/admin/projects/plugins/reviewers-by-blame[
|
||||
@@ -530,7 +530,7 @@ will add those users as reviewer that authored most of the lines
|
||||
touched by the change, since these users should be familiar with the
|
||||
code and can most likely review the change. How many reviewers the
|
||||
plugin will add to a change at most can be configured in the Gerrit
|
||||
WebUI under `Projects` > `List` > <your project> > `General` in the
|
||||
Web UI under `Projects` > `List` > <your project> > `General` in the
|
||||
`reviewers-by-blame Plugin` section.
|
||||
|
||||
[[download-commands]]
|
||||
@@ -634,7 +634,7 @@ Plugin Development] section.
|
||||
[[project-creation]]
|
||||
=== Project Creation
|
||||
|
||||
New projects can be created in the Gerrit WebUI under `Projects` >
|
||||
New projects can be created in the Gerrit Web UI under `Projects` >
|
||||
`Create Project`. The `Create Project` menu entry is only available if
|
||||
you have the link:access-control.html#capability_createProject[
|
||||
Create Project] global capability assigned.
|
||||
@@ -711,7 +711,7 @@ Gerrit core does not support the deletion of projects.
|
||||
|
||||
If the link:https://gerrit-review.googlesource.com/#/admin/projects/plugins/delete-project[
|
||||
delete-project] plugin is installed, projects can be deleted from the
|
||||
Gerrit WebUI under `Projects` > `List` > <project> > `General` by
|
||||
Gerrit Web UI under `Projects` > `List` > <project> > `General` by
|
||||
clicking on the `Delete` command under `Project Commands`. The `Delete`
|
||||
command is only available if you have the `Delete Projects` global
|
||||
capability assigned, or if you own the project and you have the
|
||||
|
@@ -12,12 +12,12 @@ account to lower case
|
||||
== DESCRIPTION
|
||||
Converts the local username for every account to lower case. The
|
||||
local username is the username that is used to login into the Gerrit
|
||||
WebUI.
|
||||
Web UI.
|
||||
|
||||
This task is only intended to be run if the configuration parameter
|
||||
link:config-gerrit.html#ldap.localUsernameToLowerCase[ldap.localUsernameToLowerCase]
|
||||
was set to true to achieve case insensitive LDAP login to the Gerrit
|
||||
WebUI.
|
||||
Web UI.
|
||||
|
||||
Please be aware that the conversion of the local usernames to lower
|
||||
case can't be undone.
|
||||
|
@@ -217,7 +217,7 @@ right. In addition, project owners and Gerrit administrators can create
|
||||
new branches from the Web UI or via REST even without having the
|
||||
`Create Reference` access right.
|
||||
|
||||
When using the WebUI, the REST endpoint or the SSH command it is only
|
||||
When using the Web UI, the REST endpoint or the SSH command it is only
|
||||
possible to create branches on commits that already exist in the
|
||||
repository.
|
||||
|
||||
|
@@ -1351,7 +1351,7 @@ The path of the file in which the dashboard is defined.
|
||||
Subquery that applies to all sections in the dashboard. +
|
||||
Tokens such as `${project}` are not resolved.
|
||||
|`url` ||
|
||||
The URL under which the dashboard can be opened in the Gerrit WebUI. +
|
||||
The URL under which the dashboard can be opened in the Gerrit Web UI. +
|
||||
The URL is relative to the canonical web URL. +
|
||||
Tokens in the queries such as `${project}` are resolved.
|
||||
|`default` |not set if `false`|
|
||||
|
128
Documentation/user-review-ui.txt
Normal file
128
Documentation/user-review-ui.txt
Normal file
@@ -0,0 +1,128 @@
|
||||
= Review UI
|
||||
|
||||
Reviewing changes is an important task and the Gerrit Web UI provides
|
||||
many functionalities to make the review process comfortable and
|
||||
efficient. This is a guide through the review UI that explains the
|
||||
different functions and UI elements.
|
||||
|
||||
[[change-screen]]
|
||||
== Change Screen
|
||||
|
||||
The change screen shows the details of a single change and provides
|
||||
various actions on it.
|
||||
|
||||
image::images/user-review-ui-change-screen.png[width=800, link="images/user-review-ui-change-screen.png"]
|
||||
|
||||
[[commit-message]]
|
||||
=== Commit Message Block
|
||||
|
||||
The focus of the change screen is on the commit message since this is
|
||||
the most important information about a change. The numeric change ID
|
||||
and the change status are displayed right above the commit message.
|
||||
|
||||
image::images/user-review-ui-change-screen-commit-message.png[width=800, link="images/user-review-ui-change-screen-commit-message.png"]
|
||||
|
||||
The commit message can be edited directly in the Web UI by clicking on
|
||||
the `Edit Message` button in the change header. This opens a drop-down
|
||||
editor box in which the commit message can be edited. Saving
|
||||
modifications of the commit message automatically creates a new patch
|
||||
set for the change. The commit message may only be edited on the
|
||||
current patch set.
|
||||
|
||||
image::images/user-review-ui-change-screen-edit-commit-message.png[width=800, link="images/user-review-ui-change-screen-edit-commit-message.png"]
|
||||
|
||||
The numeric change ID is a link to the change and clicking on it
|
||||
refreshes the change screen. By copying the link location you can get
|
||||
the permalink of the change.
|
||||
|
||||
image::images/user-review-ui-change-screen-permalink.png[width=800, link="images/user-review-ui-change-screen-permalink.png"]
|
||||
|
||||
The change status shows the state of the change:
|
||||
|
||||
- `Needs <label>`:
|
||||
+
|
||||
The change is in review and an approval on the shown label is still
|
||||
required to make the change submittable.
|
||||
|
||||
- `Not <label>`:
|
||||
+
|
||||
The change is in review and a veto vote on the shown label is
|
||||
preventing the submit.
|
||||
|
||||
- `Not Current`:
|
||||
+
|
||||
The currently viewed patch set is outdated.
|
||||
+
|
||||
Please note that some operations, like voting, are not available on
|
||||
outdated patch sets, but only on the current patch set.
|
||||
|
||||
- `Ready to Submit`:
|
||||
+
|
||||
The change has all necessary approvals and may be submitted.
|
||||
|
||||
- `Submitted, Merge Pending`:
|
||||
+
|
||||
The change was submitted and was added to the merge queue.
|
||||
+
|
||||
The change stays in the merge queue if it depends on a change that is
|
||||
still in review. In this case it will get automatically merged when all
|
||||
predecessor changes have been merged.
|
||||
+
|
||||
This status can also mean that the change depends on an abandoned
|
||||
change or on an outdated patch set of another change. In this case you
|
||||
may want to rebase the change.
|
||||
|
||||
- `Merged`:
|
||||
+
|
||||
The change was successfully merged into the destination branch.
|
||||
|
||||
- `Abandoned`:
|
||||
+
|
||||
The change was abandoned.
|
||||
|
||||
- `Draft`:
|
||||
+
|
||||
The change is a draft that is only visible to the change owner, the
|
||||
reviewers that were explicitly added to the change, and users who have
|
||||
the link:access-control.html#category_view_drafts[View Drafts] global
|
||||
capability assigned.
|
||||
|
||||
[[commit-info]]
|
||||
=== Commit Info Block
|
||||
|
||||
The commit info block shows information about the commit of the
|
||||
currently viewed patch set.
|
||||
|
||||
It displays the author and the committer as links to a list of this
|
||||
person's changes that have the same status as the currently viewed
|
||||
change.
|
||||
|
||||
The commit ID and the link:user-changeid.html[Change-Id] are both
|
||||
displayed with a copy-to-clipboard icon that allows the ID to be copied
|
||||
into the clipboard.
|
||||
|
||||
If a Git web browser, such as GitWeb or Gitiles, is configured, there
|
||||
is also a link to the commit in the Git web browser.
|
||||
|
||||
image::images/user-review-ui-change-screen-commit-info.png[width=800, link="images/user-review-ui-change-screen-commit-info.png"]
|
||||
|
||||
[[old-change-screen]]
|
||||
=== Old Change Screen
|
||||
|
||||
In addition to the normal change screen, this Gerrit version still
|
||||
includes the old change screen that was used in earlier Gerrit
|
||||
versions. Users that want to continue using the old change screen can
|
||||
configure it in their preferences under
|
||||
`Settings` > `Preferences` > `Change View`:
|
||||
|
||||
image::images/user-review-ui-change-view-preference.png[width=800, link="images/user-review-ui-change-view-preference.png"]
|
||||
|
||||
[WARNING]
|
||||
The old change screen will be removed in a later version of Gerrit.
|
||||
|
||||
GERRIT
|
||||
------
|
||||
Part of link:index.html[Gerrit Code Review]
|
||||
|
||||
SEARCHBOX
|
||||
---------
|
@@ -138,7 +138,8 @@ public class Schema_77 extends SchemaVersion {
|
||||
private void migratePatchSetApprovals(ReviewDb db,
|
||||
LegacyLabelTypes labelTypes) throws SQLException {
|
||||
PreparedStatement stmt = ((JdbcSchema) db).getConnection().prepareStatement(
|
||||
"UPDATE patch_set_approvals SET category_id = ? WHERE category_id = ?");
|
||||
"UPDATE patch_set_approvals SET category_id = ?, granted=granted"
|
||||
+ " WHERE category_id = ?");
|
||||
try {
|
||||
for (LegacyLabelType type : labelTypes.getLegacyLabelTypes()) {
|
||||
stmt.setString(1, type.getName());
|
||||
|
Reference in New Issue
Block a user