19 Commits

Author SHA1 Message Date
Dmitrii Filippov
6ed766f886 Add submodule to support legacy HTML imports
The Polymer 3 doesn't support HTML import. To avoid massive code
changes during transition to Polymer 3 bridges must be added.
Bridges are added as a git submodule.

The bridges are not used in this change.

Change-Id: I3989a303e44dad75fa286228bf510e72b06aae91
2020-02-12 15:29:20 +00:00
David Pursehouse
18b5bbe2d4 Remove branch value from jgit submodule
The branch value is only used by Gerrit to manage automatic
submodule subscription updates. This feature is not used for
the jgit submodule because its code is reviewed on another
gerrit server.

Change-Id: I65594a64fbe4715baf1351a5c8b64af3618366fb
2019-10-16 10:18:21 +09:00
David Ostrovsky
8bec85501e Link to JGit source as git submodule
This is the second attempt to build JGit from the source using git
submodule approach. The first attempt that was abandoned is here: [1].

Using a submodule to bring in the source files vastly simplifies
updating JGit. Gerrit developers can bump the SHA-1 of the submodule
and not deal with the Maven rebuild process for JGit.

This change updates JGit dependency from 5.4.3.201909031940-r to commit
009e07882fee2b0ad2ebe7ba44e2ff52c101f858, and Javadoc version from:
5.4.3.201909031940-r to 5.5.0.201909110433-r.

To bump to new Javadoc API _DOC_VERS should be updated in
java/com/google/gerrit/extensions/BUILD to point to the desired JGit
Javadoc release.

JGit sources are imported in Eclipse as source folders. One side effect
of this change is that the source code warnings for JGit project are now
shown.

[1] https://gerrit-review.googlesource.com/c/gerrit/+/61892

Feature: Issue 11737
Change-Id: I16370e57f27e26b2382243ca448484f53dfa96bb
2019-10-15 17:22:39 +02:00
David Ostrovsky
935868568c Add plugin-manager as core plugin
Having a mechanism to discover, install and upgrade plugins
is an expected feature for a core distribution.

Plugin manager has been included since the very beginning in
the binary packages (RPMs and Debs) and in the famous Docker
image that has been pulled over 100k times.

The only place where the plugin-manager is not present is
the WAR package: this proposal fills the gap and aligns the
package with the rest of the current distributions.

Feature: Issue 10717
Change-Id: Ia5b9c74f177aac135100d3cf138a38697a2db0ca
2019-05-03 06:58:24 +00:00
David Ostrovsky
55ff68f8d5 Add gitiles as core plugin
Feature: Issue 10334
Change-Id: I5ebca8a20d0933fb920cee17f46ceefad6309656
2019-01-23 11:21:14 +00:00
David Pursehouse
faf6c41050 Add webhooks as a core plugin
Change-Id: Ib450f5815e9698aba2b6ffdbd85c69daea72ac24
2018-12-07 14:07:23 +09:00
David Pursehouse
1e150738d8 Add delete-project as a core plugin
Also add dependency on Mockito, which is now exported in the
acceptance framework. There are several other plugins using
this dependency, so exporting it in the acceptance framework
will have the nice side effect that we no longer need to keep
updating them individually.

Also note that one of the other plugins that uses Mockito is
the webhooks plugin, which is also planned to be added as a
core plugin.

Feature: Issue 8863
Change-Id: I72c0694ec6fcbabc2ef030014268738aa69cb707
2018-12-07 13:28:08 +09:00
Kasper Nilsson
75147c0af3 Modify plugins:core to build codemirror-editor
Bug: Issue 4437
Change-Id: I6ca6049f5371515e0891e7e334dc66bd9c12167e
2017-12-09 00:59:31 +01:00
David Pursehouse
ed4d5ecc7c Remove the cookbook-plugin submodule
The cookbook-plugin was made read-only with the intention of replacing
it with a new examples plugin.

Remove the submodule before any futher changes are made in core Gerrit
that will end up causing build problems due to interface changes.

Change-Id: Id8536dc9c3750eecd76bdf61e1d24af92333ce25
2017-03-24 10:59:31 +09:00
Stefan Beller
614e28e4a6 Adapt .gitmodules to enable superproject subscriptions
Change-Id: If6f0fddfe1b3e482f9a0f4e33bfa7ae150e9db49
2016-07-27 12:01:40 -07:00
David Pursehouse
cad96d6462 Move hooks from core Gerrit to 'hooks' plugin
Change-Id: If45b32ffb0e9f52677886103212563d8af6c6099
2016-07-04 11:06:18 +09:00
Shawn Pearce
fde6370071 Add singleusergroup plugin
Like the cookbook plugin, keep the singleusergroup plugin in the
primary build to make it easier to detect API version changes,
but do not (yet) include it as a core plugin in release binaries.

Change-Id: I24d2d3c7eb461d573d1666a1af631a3caeee2eac
2013-11-09 07:45:00 +01:00
David Pursehouse
6d093932ce Set git submodules back to relative paths
In 246f9b52854fc1b11dbe14085e2c0ac0f6ddda95 the submodules were
changed to use absolute paths, to prevent problems on mirrors
where only the gerrit project is present, or where the plugin gits
are not on the same relative path as they are on gerrit-review.

This however causes problems for mirrors where the plugins *are*
present and in the expected relative path:  the plugins are still
cloned off the gerrit-review server, rather than the mirror.

Switch them back to relative paths to fix this.

Change-Id: I30b5e6f96fbbc538665be9a618c3cf092e1588f1
2013-10-29 17:04:35 +09:00
Edwin Kempin
7bfe1686e4 Register core plugin that implements the standard download commands
Change-Id: I07e7f9f0a7f68f3491d26afbacee4992c87e81c5
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2013-10-16 22:08:17 +02:00
Edwin Kempin
048cf106bf Alpha sort submodules
Change-Id: I43eaef21650c6d8f4aff5c5e7365dd6f4222d13a
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2013-10-14 08:45:54 +02:00
David Pursehouse
010c06b9e7 Replace helloworld plugin with cookbook plugin
Change-Id: I113d072da5120ea59154f1a709195de432143589
2013-08-13 11:41:58 +09:00
David Pursehouse
a8d38fb1f7 Add helloworld plugin as a git submodule
The helloworld plugin is used to demonstrate features of the
plugin API.

Add it as a submodule so it's included in the tree.  Thus we
can make sure it's always buildable against the latest Gerrit
code base.

Change-Id: I1450ce02d04cf213eaeaaca0386a357d99423c4a
2013-05-28 16:21:25 +09:00
Christian Aistleitner
246f9b5285 Reference included plugins by absolute Urls
While the use of relative Urls for referencing included plugin
repositories works nicely when cloning directly from gerrit-review, it
caused problems when cloning from a mirror that only mirrored the main
gerrit repository. There 'git submodule update' did not work unless
the referenced plugin repositories were also mirrored in exactly the
same relative position as on gerrit-review. Hence, we switch to
referencing the included plugin repositories by absolute Urls.

Change-Id: I1230f398cc7d2323922aff7f7acf92eac30f3ab5
2013-05-18 17:59:28 +02:00
Shawn Pearce
b0c599d1fd Ensure core plugins are bundled by Maven
Require the core plugins whenever a Gerrit build is run.
These are pulled into the Maven Reactor by being inside
of git submodules. Plugins can be omitted by passing a
-Dgerrit.plugins.skip=true flag on the command line.

Change-Id: I7246389bcae9e98d5f1d46208ff515855eb7c474
2013-05-06 15:36:46 -07:00