RETIRED, Gerrit as used by OpenStack
Go to file
Dave Borowitz 81e07a886c ChangeJson: Refactor revision codepath
Use GitRepositoryManager directly to read the commit, rather than
going implicitly through PatchSetInfoFactory. This allows a single
Repository/RevWalk to eventually be shared by more options in this
codepath. We also don't need the ChangeData at all, as we can get
everything we need from the ChangeControl.

Since more statements may now throw IOException, allow this and other
exceptions to propagate up through all the private methods of
ChangeJson, only wrapping in OrmException at the top-level public
methods.

This does result in some code duplication in GetCommit, but it's
pretty simple boilerplate.

Change-Id: I56a916745576f8f2db4547756605d48008f3dc2d
2015-04-28 09:40:03 -07:00
.settings Update import order settings to list all top-level packages 2015-03-25 20:36:56 +00:00
bucklets Rename __standalone_mode__ to STANDALONE_MODE 2014-11-24 08:44:12 +00:00
contrib Fix minor python code style issues 2014-12-18 02:51:06 +00:00
Documentation Merge branch 'stable-2.11' 2015-04-27 18:25:04 +09:00
gerrit-acceptance-tests Merge branch 'stable-2.11' 2015-04-27 14:47:38 +09:00
gerrit-antlr Support change~branch~id in query syntax 2014-12-10 09:55:08 -08:00
gerrit-cache-h2 SitePaths: Convert site_path itself to Path 2015-03-03 11:48:05 +09:00
gerrit-common Move GroupInfo and related classes from GroupJson to extensions 2015-04-14 09:01:38 -04:00
gerrit-extension-api Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00
gerrit-gwtdebug Organize imports 2014-12-18 11:16:03 +09:00
gerrit-gwtexpui Allow to build api with Java 8 2015-03-29 16:21:33 +02:00
gerrit-gwtui Dashboard: Link dashboard section titles to the underlying search 2015-04-27 10:39:23 -07:00
gerrit-gwtui-common Remove unused "remove reviewer" image 2015-01-08 18:39:58 +09:00
gerrit-httpd Merge "Insert Change-Id into access right changes" 2015-04-22 14:20:27 +00:00
gerrit-launcher Replace C-style array declarations with Java-style declarations 2015-03-19 12:15:43 +09:00
gerrit-lucene IndexConfig: Configure maxLimit from Config 2015-04-23 11:30:13 -07:00
gerrit-main Replace C-style array declarations with Java-style declarations 2015-03-19 12:15:43 +09:00
gerrit-oauth Merge branch 'stable-2.10' into stable-2.11 2015-04-14 14:29:36 +09:00
gerrit-openid Merge branch 'stable-2.10' into stable-2.11 2015-04-16 22:30:54 +09:00
gerrit-patch-commonsnet Replace 'for' loop with 'foreach' 2013-12-04 01:02:53 +04:00
gerrit-patch-jgit Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-pgm Merge branch 'stable-2.11' 2015-04-20 09:52:09 +02:00
gerrit-plugin-api Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00
gerrit-plugin-archetype Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00
gerrit-plugin-gwt-archetype Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00
gerrit-plugin-gwtui Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00
gerrit-plugin-js-archetype Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00
gerrit-prettify Add missing braces around if- for- and while-statements 2015-03-19 12:15:42 +09:00
gerrit-reviewdb Tests for the utility methods in RefNames 2015-04-27 17:01:51 +09:00
gerrit-server ChangeJson: Refactor revision codepath 2015-04-28 09:40:03 -07:00
gerrit-solr IndexConfig: Configure maxLimit from Config 2015-04-23 11:30:13 -07:00
gerrit-sshd Groups: Add create methods 2015-04-14 09:08:54 -04:00
gerrit-util-cli Add missing braces around if- for- and while-statements 2015-03-19 12:15:42 +09:00
gerrit-util-http Fix line length warnings 2015-03-19 18:35:04 +09:00
gerrit-util-ssl Turn on many more Eclipse warnings, and fix them 2014-10-29 15:00:17 -07:00
gerrit-war Merge branch 'stable-2.11' 2015-04-20 09:52:09 +02:00
lib Add syntax highlighting support for puppet 2015-04-14 08:53:15 -07:00
plugins Update the cookbook plugin revision 2015-04-17 16:56:05 +09:00
ReleaseNotes Merge branch 'stable-2.11' 2015-04-20 10:32:27 +09:00
tools Fix Eclipse project generation when plugins without tags are present 2015-04-14 17:49:21 +09:00
website/releases Releases: Update website to use Cloud Storage v1 API 2014-11-21 12:22:59 -08:00
.buckconfig Build Gerrit in headless mode 2015-03-04 10:59:02 +09:00
.buckversion Update buck version to same as master 2015-04-14 14:47:50 +09:00
.editorconfig Add basic EditorConfig 2015-03-03 07:12:16 +00:00
.gitignore Revert "Add UNIT_TEST_GERRIT_SITE to .gitignore" 2015-04-27 14:49:03 +09:00
.gitmodules Add singleusergroup plugin 2013-11-09 07:45:00 +01:00
.mailmap Update mailmap 2015-04-08 07:50:41 +00:00
.pydevproject Update PyDev project to use Python 2.7 2014-10-02 15:16:44 +09:00
.watchmanconfig Watchman: Add buck-out dir to ignored directories 2014-08-21 07:32:37 +02:00
BUCK Build Gerrit in headless mode 2015-03-04 10:59:02 +09:00
COPYING Initial project setup of Gerrit 2 2008-11-14 16:59:34 -08:00
INSTALL Remove Gerrit 1.x to 2.x import tools 2009-03-27 20:20:10 -07:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
VERSION Update version to 2.10.3.1 2015-04-17 13:17:20 +02:00