commit | b06d2e33b2ee554744ad20626bc6df4cd3bd4cd7 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sun Nov 01 11:00:18 2015 +0100 |
committer | Saša Živkov <zivkov@gmail.com> | Thu Feb 18 10:31:07 2016 +0000 |
tree | 6e49d0fa953782f6cd286ef6aed00b14386b0925 | |
parent | 25ffc14254f40890e1dc6f215c5c9d0c01d535d4 [diff] |
Replace AccountGeneralPreferences entity with git backend (phase 2) Replace the usage of AccountGeneralPreferences with a different class in extension API package. Given that this is embedded entity in the accounts table, only the columns are removed from the database, while the accounts table itself is still preserved. Bump database version, migrate the data from db to git and delete the entity from the code. As the consequence the following columns from accounts table are removed: size_bar_in_change_table maximum_page_size relative_date_in_change_table use_flash_clipboard legacycid_in_change_table diff_view mute_common_path_prefixes email_strategy show_site_header download_command download_url date_format time_format review_category_strategy Previously GET and PUT REST handlers for user preferences mixed db and git operations because parts of the preferences (my menu entries and URL aliases) were alreay stored in git backend. Now that the whole data is stored in git backend, caching mechanism is needed to not degrade the performance when retrieving the user preferences on the server side in different use cases, like sending mail etc. Use Account entity for this and extend AccountCache implementation to load general user preferences. Download-commands plugin must be updated, as it references the old entity. Change-Id: I35311539f73e0f7baeaedff779bc44c2f5b133f8
Gerrit is a code review and project management tool for Git based projects.
Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.
Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer.
For information about how to install and use Gerrit, refer to the documentation.
Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.
Please report bugs on the issue tracker.
Gerrit is the work of hundreds of contributors. We appreciate your help!
Please read the contribution guidelines.
Note that we do not accept Pull Requests via the Github mirror.
The IRC channel on freenode is #gerrit. An archive is available at: echelog.com.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Buck and run the following:
git clone --recursive https://gerrit.googlesource.com/gerrit cd gerrit && buck build release
The instruction how to configure GerritForge/BinTray repositories is here
On Debian/Ubuntu run:
apt-get update & apt-get install gerrit=<version>-<release>
NOTE: release is a counter that starts with 1 and indicates the number of packages that have been released with the same version of the software.
On CentOS/RedHat run:
yum clean all && yum install gerrit-<version>[-<release>]
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.