Martin Fick | 9509270 | 2011-12-22 14:46:33 -0700 | [diff] [blame] | 1 | Release notes for Gerrit 2.2.2 |
| 2 | ============================== |
| 3 | |
| 4 | Gerrit 2.2.2 is now available: |
| 5 | |
| 6 | link:http://code.google.com/p/gerrit/downloads/detail?name=gerrit-2.2.2.war[http://code.google.com/p/gerrit/downloads/detail?name=gerrit-2.2.2.war] |
| 7 | |
| 8 | Schema Change |
| 9 | ------------- |
| 10 | *WARNING:* This release contains schema changes. To upgrade: |
| 11 | ---- |
| 12 | java -jar gerrit.war init -d site_path |
| 13 | ---- |
| 14 | |
| 15 | *WARNING:* Upgrading to 2.2.x requires the server be first upgraded |
| 16 | to 2.1.7 (or a later 2.1.x version), and then to 2.2.x. |
| 17 | |
| 18 | New Features |
| 19 | ------------ |
| 20 | |
| 21 | Prolog |
| 22 | ~~~~~~ |
| 23 | * issue 971 Use Prolog Cafe for ChangeControl.canSubmit() |
| 24 | |
| 25 | * Add per-project prolog submit rule files |
| 26 | + |
| 27 | When loading the prolog environment, now checks refs/meta/config |
| 28 | branch for a file called rules.pl. If it exists, consult the |
| 29 | file. Expects a predicate called submit_rule. If no file is found, |
| 30 | uses the default_submit predicate in common_rules.pl. |
| 31 | |
| 32 | * Add inheritance of prolog rules |
| 33 | + |
| 34 | Projects now inherit the prolog rules defined in their parent |
| 35 | project. Submit results from the child project are filtered by the |
Magnus Bäck | c392e3c | 2012-03-27 09:52:19 -0400 | [diff] [blame] | 36 | parent project using the filter predicate defined in the parent's |
Martin Fick | 9509270 | 2011-12-22 14:46:33 -0700 | [diff] [blame] | 37 | rules.pl. The results of the filtering are then passed up to the |
| 38 | parent's parent and filtered, repeating this process up to the top |
| 39 | level All-Projects. |
| 40 | |
| 41 | * Load precompiled prolog rules from jar file |
| 42 | + |
| 43 | Looks in (site)/cache/rules for a jar file called: |
| 44 | rules-(sha1 of rules.pl).jar |
| 45 | Loads the precompiled prolog rules and uses them instead of |
| 46 | consulting rules.pl. If the jar does not exist, consults rules.pl. |
| 47 | If rules.pl does not exist, uses the default submit rules. |
| 48 | |
| 49 | * Cmd line tool rulec to compile jar from prolog |
| 50 | + |
| 51 | Rulec takes rules.pl from the refs/meta/config branch and creates a |
| 52 | jar file named rules-(sha1 of rules.pl).jar in (sitepath)/cache/rules. |
| 53 | Generates temporary prolog, java src, and class files which are |
| 54 | deleted afterwards. |
| 55 | |
| 56 | * prolog-shell: Simple command line Prolog interpreter |
| 57 | + |
| 58 | Define a small interactive interpreter that users or site |
Magnus Bäck | c392e3c | 2012-03-27 09:52:19 -0400 | [diff] [blame] | 59 | administrators can play around with by downloading the Gerrit WAR |
Martin Fick | 9509270 | 2011-12-22 14:46:33 -0700 | [diff] [blame] | 60 | file and executing: java -jar gerrit.war prolog-shell |
| 61 | |
| 62 | Prolog Predicates |
| 63 | ^^^^^^^^^^^^^^^^^ |
| 64 | * Add Prolog Predicates to check commit messages and edits |
| 65 | + |
| 66 | commit_message returns the commit message as a symbol. |
| 67 | + |
| 68 | commit_message_matches takes in a regex pattern and checks it against |
| 69 | the commit message. |
| 70 | + |
| 71 | commit_edits takes in a regex pattern for filenames and a regex |
| 72 | pattern for edits. For all files in a commit that match the filename |
| 73 | regex. Returns true if the edits in any of those files match the |
| 74 | edit regex. |
| 75 | |
| 76 | * Add Prolog Predicates to expose commit filelist |
| 77 | + |
| 78 | commit_delta/1,3,4 each takes a regular expression and matches it to |
| 79 | the path of all the files in the latest patchset of a commit. |
| 80 | If applicable (changes where the file is renamed or copied), the |
| 81 | regex is also checked against the old path. |
| 82 | + |
| 83 | commit_delta/1 returns true if any files match the regex |
| 84 | + |
| 85 | commit_delta/3 returns the changetype and path, if the changetype is |
| 86 | renamed, it also returns the old path. If the changetype is rename, |
| 87 | it returns a delete for oldpath and an add for newpath. If the |
| 88 | changetype is copy, an add is returned along with newpath. |
| 89 | + |
| 90 | commit_delta/4 returns the changetype, new path, and old path |
| 91 | (if applicable). |
| 92 | |
| 93 | * Add Prolog predicates that expose the branch, owner, |
| 94 | project, and topic of a change, the author and committer of the most |
| 95 | recent patchset in the change, and who is the current user. |
| 96 | |
| 97 | * For user-related predicates, if the user is not a gerrit user, will |
| 98 | return user(anonymous) or similar. Author and committer predicates |
| 99 | for commits return user(id), name, and email. |
| 100 | |
| 101 | * Make max_with_block/4 public |
| 102 | + |
| 103 | This is the current rule generally applied to a label function. Make |
| 104 | it exportable for now until we can come back and clean up the legacy |
| 105 | approval data code. |
| 106 | |
| 107 | Web |
| 108 | ~~~ |
| 109 | |
| 110 | * Support in Firefox delete key in NpIntTextBox |
| 111 | + |
| 112 | Pressing the delete key while being in a NpIntTextBox (e.g. in the |
| 113 | text box for the Tab Width or Columns preference when comparing a |
| 114 | file) now works in Firefox. |
| 115 | |
| 116 | * Make sure special keys work in text fields |
| 117 | + |
| 118 | There is a bug in gwt 2.1.0 that prevents pressing special keys like |
| 119 | Enter, Backspace etc. from being properly recognized and so they have no effect. |
| 120 | |
| 121 | ChangeScreen |
| 122 | ^^^^^^^^^^^^ |
| 123 | * issue 855 Indicate outdated dependencies on the ChangeScreen |
| 124 | + |
| 125 | If a change dependency is no longer the latest patchSet for that |
| 126 | change, mark it OUTDATED in the dependencies table and make |
| 127 | its row red, and add a warning message to the dependencies |
| 128 | header, also keep the dependencies disclosure panel open |
| 129 | even when an outdated dependent change is merged. |
| 130 | Additionally make the link for dependencies link to the |
| 131 | exact patchSet of the dependent change. |
| 132 | |
| 133 | * issue 881 Allow adding groups as reviewer |
| 134 | + |
| 135 | On the ChangeScreen it is now possible to add a group as reviewer for |
| 136 | a change. When a group is added as reviewer the group is resolved and |
| 137 | all its members are added as reviewers to the change. |
| 138 | |
| 139 | * Update approvals in web UI to adapt to rules.pl submit_rule |
| 140 | + |
| 141 | The UI now shows whatever the results of the submit_rule are, which |
| 142 | permits the submit_rule to make an ApprovalCategory optional, or to |
| 143 | make a new label required. |
| 144 | |
| 145 | Diff Screen |
| 146 | ^^^^^^^^^^^ |
| 147 | * Add top level menus for a new PatchScreen header |
| 148 | + |
| 149 | Modify the PatchScreen so that the header contents is selectable |
| 150 | using top level menus. Allow the header to display the commit |
| 151 | message, the preferences, the Patch Sets, or the File List. |
| 152 | |
| 153 | * Add SideBySide and Unified links to Differences top level menus |
| 154 | + |
| 155 | These new menu entries allow a user to switch view types easily |
| 156 | without returning to the ChangeScreen. Also, they double as a |
| 157 | way to hide the header on the PatchScreen (when clicking on the |
| 158 | currently displayed type). |
| 159 | |
| 160 | * Add user pref to retain PatchScreen Header when changing files |
| 161 | |
| 162 | * Flip the orientation of PatchHistory Table |
| 163 | |
| 164 | * Remove the 'Change SHA1:' from the PatchScreen title |
| 165 | |
| 166 | * Remove scrollbar from Commit Message |
| 167 | |
| 168 | * Allow comment editing with single click on line numbers |
| 169 | + |
| 170 | Make it easier to comment (and now possible on android devices which |
| 171 | zoom on double click) on a patch by simply clicking on the line number. |
| 172 | |
| 173 | * Add a "Save" button to the PatchScriptSettingsPanel |
| 174 | + |
David Pursehouse | 4d7ac77 | 2013-06-25 17:14:30 +0900 | [diff] [blame] | 175 | The "Update" button now only updates the display. Additionally, |
Martin Fick | 9509270 | 2011-12-22 14:46:33 -0700 | [diff] [blame] | 176 | for logged in users, a "Save" button now behaves the way that |
| 177 | "Update" used to behave for logged in users. |
| 178 | |
| 179 | * issue 665 Display merge changes as differences from automatic result |
| 180 | + |
| 181 | Instead of displaying nothing for a two-parent merge commit, compute |
| 182 | the automatic merge result and display the difference between the |
| 183 | automatic result that Git would create, and the actual result that |
| 184 | was uploaded by the author/committer of the merge. |
| 185 | |
| 186 | Groups |
| 187 | ^^^^^^ |
| 188 | * Add menu to AccountGroupScreen |
| 189 | + |
| 190 | This change introduces a menu in the AccountGroupScreen and |
| 191 | different screens for subsets of the functionality (similar as it's |
| 192 | done for the ProjectScreen). Links from other screens to the |
| 193 | AccountGroupScreen are resolved depending on the group type. |
| 194 | |
| 195 | * Display groupUUID on AccountGroupInfoScreen |
| 196 | + |
| 197 | To assign a privilege to a new group by editing the |
| 198 | 'project.config' file, the new group needs to be added to the |
| 199 | 'groups' file in the 'refs/meta/config' branch which requires |
| 200 | the UUID of the group to be known. |
| 201 | |
| 202 | Project Access |
| 203 | ^^^^^^^^^^^^^^ |
| 204 | * Automatically add new rule when adding new permission |
| 205 | + |
| 206 | If a new permission was added to a block, immediately create the new |
| 207 | group entry box and focus it, so the user can assign the permission. |
| 208 | |
| 209 | * Only show Exclusive checkbox on reference sections |
| 210 | + |
| 211 | In the access editor, hide the Exclusive checkbox on the |
| 212 | Global Capabilities section since it has no inheritance and |
| 213 | the exclusive bit isn't supported. |
| 214 | |
| 215 | * Disable editing after successful save of Access screen |
| 216 | + |
| 217 | When the access has been successfully modified for a project, |
| 218 | switch back to the "read-only" view where the widgets are all |
| 219 | disabled and the Edit button is enabled. |
| 220 | |
| 221 | Project Branches |
| 222 | ^^^^^^^^^^^^^^^^ |
| 223 | * Display refs/meta/config branch on ProjectBranchesScreen |
| 224 | + |
| 225 | The new refs/meta/config branch was not shown in the ProjectBranchesScreen. |
| 226 | Since refs/meta/config is not just any branch, but has a special |
| 227 | meaning to Gerrit it is now displayed at the top below HEAD. |
| 228 | |
| 229 | * Highlight HEAD and refs/meta/config |
| 230 | + |
| 231 | Since HEAD and refs/meta/config do not represent ordinary branches, |
| 232 | highlight their rows with a special style in the ProjectBranchesScreen. |
| 233 | |
| 234 | URLs |
| 235 | ^^^^ |
| 236 | * Modernize URLs to be shorter and consistent |
| 237 | + |
| 238 | Instead of http://site/#change,1234 we now use a slightly more |
| 239 | common looking http://site/#/c/1234 URL to link to a change. |
| 240 | + |
| 241 | Files within a patch set are now denoted below the change, as in |
| 242 | http://site/#/c/1234/1/src/module/foo.c |
| 243 | + |
| 244 | Also fix the dynamic redirects of http://site/1234 |
| 245 | and http://site/r/deadbeef to jump directly to the corresponding |
| 246 | change if there is exactly one possible URL. |
| 247 | + |
| 248 | Entities that have multiple views suffix the URL with ",view-name" |
| 249 | to indicate which view the user wants to see. |
| 250 | |
| 251 | * issue 1018 Accept ~ in linkify() URLs |
| 252 | |
| 253 | SSH |
| 254 | ~~~ |
| 255 | * Added a set-reviewers ssh command |
| 256 | |
| 257 | * Support removing more than one reviewer at once |
| 258 | + |
| 259 | This way we can batch delete reviewers from a change. |
| 260 | |
| 261 | * issue 881 Support adding groups as reviewer by SSH command |
| 262 | + |
| 263 | With the set-reviewers SSH command it is now possible to also add |
| 264 | groups as reviewer for a change. |
| 265 | |
| 266 | * Fail review command for changing labels when change is closed |
| 267 | + |
| 268 | If a reviewer attempts to change a review label (approval) after a |
| 269 | change is closed using the ssh review command, cause it to fail the |
| 270 | command and output a message. |
| 271 | |
| 272 | * ls-projects: Fix display of All-Projects under --tree |
| 273 | + |
| 274 | Everything should be nested below All-Projects, since that is actually |
| 275 | the root level. |
| 276 | |
| 277 | * ls-projects: Add --type to filter by project type |
| 278 | + |
| 279 | ls-projects now supports --type code|permissions|all. The default is |
| 280 | code which now skips permissions only projects, restoring the output |
| 281 | to what appears from Gerrit 2.1.7 and earlier. |
| 282 | |
| 283 | * show-caches: Improve memory reporting |
| 284 | + |
| 285 | Change the way memory is reported to show the actual values, |
| 286 | and the equation that determines how these are put together |
| 287 | to form the current usage. Include some additional data including |
| 288 | server version, current time, process uptime, active SSH |
| 289 | connections, and tasks in the task queue. The --show-jvm option |
| 290 | will report additional data about the JVM, and tell the caller |
| 291 | where it is running. |
| 292 | |
| 293 | Queries |
| 294 | ^^^^^^^ |
| 295 | * Output patchset creation date for 'query' command. |
| 296 | |
| 297 | * issue 1053 Support comments option in query command |
| 298 | + |
| 299 | Query SSH command will show all comments if option --comments is |
| 300 | used. If --comments is used together with --patch-sets all inline |
| 301 | comments are included in the output. |
| 302 | |
| 303 | Config |
| 304 | ~~~~~~ |
| 305 | * Move batch user priority to a capability |
| 306 | + |
| 307 | Instead of using a magical group, use a special capability to |
| 308 | denote users that should get the batch priority behavior. |
| 309 | |
| 310 | * issue 742 Make administrator, create-project a global capability |
| 311 | + |
| 312 | This gets rid of the special entries in system_config and |
| 313 | gerrit.config related to who the Administrators group is, |
| 314 | or which groups are permitted to create new projects on |
| 315 | this server. |
| 316 | |
| 317 | * issue 48 & 742 Add fine-grained capabilities for administrative actions |
| 318 | + |
| 319 | The Global Capabilities section in All-Projects can now be used to |
| 320 | grant subcommands that are available over SSH and were previously |
| 321 | restricted to only Administrators. |
| 322 | |
| 323 | * Disallow project names ending in "/" |
| 324 | |
| 325 | * issue 934 query: Enable configurable result limit |
| 326 | + |
| 327 | Allow site administrators to configure the query limit for user to be |
| 328 | above the default hard-coded value of 500 by adding a global |
| 329 | [capability] block to All-Projects project.config file with group(s) |
| 330 | that should have different limits. |
| 331 | |
| 332 | * Introduced a new PermissionRule.Action: BLOCK. |
| 333 | + |
| 334 | Besides already existing ALLOW and DENY actions this change |
| 335 | introduces the BLOCK action in order to enable blocking some |
| 336 | permission rules globally. |
| 337 | |
| 338 | * issue 813 Use remote.name.replicatePermissions to hide permissions |
| 339 | + |
| 340 | Administrators can now disable replication of permissions-only |
| 341 | projects and the per-project refs/meta/config in replication.config |
| 342 | by setting the replicatePermissions field to false. |
| 343 | |
| 344 | * Add a Restored.vm template and use it. |
| 345 | + |
| 346 | The restore action has been erroneously using the Abandoned.vm |
| 347 | template. Create a template and sender for the restorecommand. |
| 348 | |
| 349 | * sshd.advertisedAddress: specify the displayed SSH host/port |
| 350 | + |
| 351 | This allows aliases which redirect to gerrit's ssh port (say |
| 352 | from port 22) to be setup and advertised to users. |
| 353 | |
| 354 | Dev |
| 355 | ~~~ |
| 356 | * Updated eclipse settings for 3.7 and m2e 1.0 |
| 357 | |
| 358 | * Fix build in m2eclipse 1.0 |
| 359 | + |
| 360 | Ignore the antrun and the build-helper-maven-plugin tasks in m2eclipse. |
| 361 | |
| 362 | * Make Gerrit with gwt 2.3.0 run in gwtdebug mode |
| 363 | |
| 364 | * Fix a number of build warnings that have crept in |
| 365 | |
| 366 | * Accept email address automatically |
| 367 | + |
| 368 | Enable Gerrit to accept email address automatically in |
| 369 | "DEVELOPMENT_BECOME_ANY_ACCOUNT" mode without a confirmation email. |
| 370 | |
| 371 | * Added clickable user names at the BecomeAnyAccountLoginServlet. |
| 372 | + |
| 373 | The first 5 (by accountId) user names are displayed as clickable |
| 374 | links. Clicking a user name logs in as this user, speeding up |
| 375 | switching between different users when using the |
| 376 | DEVELOPMENT_BECOME_ANY_ACCOUNT authentication type. |
| 377 | |
| 378 | Miscellaneous |
| 379 | ~~~~~~~~~~~~~ |
| 380 | * Permit adding reviewers to closed changes |
| 381 | + |
| 382 | Permit adding a reviewer to closed changes to support post-submit |
| 383 | discussion threads. |
| 384 | |
| 385 | * issue 805 Don't check for multiple change-ids when pushing directly |
| 386 | to refs/heads. |
| 387 | |
| 388 | * Avoid costly findMergedInto during push to refs/for/* |
| 389 | + |
| 390 | No longer close a change when a commit is pushed to res/for/* and the |
| 391 | Change-Id in the commit message footer matches another commit on an |
| 392 | existing branch or tag. |
| 393 | |
| 394 | * Allow serving static files in subdirectories |
| 395 | |
| 396 | * issue 1019 Normalize OpenID URLs with http:// prefix |
| 397 | + |
| 398 | No longer violate OpenID 1.1 and 2.0, both of which require |
| 399 | OpenIDs to be normalized (http:// added). |
| 400 | |
| 401 | * Allow container-based authentication for git over http |
| 402 | + |
| 403 | Gerrit was insisting on DIGEST authentication when doing git over |
| 404 | http. A new boolean configuration parameter auth.trustContainerAuth |
| 405 | allows gerrit to be configured to trust the container to do the |
| 406 | authentication. |
| 407 | |
| 408 | * issue 848 Add rpc method for GerritConfig |
| 409 | + |
| 410 | Exposes what types of reviews are possible via json rpc, so that the |
| 411 | Eclipse Reviews plugin currently can parse the javascript from a |
| 412 | gerrit page load. |
| 413 | |
| 414 | |
| 415 | Performance |
| 416 | ----------- |
| 417 | * Bumped Brics version to 1.11.8 |
| 418 | + |
| 419 | This Brics version fixes a performance issue in some larger Gerrit systems. |
| 420 | |
| 421 | * Add permission_sort cache to remember sort orderings |
| 422 | + |
| 423 | Cache the order AccessSections should be sorted in, making any future |
| 424 | sorting for the same reference name and same set of section patterns |
| 425 | cheaper. |
| 426 | |
| 427 | * Refactor how permissions are matched by ProjectControl, RefControl |
| 428 | + |
| 429 | More aggressively cache many of the auth objects at a cost of memory, |
David Pursehouse | 4d7ac77 | 2013-06-25 17:14:30 +0900 | [diff] [blame] | 430 | but this should be an improvement in response times. |
Martin Fick | 9509270 | 2011-12-22 14:46:33 -0700 | [diff] [blame] | 431 | |
David Pursehouse | 4d7ac77 | 2013-06-25 17:14:30 +0900 | [diff] [blame] | 432 | * Substantially speed up pushing changes for review |
Martin Fick | 9509270 | 2011-12-22 14:46:33 -0700 | [diff] [blame] | 433 | + |
| 434 | Pushing a new change for review checks if the change is related to |
| 435 | the branch it's destined for. It used to do this in a way that |
| 436 | required a topo-sort of the rev history, and now uses JGit's |
| 437 | merge-base functionality. |
| 438 | |
| 439 | * Add cache for tag advertisements |
| 440 | + |
| 441 | To make the general case more efficient, introduce a cache called "git_tags". |
| 442 | + |
| 443 | On a trivial usage of the Linux kernel repository, the average |
| 444 | running time of the VisibleRefFilter when caches were hot was |
| 445 | 7195.68 ms. With this commit, it is a mere 5.07 milliseconds |
| 446 | on a hot cache. A reduction of 99% of the running time. |
| 447 | |
| 448 | * Don't set lastCheckTime in ProjectState |
| 449 | + |
| 450 | The lastCheckTime/generation fields are actually a counter that |
| 451 | is incremented using a background thread. The values don't match |
| 452 | the system clock, and thus reading System.currentTimeMillis() |
| 453 | during the construction of ProjectState is a waste of resources. |
| 454 | |
| 455 | |
| 456 | Upgrades |
| 457 | -------- |
| 458 | * Upgrade to GWT 2.3.0 |
| 459 | * Upgrade to Gson to 1.7.1 |
| 460 | * Upgrade to gwtjsonrpc 1.2.4 |
| 461 | * Upgrade to gwtexpui 1.2.5 |
| 462 | * Upgrade to Jsch 0.1.44-1 |
| 463 | * Upgrade to Brics 1.11.8 |
| 464 | |
| 465 | |
| 466 | Bug Fixes |
| 467 | --------- |
| 468 | * Fix: Issue where Gerrit could not linkify certain URLs |
| 469 | |
| 470 | * issue 1015 Fix handling of regex ref patterns in Access panel |
| 471 | + |
| 472 | regex patterns such as "\^refs/heads/[A-Z]{2,}\-[0-9]\+.\*" were being |
| 473 | prefixed with "refs/heads/", resulting in invalid reference patterns |
| 474 | like "refs/heads/^refs/heads/[A-Z]{2,}-[0-9]+.*". |
| 475 | |
| 476 | * issue 1002 Check for and disallow pushing of invalid refs/meta/config |
| 477 | + |
| 478 | If the project.config or groups files are somehow invalid on |
| 479 | the refs/meta/config branch, or would be made invalid due to |
| 480 | a bad code review being submitted to this branch, reject the |
| 481 | user's attempt to push. |
| 482 | |
| 483 | * issue 1002 Fix NPE in PermissionRuleEditor when group lacks UUID |
| 484 | + |
| 485 | If a group does not have an entry in the "groups" table within |
| 486 | the refs/meta/config branch render the group name as a span, |
| 487 | without the link instead of crashing the UI. |
| 488 | |
| 489 | * issue 972 Filter access section rules to only visible groups |
| 490 | + |
| 491 | Users who are not the owner of an access section can now only |
| 492 | see group names and rules for groups which they are a member of, |
| 493 | are visible to all users, or that they own. |
| 494 | |
| 495 | * Correctly handle missing refs/meta/config branch |
| 496 | + |
| 497 | If the refs/meta/config branch did not exist, getRevision() no longer |
| 498 | throws an NPE when trying to access the ProjectDetail. |
| 499 | |
| 500 | * Allow loading Project Access when there is no refs/meta/config |
| 501 | + |
| 502 | Enable loading the access screen with a null revision field, |
| 503 | and on save of any edits require the branch to be new. |
| 504 | |
| 505 | * create-project: Fix creation vs. replication order |
| 506 | + |
| 507 | Create the project on remote mirrors before creating either the |
| 508 | refs/meta/config or the initial empty branch. This way those can be |
| 509 | replicated to the remote mirrors once they have been created locally. |
| 510 | |
| 511 | * create-project: Bring back --permissions-only flag |
| 512 | + |
| 513 | If a project is permissions only, assign HEAD to point to |
| 514 | refs/meta/config. This way the gitweb view of the project |
| 515 | shows the permissions history by default, and clients that |
| 516 | clone the project are able to get a detached HEAD pointing |
| 517 | to the current permission state, rather than an empty |
| 518 | repository. |
| 519 | |
| 520 | * create-project: Fix error reporting when repository exists |
| 521 | + |
| 522 | If a repository already exists, tell the user it already is |
| 523 | available, without disclosing the server side path from gerrit.basePath. |
| 524 | |
| 525 | * Do not log timeout errors on upload and receive connections |
| 526 | |
| 527 | * Only automatically create accounts for LDAP systems |
| 528 | + |
| 529 | If the account management is LDAP, try to automatically create |
| 530 | accounts by looking up the data in LDAP. Otherwise fail and reject an |
| 531 | invalid account reference that was supplied on the command line via |
| 532 | SSH. |
| 533 | |
| 534 | * Add missing RevWalk.reset() after checking merge base |
| 535 | + |
| 536 | This fixes an exception from RevWalk when trying to push a new |
| 537 | commit for review. |
| 538 | |
| 539 | * issue 1069 Do not send an email on reviews when there is no message. |
| 540 | + |
| 541 | No longer send an email when reviewing a change via ssh, and |
| 542 | the change message is blank (when no change message is actually |
| 543 | added to the review). |
| 544 | |
| 545 | * Ignore PartialResultException from LDAP. |
| 546 | + |
| 547 | This exception occurs when the server isn't following referrals for |
| 548 | you, and thus the result contains a referral. That happens when |
| 549 | you're using Active Directory. You almost certainly don't really want |
| 550 | to follow referrals in AD *anyways*, so just ignore these exceptions, |
| 551 | so we can still use the actual data. |
| 552 | |
| 553 | * issue 518 Fix MySQL counter resets |
| 554 | + |
| 555 | gwtorm 1.1.5 was patched to leave in the dummy row that incremented |
| 556 | the counter, ensuring the server will use MAX() + 1 instead of 1 on |
| 557 | the next increment after restart. |
| 558 | |
| 559 | * Don't delete account_id row on MySQL |
| 560 | + |
| 561 | If the table is an InnoDB table deleting the row after allocation may |
| 562 | cause the sequence to reset when the server restarts, giving out |
| 563 | duplicate account_ids later. |
| 564 | |
| 565 | |
| 566 | Documentation |
| 567 | ------------- |
| 568 | |
| 569 | New Documents |
| 570 | ~~~~~~~~~~~~~ |
| 571 | * First Cut of Gerrit Walkthrough Introduction documentation. |
| 572 | + |
| 573 | Add a new document intended to be a complement for the existing |
| 574 | reference documentation to allow potential users to easily get a |
| 575 | feel for how Gerrit is used, where it fits and whether it will |
| 576 | work for them. |
| 577 | |
| 578 | * Introducing a quick and dirty setup tutorial |
| 579 | + |
| 580 | The new document covers quick installation, new project and first |
| 581 | upload. It contains lots of quoted output, with a demo style to it. |
| 582 | |
| 583 | Access Control |
| 584 | ~~~~~~~~~~~~~~ |
| 585 | * Code review |
| 586 | |
| 587 | * Conversion table between 2.1 and 2.2 |
| 588 | + |
| 589 | Add a table to ease conversion from 2.1.x. The table tries to address |
| 590 | the old permissions one by one except for the push tag permission which |
| 591 | in effect needed two permissions to work properly. This should |
| 592 | be familiar to the administrator used to the 2.1.x permission model |
| 593 | however. |
| 594 | |
| 595 | * Reformatted text |
| 596 | |
| 597 | * Verify |
| 598 | + |
| 599 | Updated some text in the Per project-section and edited the verified |
| 600 | section to reflect the current label. |
| 601 | |
| 602 | * Capabilities |
| 603 | + |
| 604 | Adds general information about global capabilities, how the server |
| 605 | ownership is administered. |
| 606 | |
| 607 | * Added non-interactive users |
| 608 | + |
| 609 | This change adds the non-interactive user group. |
| 610 | It also adds that groups can be members of other groups. |
| 611 | The groups are now sorted in alphabetical order. |
| 612 | |
| 613 | * Reordering categories |
| 614 | + |
| 615 | Access categories are now sorted to match drop down box in UI |
| 616 | |
| 617 | Other Documentation |
| 618 | ~~~~~~~~~~~~~~~~~~~ |
| 619 | * Added additional information on the install instructions. |
| 620 | + |
| 621 | The installation instructions presumes much prior knowledge, |
| 622 | make some of that knowledge less implicit. |
| 623 | |
| 624 | * Provides a template to the download example. |
| 625 | + |
| 626 | Clarifies that the example host must be replaced with proper |
| 627 | hostname. |
| 628 | |
| 629 | * Provided an example on how to abandon a change from |
| 630 | the command line |
| 631 | |
| 632 | * update links from kernel.org to code.google.com |
| 633 | |
| 634 | |
| 635 | * Rename '-- All Projects --' in documentation to 'All-Projects' |
| 636 | |
| 637 | * Explain 'Automatically resolve conflicts' |
| 638 | |
| 639 | * Update documentation for testing SSH connection |
| 640 | + |
| 641 | The command output that is shown in the example and the description |
| 642 | how to set the ssh username were outdated. |
| 643 | |
| 644 | * Remove unneeded escape characters from the documentation |
| 645 | + |
| 646 | The old version of asciidoc required certain characters to be escaped |
| 647 | with a backslash and when the upgrade to the new version was done all |
| 648 | those backslashes that were used for escaping became visible. |
| 649 | |
| 650 | * Clean up pgm-index |
| 651 | + |
| 652 | Break out the utilities into their own section, and correct |
| 653 | some of the item descriptions. |
| 654 | |
| 655 | * Update manual project creation instructions |
| 656 | |
| 657 | * Update project configuration documentation |
| 658 | + |
| 659 | Remove the textual reference to obsolete SQL insert statement to |
| 660 | create new projects. |
| 661 | |
| 662 | * Clean up command line documentation, examples |
| 663 | + |
| 664 | The formatting was pretty wrong after upgrading to a newer version |
| 665 | of AsciiDoc, so fix up most of the formatting, correct some order |
| 666 | of commands in the index, and make create-project conform to the |
| 667 | same format used by create-account and create-group. |
| 668 | |
| 669 | * Correct syntax of SQL statement for inserting approval category |