Shawn O. Pearce | baf6e3a | 2010-08-23 08:34:03 -0700 | [diff] [blame] | 1 | Release notes for Gerrit 2.1.5 |
| 2 | ============================== |
| 3 | |
| 4 | Gerrit 2.1.5 is now available: |
| 5 | |
| 6 | link:http://code.google.com/p/gerrit/downloads/detail?name=gerrit-2.1.5.war[http://code.google.com/p/gerrit/downloads/detail?name=gerrit-2.1.5.war] |
| 7 | |
David Pursehouse | 4d7ac77 | 2013-06-25 17:14:30 +0900 | [diff] [blame] | 8 | This is primarily a bug fix release to 2.1.4, but some additional |
Shawn O. Pearce | baf6e3a | 2010-08-23 08:34:03 -0700 | [diff] [blame] | 9 | new features were included so its named 2.1.5 rather than 2.1.4.1. |
| 10 | |
Shawn O. Pearce | 04bbac5 | 2010-08-23 09:31:29 -0700 | [diff] [blame] | 11 | Upgrade Instructions |
| 12 | -------------------- |
Shawn O. Pearce | baf6e3a | 2010-08-23 08:34:03 -0700 | [diff] [blame] | 13 | |
Shawn O. Pearce | 04bbac5 | 2010-08-23 09:31:29 -0700 | [diff] [blame] | 14 | If upgrading from version 2.1.4, simply replace the WAR file in |
| 15 | `'site_path'/bin/gerrit.war` and restart Gerrit. |
| 16 | |
| 17 | If upgrading from version 2.1.3 or earlier, stop Gerrit, use |
| 18 | `java -jar gerrit.war init -d 'site_path'` to upgrade the schema, |
| 19 | and restart Gerrit. |
Shawn O. Pearce | baf6e3a | 2010-08-23 08:34:03 -0700 | [diff] [blame] | 20 | |
| 21 | New Features |
| 22 | ------------ |
| 23 | |
| 24 | Web UI |
| 25 | ~~~~~~ |
| 26 | * issue 361 Enable commenting on commit messages |
| 27 | + |
| 28 | The commit message of a change can now be commented on inline, and |
| 29 | even compared between patch sets, just like any other file contents. |
| 30 | The message is presented as a magical file called 'Commit Message', |
| 31 | in the first row of every change. |
| 32 | |
| 33 | * issue 312 Implement 'Restore Change' to undo 'Abandon Change' |
| 34 | + |
| 35 | Any user who can abandon a change (the change owner, project owner, |
| 36 | or any site administrator) can now restore the change from Abandoned |
| 37 | status back to Review in Progress. |
| 38 | |
| 39 | * issue 583 Enable/disable download protocols |
| 40 | + |
| 41 | The new download section in `gerrit.config` controls how the patch |
| 42 | set download links are presented in the web UI. Administrators |
| 43 | can use this section to enable `repo download`, `git://`, or to |
| 44 | disable `http://` style URLs. This section replaces the older |
| 45 | repo.showDownloadCommand. |
| 46 | |
| 47 | * issue 499 Display the size of a patch (lines added/removed) |
| 48 | + |
| 49 | A 'diffstat' is shown for each file, summarizing the size of the |
| 50 | change on that file in terms of number of lines added or deleted. |
| 51 | |
| 52 | Email Notifications |
| 53 | ~~~~~~~~~~~~~~~~~~~ |
| 54 | * issue 452 Include a quick summary of the size of a change in email |
| 55 | + |
| 56 | After the file listing, a summary totaling the number of files |
| 57 | changed, lines added, and lines removed is displayed. This may |
| 58 | help reviewers to get a quick estimation on the time required for |
| 59 | them to review the change. |
| 60 | |
| 61 | Bug Fixes |
| 62 | --------- |
| 63 | |
| 64 | Web UI |
| 65 | ~~~~~~ |
| 66 | * issue 639 Fix keyboard shortcuts under Chrome/Safari |
| 67 | + |
| 68 | Keyboard shortcuts didn't work properly on modern WebKit browsers |
| 69 | like Chrome and Safari. We kept trying to blame this on the browser, |
| 70 | but it was Gerrit Code Review at fault. The UI was using the wrong |
| 71 | listener type to receive keyboard events in comment editors. Fixed. |
| 72 | |
| 73 | * Make 'u' go up to the last change listing |
| 74 | + |
| 75 | Previously the 'u' key on a change page was hardcoded to take |
| 76 | the user to their own dashboard. However, if they arrived at the |
| 77 | change through a query such as `is:starred status:open`, this was |
| 78 | quite annoying, as the query had to be started over again to move |
| 79 | to the next matching change. Now the 'u' key goes back to the |
| 80 | query results. |
| 81 | |
| 82 | * issue 671 Honor user's syntax coloring preference in unified view |
| 83 | + |
| 84 | The user's syntax coloring preference was always ignored in the |
| 85 | unified view, even though the side-by-side view honored it. Fixed. |
| 86 | |
| 87 | * issue 651 Display stars in dependency tables |
| 88 | + |
| 89 | The 'Depends On' and 'Needed By' tables on a change page did not |
| 90 | show the current user's star settings, even though the star icon |
| 91 | is present and will toggle the user's starred flag for that change. |
| 92 | Fixed. |
| 93 | |
| 94 | Access Control |
| 95 | ~~~~~~~~~~~~~~ |
| 96 | * issue 672 Fix branch owner adding exclusive ACL |
| 97 | + |
| 98 | Branch owners could not add exclusive ACLs within their branch |
| 99 | namespace. This was caused by the server trying to match the leading |
| 100 | `-` entered by the branch administrator against patterns that did |
| 101 | not contain `-`, and therefore always failed. Fixed by removing |
| 102 | the magical `-` from the proposed new specification before testing |
| 103 | the access rights. |
| 104 | |
| 105 | * '@' in ref specs shouldn't be magical. |
| 106 | + |
| 107 | The dk.brics.automaton package that is used to handle regular |
| 108 | expressions on branch access patterns supports '@' to mean |
| 109 | "any string". We don't want that behavior. Fixed by disabling |
| 110 | the optional features of dk.brics.automaton, thereby making '@' |
| 111 | mean a literal '@' sign as expected. |
| 112 | |
| 113 | * issue 668 Fix inherited Read Access +2 not inheriting |
| 114 | + |
| 115 | Upload access (aka Read +2) did not inherit properly from the parent |
| 116 | project (e.g. '\-- All Projects \--') if there was any branch level |
| 117 | Read access control within the local project. This was a coding |
| 118 | bug which failed to consider the project inheritance if any branch |
| 119 | (not just the one being uploaded to) denied upload access. |
| 120 | |
| 121 | Misc. |
| 122 | ~~~~~ |
| 123 | * issue 641 Don't pass null arguments to hooks |
| 124 | + |
| 125 | Some hooks crashed inside of the server during invocation because the |
| 126 | `gerrit.canonicalWebUrl` variable wasn't configured, and the hook |
| 127 | was started out of an SSH or background thread context, so the URL |
| 128 | couldn't be assumed from the current request. The bug was worked |
| 129 | around by not passing the `\--change-url` flag in these cases. |
| 130 | Administrators whose hooks always need the flag should configure |
| 131 | `gerrit.canonicalWebUrl`. |
| 132 | |
| 133 | * issue 652 Fix NPE during merge failure on new branch |
| 134 | + |
| 135 | Submitting a change with a missing dependency to a new branch |
| 136 | resulted in a NullPointerException in the server, because the server |
| 137 | tried to create the branch anyway, even though there was no commit |
| 138 | ready because one or more dependencies were missing. Fixed. |
| 139 | |
| 140 | * Fix NPE while matching `file:^` pattern on deleted files |
| 141 | + |
| 142 | Sending email notifications crashed with NullPointerException if the |
| 143 | change contained a deleted file and one or more users had a project |
| 144 | watch on that project using a `file:^` pattern in their filter. |
| 145 | Fixed. |
| 146 | |
| 147 | * issue 658 Allow to use refspec shortcuts for push replication |
| 148 | + |
| 149 | A push refspec of `refs/heads/\*` in replication.config is now |
| 150 | supported as a shorthand notation for `refs/heads/\*:refs/heads/\*`. |
| 151 | |
| 152 | * issue 676 Fix clearing of topic during replace |
| 153 | + |
| 154 | The topic was cleared if a replacement patch set was uploaded without |
| 155 | the topic name. The topic is now left as-is during replacement |
| 156 | if no new topic was supplied. If a new topic is supplied, it is |
| 157 | changed to match the new topic given. |
| 158 | |
David Pursehouse | 4d7ac77 | 2013-06-25 17:14:30 +0900 | [diff] [blame] | 159 | * Allow ; and & to separate parameters in gitweb |
Shawn O. Pearce | baf6e3a | 2010-08-23 08:34:03 -0700 | [diff] [blame] | 160 | + |
| 161 | gitweb.cgi accepts either ';' or '&' between parameters, but |
| 162 | Gerrit Code Review was only accepting the ';' syntax. Fixed |
| 163 | to support both. |
| 164 | |
| 165 | Documentation |
| 166 | ~~~~~~~~~~~~~ |
| 167 | * Fixed example for gerrit create-account. |
| 168 | * gerrit.sh: Correct /etc/default path in error message |
| 169 | |
| 170 | Version |
| 171 | ------- |
| 172 | |
| 173 | 2765ff9e5f821100e9ca671f4d502b5c938457a5 |