gerrit/ReleaseNotes/ReleaseNotes-2.2.0.txt
Yuxuan 'fishy' Wang 4f5ad9d313 Use buck rule for ReleaseNotes instead of Makefile
This eliminates the last Makefile in our code base.

Also change the section style within ReleaseNotes from asciidoc style to
asciidoctor style.

Also I feel that put images/link.png under ReleaseNotes and deal with
all the resource packing is too stupid, so I used the unicode emoji
instead of the picture ("🔗"). If this is too crazy, we can also use "#"
instead :) This also affects documentation rendering.

Other side effects:

1. The css of release notes switched from default asciidoc css into
default asciidoctor css.
2. The section anchors for ReleaseNotes/index.html changed from "2_13"
to "s2_13", because asciidoctorj is unhappy with anchors without
letters.

Change-Id: I4adf2ce090385cc6b699445012f10a009892aaac
2016-05-17 23:23:31 +00:00

60 lines
2.1 KiB
Plaintext

= Release notes for Gerrit 2.2.0
Gerrit 2.2.0 is now available:
link:https://www.gerritcodereview.com/download/gerrit-2.2.0.war[https://www.gerritcodereview.com/download/gerrit-2.2.0.war]
== Schema Change
*WARNING:* Upgrading to 2.2.0 requires the server be first upgraded
to 2.1.7, and then to 2.2.0.
*WARNING:* This release contains schema changes. To upgrade:
----
java -jar gerrit.war init -d site_path
----
*WARNING:* The "projects" and "ref_rights" tables are no longer
stored in the SQL database. The tables have been moved to Git
storage, inside of the `refs/meta/config` branch of each managed
Git repository. The init based upgrade tool will automatically
export the current table contents and create the Git data.
== New Features
=== Project Administration
* issue 436 List projects by scanning the managed Git directory
+
Instead of generating the list of projects from SQL database, the
project list is obtained by recursively scanning the Git directory.
Adding new projects is now simply a matter of creating the Git
repository under the directory and flushing the "projects" cache
to force the server to rescan the directory. Administrators may
also continue to use `gerrit create-project`.
* Move "projects" table into Git
+
The projects table columns are now stored in the `project.config`
file of the `refs/meta/config` branch of each managed Git repository.
* Move "ref_rights" table into Git
+
The "ref_rights" table is now stored in the "access" sections of
the `project.config` file on the `refs/meta/config` branch of each
managed Git repository. This brings version control auditing to the
access data of each project.
* New project Access screen to edit access controls
+
The Access panel of the project administration has been rewritten
with a new UI that reflects the new Git based storage format.
== Bug Fixes
=== Project Administration
* Avoid unnecessary updates to $GIT_DIR/description
+
Gerrit always tried to rewrite the gitweb "description" file when the
project was modified. This lead to unnecessary changes in the local
filesystem, leading to more data to rsync to backups than necessary.
Fixed to only update the file if the content changes.