gerrit/plugins
Dave Borowitz 0a741dd21c Store preferred download scheme as arbitrary strings
Although plugins can register download schemes with arbitrary names,
the getter/setter in AccountGeneralPreferences were allowing only a
specific enum type corresponding to the core download schemes. Get rid
of that enum type, and store arbitrary strings in the database. To
avoid a schema upgrade (which would be an annoying multi-step process
for a zero-downtime upgrade), convert to/from the old enum-string
values in AccountGeneralPreferences. Everywhere else, use the key from
the scheme map, e.g. "anonymous http" instead of "ANON_HTTP". This
eliminates the special-case code when sending RPCs from the client,
and avoids weird undocumented behavior in the set preferences REST API
call.

Change-Id: I3e2397d8dfa15d20329cc83e1e3fe069c8e021c4
2015-09-08 08:44:55 -04:00
..
commit-message-length-validator@8d295ed48e Update commit-message-length-validator plugin to latest revision 2015-05-19 17:35:58 +09:00
cookbook-plugin@b9d3ca8a65 Use try-with-resource when opening stream 2015-08-27 18:40:14 +09:00
download-commands@6d4e0a45ad Store preferred download scheme as arbitrary strings 2015-09-08 08:44:55 -04:00
replication@cc91e0c298 Open Repository and RevWalk in try-with-resource 2015-08-27 18:40:14 +09:00
reviewnotes@26f38c4514 Open Repository and RevWalk in try-with-resource 2015-08-27 18:40:14 +09:00
singleusergroup@6fb010107a Open review DB in try-with-resource where appropriate 2015-08-27 18:40:08 +09:00
BUCK Buck: Make deps to $(exe :foo) and $(location :bar) implicitly 2014-06-10 07:29:42 +00:00
README Ensure core plugins are bundled by Maven 2013-05-06 15:36:46 -07:00

If you are adding a directory here:

- Search all pom.xml files for "CORE PLUGIN LIST".
- Add the new plugin to that location.
- (optional) Thank the Maven developers for making this easy.

- Ensure the plugin's pom.xml <version> is the same as Gerrit's
  own pom.xml(s). Gerrit will only embed a plugin that has the
  same version as itself.

- Register the plugin as a submodule with git submodule.