blob: 58605fe0abaef32743e682db804886c24f441b01 [file] [log] [blame]
Shawn O. Pearce55e90252011-05-31 10:30:18 -07001Release notes for Gerrit 2.2.0
2==============================
3
4Gerrit 2.2.0 is now available:
5
6link:http://code.google.com/p/gerrit/downloads/detail?name=gerrit-2.2.0.war[http://code.google.com/p/gerrit/downloads/detail?name=gerrit-2.2.0.war]
7
8Schema Change
9-------------
10*WARNING:* Upgrading to 2.2.0 requires the server be first upgraded
11to 2.1.7, and then to 2.2.0.
12
13*WARNING:* This release contains schema changes. To upgrade:
14----
15 java -jar gerrit.war init -d site_path
16----
17
18*WARNING:* The "projects" and "ref_rights" tables are no longer
19stored in the SQL database. The tables have been moved to Git
20storage, inside of the `refs/meta/config` branch of each managed
21Git repository. The init based upgrade tool will automatically
22export the current table contents and create the Git data.
23
24New Features
25------------
26
27Project Administration
28~~~~~~~~~~~~~~~~~~~~~~
29* issue 436 List projects by scanning the managed Git directory
30+
31Instead of generating the list of projects from SQL database, the
32project list is obtained by recursively scanning the Git directory.
33Adding new projects is now simply a matter of creating the Git
34repository under the directory and flushing the "projects" cache
35to force the server to rescan the directory. Administrators may
36also continue to use `gerrit create-project`.
37
38* Move "projects" table into Git
39+
40The projects table columns are now stored in the `project.config`
41file of the `refs/meta/config` branch of each managed Git repository.
42
43* Move "ref_rights" table into Git
44+
45The "ref_rights" table is now stored in the "access" sections of
46the `project.config` file on the `refs/meta/config` branch of each
47managed Git repository. This brings version control auditing to the
48access data of each project.
49
50* New project Access screen to edit access controls
51+
52The Access panel of the project administration has been rewritten
53with a new UI that reflects the new Git based storage format.
54
55Bug Fixes
56---------
57
58Project Administration
59~~~~~~~~~~~~~~~~~~~~~~
60* Avoid unnecessary updates to $GIT_DIR/description
61+
62Gerrit always tried to rewrite the gitweb "description" file when the
63project was modified. This lead to unnecessary changes in the local
64filesystem, leading to more data to rsync to backups than necessary.
65Fixed to only update the file if the content changes.