| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* stable-2.6:
Fix javadoc generation for gerrit extension and plugin API
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It was a bad idea to use the maven-dependency-plugin to unpack the
sources for the javadoc generation as this plugin needs to download
the source artifact from a Maven repository. At this point in time the
source artifact only exists in the local target folder but is not yet
installed into a Maven repository. Instead we are now using the
maven-antrun-plugin to unzip the local source artifact.
Change-Id: I37a7f2e214a395f0c64fbe8001655ed842bab01f
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
|
|\|
| |
| |
| |
| |
| | |
* stable-2.6:
Prevent expansion when whole file isn't loaded
Generate javadoc for gerrit extension and plugin API
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To make the consumption of the gerrit extension and plugin API easier
for plugin developers gerrit-extension-api.jar and
gerrit-plugin-api.jar should be published to Maven central. For this
having javadocs generated is required.
Change-Id: Ibb13fbb61c94c76fe6e2f7041d5a1e269d39d788
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
|
|\|
| |
| |
| |
| |
| |
| |
| | |
* stable-2.6:
Skip non-commits when verifying access for 'add branch' operation
Fix gerrit-extension-api-X.Y-all-sources.jar
Change-Id: I937e595e6fef942763dd5dd4e1436212d8b6ae3b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Maven artifact gerrit-extension-api-X.Y-all-sources.jar that
should contain the sources of the gerrit-extension-api doesn't contain
any source from the com.google.gerrit.extensions package. Configuring
the Maven plugin 'maven-source-plugin' fixes this.
Change-Id: I4493328a804b45ecd93d0dbf259397ab79182810
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
|
| |
| |
| |
| | |
Change-Id: I7b6704181bae0953d7de021611ff8e8a0165b93f
|
| |
| |
| |
| | |
Change-Id: I49a7fc97fd6d4f199c25774faa50ec4a826ae64a
|
|/
|
|
| |
Change-Id: I08dc590bb1f62af67d88eb11313d5d4cfe2423c4
|
|
|
|
|
| |
Change-Id: I4fb8cb41250c5b640a8d9e47caf97dc4670ff428
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit c0732b13010b1d83dccf6d69002a1653087ad24e
The commit broke server startup with:
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at com.google.gerrit.extensions.registration.DynamicSet.<clinit>(DynamicSet.java:45)
at com.google.gerrit.server.config.GerritGlobalModule.configure(GerritGlobalModule.java:146
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Whenever a new class is self-registered from a plug-in
additional INFO message is displayed with class name
and listener / exported interface.
Additionally when a Listener fails to get created
from injection into a DynamicSet, an error is logged
allowing the plug-in developer to understand what
was the problem.
Without this patch, you may see your plus-in loading
correctly but then the listeners being discarded
silently and you would spend a lot of time figuring
out where the problem was.
Change-Id: Ief3d3c5a3012136f73296a3afa5c85c22fc38bb7
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unless a plugin declares "Gerrit-ApiType: plugin" in its manifest,
assume it is an extension and only make the gerrit-extension-api
available to it through the ClassLoader.
For non-plugins, do not make any Guice bindings available from the
server. This further restricts what an extension can see and do with
the system internals.
Change-Id: Ia38336c42786afb1419d64c06b0d908ae92a64d1
|
|
This module will hold a set of thin interfaces that extensions can
build against. Extensions are more lightweight than plugins and have
a smaller surface of the Gerrit server available to them.
Change-Id: I4213004f1ba5c034cf8fc7fbb9f6dd53f3ec8a96
|