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