blob: f87328e0bcf508ea7002aa2c611e7e3188a0678d [file] [log] [blame]
Edwin Kempind957bde2013-01-22 09:24:25 +01001Release notes for Gerrit 2.5.2
2==============================
3
4Gerrit 2.5.2 is now available:
5
6link:http://code.google.com/p/gerrit/downloads/detail?name=gerrit-full-2.5.2.war[http://code.google.com/p/gerrit/downloads/detail?name=gerrit-full-2.5.2.war]
7
8There are no schema changes from 2.5, or 2.5.1.
9
David Pursehoused33f9ff2013-02-13 10:00:21 +090010However, if upgrading from any earlier version, follow the upgrade
Edwin Kempind957bde2013-01-22 09:24:25 +010011procedure in the 2.5 link:ReleaseNotes-2.5.html[Release Notes].
12
13Bug Fixes
14---------
15* Improve performance of ReceiveCommits for repos with many refs
16+
17When validating the received commits all existing refs were added as
18uninteresting to the RevWalk. This resulted in bad performance when a
19repository had many refs (>100000). Putting existing 'refs/changes/'
20or 'refs/tags/' into the RevWalk is now avoided, which improves the
21performance.
22
Edwin Kempinb9ac2432013-02-06 09:01:54 +010023* Improve Push performance by discarding 'cache-automerge/*' refs
24 early in VisibleRefFilter
25+
26For a typical large Git repository, with many refs and lots of cached
27merges, the push time goes down significantly.
28
Edwin Kempind957bde2013-01-22 09:24:25 +010029* Don't display all files from a merge-commit when auto-merge fails
30+
31For merge commits Gerrit shows the difference to the automatic merge
32result. The creation of the auto-merge result may fail, e.g. when the
33merge commit has multiple merge bases (because JGit doesn't support
34this case yet). In this case Gerrit was showing all files from the
35merge commit. This caused several issues:
36+
37--
38** the file list was too large for projects with a large number of
39 files
40** Gerrit would send too many false notification emails to users
41 watching changes under certain paths
42** both client and server needed a lot of resources in order to handle
43 such a large list of files
44--
45+
46Now the file list for a merge commit will be empty when the creation
47of the auto-merge result fails.
48
49* link:http://code.google.com/p/gerrit/issues/detail?id=1726[issue 1726]:
50 Create ref for new patch set on direct push
51+
52If a change is in review and a new commit that has the Change-Id of
53this change in its commit message is pushed directly, then a new patch
54set for this commit is created and the change gets automatically
55closed. The problem was that no change ref for this new patch set was
56created and as result the change ref that was shown for the new patch
57set in the WebUI, and which was contained in the patchset-created
58event, was invalid.
59
Edwin Kempinb9ac2432013-02-06 09:01:54 +010060* link:http://code.google.com/p/gerrit/issues/detail?id=1767[issue 1767]:
61 Remove wrong error message when pushing a new ref fails
62+
63If pushing a new ref was rejected because the user was not allowed to
64create it the error message always told the user that he's missing the
65'Create Reference' access right. This message was incorrect in some
66cases. Users that have the 'Create Reference' access right assigned
67are e.g. not allowed to create the ref if:
68+
69--
70** they are pushing an annotated tag without having the
71 'Push Annotated Tag' access right
72** they are pushing a signed tag without having the 'Push Signed Tag'
73 access right
74** the project state is set to 'Read Only'
75--
76+
77Now the error message just says 'Prohibited by Gerrit'. This generic
78error message is better than a more concrete error message which is
79wrong in same cases because a wrong message is misleading and
80confuses the user.
81+
82In addition the description of the 'Prohibited by Gerrit' error in the
83documentation has been updated to explain some additional cases in
84which the 'Prohibited by Gerrit' error occurs.
85
Edwin Kempind957bde2013-01-22 09:24:25 +010086* link:http://code.google.com/p/gerrit/issues/detail?id=1444[issue 1444]:
87 Remove 'Mailing-List' header from sent emails
88+
89The non-standard 'Mailing-List' header that is included in the emails
90sent by Gerrit isn't allowed by the Amazon Simple Email Service and is
91now removed.
92
93* Improve SMTP client error messages
94+
95The wording of the error messages in the SMTP client was changed to
96make it more clear at exactly what stage in the SMTP transaction the
97server returned an error. Also the server's response text is now
98always included.
99+
100In addition it is now ensured that already rejected recipients are
101included in the error message when the server rejects the DATA
102command. Without this there is no way of debugging rejected
103recipients if all recipients are rejected since that typically
104results in a DATA command rejection. Because some SMTP servers (e.g.
105Postfix with the default configuration) delay rejection of HELO/EHLO
106and MAIL FROM commands to the RCPT TO stage, this can happen not only
107for bad recipients.
108
109* Allow time unit variables to be '0'
110+
111link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.5/config-gerrit.html[
112Gerrit Configuration parameters] that expect a numerical time unit as
113value can now be set to '0'.
114
115* link:http://code.google.com/p/gerrit/issues/detail?id=1076[issue 1076]:
116 Fix CLA hyperlink on account registration page
117+
118The New Contributor Agreement hyperlink on the Account Registration page
119was malformed.
120
121* Fix broken link to repo command reference
122+
123The link to the repo command reference in the 'repo upload' section of
124the 'Uploading Changes' documentation was broken.
David Pursehouse75013b82013-02-06 10:24:14 +0900125
126* link:http://code.google.com/p/gerrit/issues/detail?id=1569[issue 1569]:
David Pursehouse4d7ac772013-06-25 17:14:30 +0900127Fix unexpected behavior in the commit-msg hook caused by `GREP_OPTIONS`
David Pursehouse75013b82013-02-06 10:24:14 +0900128+
David Pursehouse4d7ac772013-06-25 17:14:30 +0900129If `GREP_OPTIONS` was set, it caused unexpected behavior in the
David Pursehouse75013b82013-02-06 10:24:14 +0900130commit-msg hook. For example if it included a setting like
131`--exclude=".git/*"` it caused a new `Change-Id` line to be appended
132to the commit message on every amend.
133+
134`GREP_OPTIONS` is now unset at the beginning of the commit-msg script
135to prevent such problems from occurring.
136+
137The `GREP_OPTIONS` setting in the user's environment is unaffected
138by this change.