diff options
author | Nasser Grainawi <nasser.grainawi@linaro.org> | 2024-05-16 16:37:47 -0600 |
---|---|---|
committer | Nasser Grainawi <nasser.grainawi@linaro.org> | 2024-05-16 16:37:47 -0600 |
commit | d4cbd21d6389ac66a7ce0889c2f8c4d73eb7b14e (patch) | |
tree | e7b8f8afafe99fa8384274f1eac0395cfa8109b9 | |
parent | 11429c6d112ff6ecf7969cca36bcc3a3d283e37c (diff) | |
parent | 782ac1b46433673caab0c31458db82048fb29a58 (diff) |
Merge branch 'stable-3.9' into stable-3.10
* stable-3.9:
Set version to 3.9.6-SNAPSHOT
Set version to 3.9.5
WorkQueue: Improve task thread names
Set version to 3.8-SNAPSHOT
Set version to 3.8.6
Set version to 3.7.10-SNAPSHOT
Set version to 3.7.9
Fix issues with account details filling
Update Getting Started to Gerrit 3.8.5
Update Getting Started to Gerrit 3.9.4
Update Getting Started to Gerrit 3.7.8
Mention who owns the change in comment emails
Change-Id: Ib003e049ca47c51522ee753cc42b9968963dcfee
Release-Notes: skip
5 files changed, 28 insertions, 26 deletions
diff --git a/Documentation/linux-quickstart.txt b/Documentation/linux-quickstart.txt index 13873ed627..67f056563c 100644 --- a/Documentation/linux-quickstart.txt +++ b/Documentation/linux-quickstart.txt @@ -29,10 +29,10 @@ From the Linux machine on which you want to install Gerrit: . Download the desired Gerrit archive. To view previous archives, see -link:https://gerrit-releases.storage.googleapis.com/index.html[Gerrit Code Review: Releases,role=external,window=_blank]. The steps below install Gerrit 3.5.1: +link:https://gerrit-releases.storage.googleapis.com/index.html[Gerrit Code Review: Releases,role=external,window=_blank]. The steps below install Gerrit 3.9.4: .... -wget https://gerrit-releases.storage.googleapis.com/gerrit-3.5.1.war +wget https://gerrit-releases.storage.googleapis.com/gerrit-3.9.4.war .... NOTE: To build and install Gerrit from the source files, see diff --git a/javatests/com/google/gerrit/acceptance/rest/change/AttentionSetIT.java b/javatests/com/google/gerrit/acceptance/rest/change/AttentionSetIT.java index c7672d19c3..92da64e706 100644 --- a/javatests/com/google/gerrit/acceptance/rest/change/AttentionSetIT.java +++ b/javatests/com/google/gerrit/acceptance/rest/change/AttentionSetIT.java @@ -3024,8 +3024,8 @@ public class AttentionSetIT extends AbstractDaemonTest { String.format( "Attention is currently required from: %s, %s.\n" + "\n" - + "%s has posted comments on this change.", - admin.fullName(), user.fullName(), approver.fullName())); + + "%s has posted comments on this change by %s.", + admin.fullName(), user.fullName(), approver.fullName(), admin.fullName())); assertThat(message.body()).doesNotContain("\nPatch Set 2: Code-Review+2\n"); assertThat(message.body()) .contains("The change is no longer submittable: Code-Review is unsatisfied now.\n"); @@ -3110,8 +3110,8 @@ public class AttentionSetIT extends AbstractDaemonTest { String.format( "Attention is currently required from: %s, %s.\n" + "\n" - + "%s has posted comments on this change.", - admin.fullName(), user.fullName(), approver.fullName())); + + "%s has posted comments on this change by %s.", + admin.fullName(), user.fullName(), approver.fullName(), admin.fullName())); assertThat(message.body()).doesNotContain("\nPatch Set 2: Code-Review+2\n"); assertThat(message.body()).contains("\nPatch Set 2: Code-Review+1\n"); assertThat(message.body()) @@ -3198,8 +3198,8 @@ public class AttentionSetIT extends AbstractDaemonTest { String.format( "Attention is currently required from: %s, %s.\n" + "\n" - + "%s has posted comments on this change.", - admin.fullName(), user.fullName(), approver.fullName())); + + "%s has posted comments on this change by %s.", + admin.fullName(), user.fullName(), approver.fullName(), admin.fullName())); assertThat(message.body()).contains("\nPatch Set 2: Code-Review-2\n"); assertThat(message.body()) .contains("The change is no longer submittable: Code-Review is unsatisfied now.\n"); diff --git a/javatests/com/google/gerrit/acceptance/rest/change/ChangeNoLongerSubmittableIT.java b/javatests/com/google/gerrit/acceptance/rest/change/ChangeNoLongerSubmittableIT.java index 1094a4293b..5bb6dc4249 100644 --- a/javatests/com/google/gerrit/acceptance/rest/change/ChangeNoLongerSubmittableIT.java +++ b/javatests/com/google/gerrit/acceptance/rest/change/ChangeNoLongerSubmittableIT.java @@ -83,8 +83,8 @@ public class ChangeNoLongerSubmittableIT extends AbstractDaemonTest { String.format( "Attention is currently required from: %s, %s.\n" + "\n" - + "%s has posted comments on this change.", - admin.fullName(), user.fullName(), approver.fullName())); + + "%s has posted comments on this change by %s.", + admin.fullName(), user.fullName(), approver.fullName(), admin.fullName())); assertThat(message.body()) .contains("The change is no longer submittable: Code-Review is unsatisfied now.\n"); assertThat(message.htmlBody()) @@ -127,8 +127,8 @@ public class ChangeNoLongerSubmittableIT extends AbstractDaemonTest { String.format( "Attention is currently required from: %s, %s.\n" + "\n" - + "%s has posted comments on this change.", - admin.fullName(), user.fullName(), approver.fullName())); + + "%s has posted comments on this change by %s.", + admin.fullName(), user.fullName(), approver.fullName(), admin.fullName())); assertThat(message.body()) .contains("The change is no longer submittable: Code-Review is unsatisfied now.\n"); assertThat(message.htmlBody()) @@ -172,8 +172,8 @@ public class ChangeNoLongerSubmittableIT extends AbstractDaemonTest { String.format( "Attention is currently required from: %s, %s.\n" + "\n" - + "%s has posted comments on this change.", - admin.fullName(), user.fullName(), approver.fullName())); + + "%s has posted comments on this change by %s.", + admin.fullName(), user.fullName(), approver.fullName(), admin.fullName())); assertThat(message.body()) .contains("The change is no longer submittable: Code-Review is unsatisfied now.\n"); assertThat(message.htmlBody()) @@ -263,8 +263,8 @@ public class ChangeNoLongerSubmittableIT extends AbstractDaemonTest { String.format( "Attention is currently required from: %s, %s.\n" + "\n" - + "%s has posted comments on this change.", - admin.fullName(), user.fullName(), approver.fullName())); + + "%s has posted comments on this change by %s.", + admin.fullName(), user.fullName(), approver.fullName(), admin.fullName())); assertThat(message.body()) .contains( "The change is no longer submittable:" @@ -315,8 +315,8 @@ public class ChangeNoLongerSubmittableIT extends AbstractDaemonTest { String.format( "Attention is currently required from: %s, %s.\n" + "\n" - + "%s has posted comments on this change.", - admin.fullName(), user.fullName(), approver.fullName())); + + "%s has posted comments on this change by %s.", + admin.fullName(), user.fullName(), approver.fullName(), admin.fullName())); assertThat(message.body()).doesNotContain("The change is no longer submittable"); assertThat(message.htmlBody()).doesNotContain("The change is no longer submittable"); } @@ -361,8 +361,8 @@ public class ChangeNoLongerSubmittableIT extends AbstractDaemonTest { String.format( "Attention is currently required from: %s, %s.\n" + "\n" - + "%s has posted comments on this change.", - admin.fullName(), user.fullName(), approver.fullName())); + + "%s has posted comments on this change by %s.", + admin.fullName(), user.fullName(), approver.fullName(), admin.fullName())); assertThat(message.body()).doesNotContain("The change is no longer submittable"); assertThat(message.htmlBody()).doesNotContain("The change is no longer submittable"); } @@ -398,8 +398,8 @@ public class ChangeNoLongerSubmittableIT extends AbstractDaemonTest { String.format( "Attention is currently required from: %s, %s.\n" + "\n" - + "%s has posted comments on this change.", - admin.fullName(), user.fullName(), approver.fullName())); + + "%s has posted comments on this change by %s.", + admin.fullName(), user.fullName(), approver.fullName(), admin.fullName())); assertThat(message.body()).doesNotContain("The change is no longer submittable"); assertThat(message.htmlBody()).doesNotContain("The change is no longer submittable"); } @@ -435,8 +435,8 @@ public class ChangeNoLongerSubmittableIT extends AbstractDaemonTest { String.format( "Attention is currently required from: %s, %s.\n" + "\n" - + "%s has posted comments on this change.", - admin.fullName(), user.fullName(), approver.fullName())); + + "%s has posted comments on this change by %s.", + admin.fullName(), user.fullName(), approver.fullName(), admin.fullName())); assertThat(message.body()).doesNotContain("The change is no longer submittable"); assertThat(message.htmlBody()).doesNotContain("The change is no longer submittable"); } diff --git a/javatests/com/google/gerrit/acceptance/rest/change/ChangeReviewersIT.java b/javatests/com/google/gerrit/acceptance/rest/change/ChangeReviewersIT.java index cf88b5a135..ff4fa9d530 100644 --- a/javatests/com/google/gerrit/acceptance/rest/change/ChangeReviewersIT.java +++ b/javatests/com/google/gerrit/acceptance/rest/change/ChangeReviewersIT.java @@ -449,7 +449,9 @@ public class ChangeReviewersIT extends AbstractDaemonTest { Message m = messages.get(0); assertThat(m.rcpt()).containsExactly(user.getNameEmail(), observer.getNameEmail()); - assertThat(m.body()).contains(admin.fullName() + " has posted comments on this change."); + assertThat(m.body()) + .contains( + admin.fullName() + " has posted comments on this change by " + admin.fullName() + "."); assertThat(m.body()).contains("Change subject: " + PushOneCommit.SUBJECT + "\n"); assertThat(m.body()).contains("Patch Set 1: Code-Review+2"); diff --git a/resources/com/google/gerrit/server/mail/Comment.soy b/resources/com/google/gerrit/server/mail/Comment.soy index 4b621b5670..8c1840cb2f 100644 --- a/resources/com/google/gerrit/server/mail/Comment.soy +++ b/resources/com/google/gerrit/server/mail/Comment.soy @@ -29,7 +29,7 @@ {@param unsatisfiedSubmitRequirements: ?} {@param oldSubmitRequirements: ?} {@param newSubmitRequirements: ?} - {$fromName} has posted comments on this change. + {$fromName} has posted comments on this change by {$change.ownerName}. {if $email.changeUrl} ( {$email.changeUrl} ){/if}{\n} {if $unsatisfiedSubmitRequirements} {\n} |