Shawn O. Pearce | c20e283 | 2010-02-17 09:16:26 -0800 | [diff] [blame] | 1 | Release notes for Gerrit 2.0.22 |
| 2 | =============================== |
| 3 | |
| 4 | Gerrit 2.0.22 is now available in the usual location: |
| 5 | |
| 6 | link:http://code.google.com/p/gerrit/downloads/list[http://code.google.com/p/gerrit/downloads/list] |
| 7 | |
| 8 | Schema Change |
| 9 | ------------- |
| 10 | |
| 11 | There is no schema change in this release. |
| 12 | |
| 13 | * Restriction on SSH Username |
| 14 | + |
| 15 | There is a new restriction placed on the SSH Username field |
| 16 | within an account. Users who are using invalid names should |
| 17 | be asked to change their name to something more suitable. |
| 18 | Administrators can identify these users with the following query: |
| 19 | ---- |
| 20 | -- PostgreSQL |
| 21 | SELECT account_id,preferred_email,ssh_user_name |
| 22 | FROM accounts |
| 23 | WHERE NOT (ssh_user_name ~ '^[a-zA-Z][a-zA-Z0-9._-]*[a-zA-Z0-9]$'); |
| 24 | |
| 25 | -- MySQL |
| 26 | SELECT account_id,preferred_email,ssh_user_name |
| 27 | FROM accounts |
| 28 | WHERE NOT (ssh_user_name REGEXP '^[a-zA-Z][a-zA-Z0-9._-]*[a-zA-Z0-9]$'); |
| 29 | ---- |
| 30 | Administrators can force these users to select a new name by |
| 31 | setting ssh_user_name to NULL; the user will not be able to |
| 32 | login over SSH until they return and select a new name. |
| 33 | |
| 34 | |
| 35 | New Features |
| 36 | ------------ |
| 37 | * GERRIT-280 create-project: Add --branch and cleanup arguments |
| 38 | + |
| 39 | The --branch option to create-project can be used to setup the |
| 40 | default initial branch to be a name other than 'master'. |
| 41 | Argument parsing also changed slightly, especially around the |
| 42 | boolean options and submit type. Please recheck the documentation |
| 43 | and/or the output of --help. |
| 44 | |
| 45 | * GERRIT-216 Add slave mode to ssh daemon |
| 46 | + |
| 47 | The standalone SSH daemon can now be run in a read-only |
| 48 | mode. This allows use Gerrit's access control database for |
| 49 | access decisions when serving a read-only copy of the project |
| 50 | repositories. Placing a read-only slave local to a remote office |
| 51 | may reduce sync times for those closer to the slave server. |
| 52 | |
| 53 | * Enable multi-line comment highlighting for Scala code |
| 54 | + |
| 55 | Scala source code now highlights more like Java source code does, |
| 56 | especially for multiline `/** ... */` style comments. |
| 57 | |
| 58 | * GERRIT-271 Enable forcing ldap.accountSshUserName to lowercase |
| 59 | + |
| 60 | The following properties may now be configured from LDAP using |
| 61 | more complex expressions: accountFullName, accountEmailAddress, |
| 62 | accountSshUserName. Property expressions permit forcing |
David Pursehouse | 4d7ac77 | 2013-06-25 17:14:30 +0900 | [diff] [blame] | 63 | to a lowercase string, or performing string concatenation. |
Shawn O. Pearce | c20e283 | 2010-02-17 09:16:26 -0800 | [diff] [blame] | 64 | These features may help some environments to better integrate |
| 65 | with their local LDAP server. |
| 66 | |
| 67 | * Support username/password authentication by LDAP |
| 68 | + |
| 69 | A new auth.type of LDAP was added to support Gerrit prompting |
| 70 | the end-user for their username and password, and then doing a |
| 71 | simple bind against the LDAP server to authenticate the user. |
| 72 | This can simplify installation in environments which lack a |
| 73 | web based single-sign-on solution, but which already have a |
| 74 | centralized LDAP directory for user management. |
| 75 | |
| 76 | * Inform submitter of merge failure by dialog box |
| 77 | + |
| 78 | When a change submit fails, a dialog box is now displayed showing |
| 79 | the merge failure message. This saves the user from needing to |
| 80 | scroll down to the end of the change page to determine if their |
| 81 | submit was successful, or not. |
| 82 | |
| 83 | * Better submit error messages |
| 84 | + |
| 85 | Missing dependency submit errors are now much more descriptive |
| 86 | of the problem, helping the user to troubleshoot the issue on |
| 87 | their own. Merge errors from projects using the cherry-pick |
| 88 | and fast-forward submit types are also more descriptive of the |
| 89 | real cause. Unfortunately path conflict errors are not any more |
| 90 | descriptive, but path conflict is now only reported when there |
| 91 | is actually a path conflict. |
| 92 | |
| 93 | * issue 285 Include pull command line in email notifications |
| 94 | + |
| 95 | Sample git pull lines are now included in email notifications. |
| 96 | |
| 97 | Bug Fixes |
| 98 | --------- |
| 99 | * create-project: Document needing to double quote descr... |
| 100 | + |
| 101 | The --description flag to create-project require two levels |
| 102 | of quoting if the new description string contains whitespace. |
| 103 | The documentation has been updated to reflect that, and shows some |
| 104 | examples . Unfortunately this is not easily fixed in software, |
| 105 | due to the way the SSH client passes the command line to the |
| 106 | remote server. |
| 107 | |
| 108 | * GERRIT-281 daemon: Remove unnecessary requirement of HttpServletR... |
| 109 | + |
| 110 | The standalone SSH daemon now starts correctly, without needing |
| 111 | to put the Java servlet API into the CLASSPATH. |
| 112 | |
| 113 | * Enforce Account.sshUserName to match expression |
| 114 | * Restrict typeable characters in SSH username |
| 115 | * Disallow ., `_` and - in end of SSH Username |
| 116 | + |
| 117 | SSH usernames were permitted to contain any character, including |
| 118 | oddball characters like '\0' and '/'. We really want them to |
| 119 | be a restricted subset which won't cause errors when we try to |
| 120 | map SSH usernames as file names in a Git repository as we try |
David Pursehouse | 3be717b | 2013-05-13 13:56:11 +0900 | [diff] [blame] | 121 | to move away from an SQL database. |
Shawn O. Pearce | c20e283 | 2010-02-17 09:16:26 -0800 | [diff] [blame] | 122 | |
| 123 | * GERRIT-282 Fix reply to comment on left side |
| 124 | + |
| 125 | Clicking 'Reply' to a comment on the left hand side sometimes |
| 126 | generated a server error due to a subtle bug in how the reply |
| 127 | was being setup. Fixed. |
| 128 | |
| 129 | * issue 282 Fix NullPointerException if ldap.password is missing |
| 130 | + |
| 131 | The server NPE'd when trying to open an LDAP connection if |
| 132 | ldap.username was set, but ldap.password was missing. We now |
| 133 | assume an unset ldap.password is the same as an empty password. |
| 134 | |
| 135 | * issue 284 Make cursor pointer when hovering over OpenID links |
| 136 | + |
| 137 | The cursor was wrong in the OpenID sign-in dialog. Fixed. |
| 138 | |
| 139 | * Use abbreviated Change-Id in merge messages |
| 140 | + |
| 141 | Merge commits created by Gerrit were still using the older style |
| 142 | integer change number; changed to use the abbreviated Change-Id. |
| 143 | |
| 144 | Other Changes |
| 145 | ------------- |
| 146 | * Start 2.0.22 development |
| 147 | * Configure Maven to build with UTF-8 encoding |
| 148 | * Document minimum build requirement for Mac OS X |
| 149 | * Merge change 10296 |
| 150 | * Remove trailing whitespace. |
| 151 | * Update issue tracking link in documentation |
| 152 | * Merge branch 'doc-update' |
| 153 | * Move client.openid to auth.openid |
| 154 | * Fix minor errors in install documentation. |
| 155 | * Merge change 11961 |
| 156 | * Cleanup merge op to better handle cherry-pick, error c... |
| 157 | * GERRIT-67 Wait for dependencies to submit before claiming merge ... |
| 158 | * Move abandonChange to ChangeManageService |
| 159 | * Remove trailing whitespace in install.txt |
David Pursehouse | 3be717b | 2013-05-13 13:56:11 +0900 | [diff] [blame] | 160 | * Gerrit 2.0.22 |