Don't restrict the visibility of <plugin_name>__plugin library

With migration of its-base library and ITS-based plugins we have first
time the requirement that the library <plugin_name>__plugin is visible
not only in project itself (for java_tests() rule) and
tools/eclipse/project.py but also in other projects.

Change-Id: Iac18ff8a387cc7d21a50f2409339401f198dee40
Add bucklet based build to plugin archetype

If a plugin project is generated with the Maven plugin archetype it
should immediately be buildable with Buck, because Buck is our
preferred build tool for building plugins.

Change-Id: I158dc3df76e4585d9894b0be862aef4d13deb478
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
SshLog: audit methods cleaned-up

Change-Id: Ieedfe2291d02203a67b4b24cee4a791733eff170
Signed-off-by: Eryk Szymanski <eryksz@gmail.com>
Merge "SshLog: audit methods cleaned-up"
Add support for regex in project list screen

Add support for regex in project list screen filter. If filter start
with '^', then the filter will be interpreted as a regex.

Feature: Issue 2751
Change-Id: I1cf8a0f9fc18a6e286a2a26c71be77f1d4f16741
Fix reading parameters from subsections during init step

The get method did not correctly pass the subsection parameter. This is
fixed now. The set method correctly writes values to subsections.

Change-Id: Id6e38c7ca9fe056422a5db828e7e16d26a32a6ef
Signed-off-by: Stefan Lay <stefan.lay@sap.com>
Merge "Fix reading parameters from subsections during init step"
Update description of core.useRecursiveMerge

The recursive merge in JGit is not new and experimental anymore.

Add a link to a blog that explains how the recursive merge works and
why it is better than the normal merge algorithm.

Change-Id: Ibeb9300d915f5702ebde9ff900db081ec1b2126e
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Use recursive merge by default

If two commits that are merged have more than one common predecessor
the recursive merge is superior. In this situation the normal
non-recursive merge may even result in broken files without notice.
This is why the recursive merge should be enabled by default.

Change-Id: I4c5b8b2c6d406ec925da05838696c5c57f2348ef
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Update replication plugin

* Move replication logs into a separate file
* Add id to PushOne and print it in the log and in show-queue command
* Add buck resources to .gitignore
* Debug logging when replication is scheduled
* Promote replication scheduled logs to info

Change-Id: I8e31556ab34c77088649af79fdfadb77b5a297c1
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Refactor authentication types to remove code duplication

The code to extract the redirect token is duplicated in several places.
Move the code into LoginUrlToken.

Change-Id: I8b8917f76d6fd0126f78fbb040594d0bb74aa628
Merge "Refactor authentication types to remove code duplication"
Buck: Export gerrit-antlr artifacts to plugin-api library

Because of missing export for gerrit-antlr artifacts in tree Gerrit
plugin cannot compile when they reference gerrit antlr classes. For
example reviewers plugin needs it.  Fix by exporting these classes,
as it is already the case for other projects, like gerrit-common.

Change-Id: I9e5832310271821c1bf355841ad32ff92f60000a
Merge "Update description of core.useRecursiveMerge"
Merge "Use recursive merge by default"
Merge "Add bucklet based build to plugin archetype"
Merge "Buck: Export gerrit-antlr artifacts to plugin-api library"
Improve error logging on receive commits

Make sure that in all cases where a push is rejected with
"REJECTED_OTHER_REASON (internal server error)" or
"REJECTED_OTHER_REASON (internal error)" a log entry is written and
that this log entry contains the project name.

Change-Id: Ib04d1c4550f1511b1c83462147b9a2d7d8d7f51d
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Merge "Improve error logging on receive commits"
Add section about commit validation to project owner guide

Change-Id: I3f94fa27197ceacd1edc16f135ab42644fc042eb
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>