* stable-2.8:
Update replication plugin to latest revision
Allow download schemes to support but not require authentication
Don't mention label abbreviation in search documentation
Don't mention Verified as a default label in search documentation
Minor fixes in dev-plugin documentation
Document how a plugin can force state update of UiAction
Change-Id: I9ba217e20291271bdb1ec6d579efe37f9efc91ba
This updates the replication plugin to the latest revision
on the stable-2.8 branch, and adds the following change:
- Fix invalid syntax in SSH config file example
Change-Id: I79ac7cc93f14d9ca0dc6937f8e8cec6301301da2
This updates the core plugins to the latest revisions on their
master branch, adding the following changes:
All plugins:
- Update API version to 2.9-SNAPSHOT in pom.xml
Cookbook:
- Add example of getting plugin name injected
Replication:
- Delete the ReplicationType enum and simplify ReplicationState
Change-Id: If3af328a3e9be33e9182db75459b834ad44db83c
This updates the plugins to versions that are adapted to the
simplified GitReferenceUpdatedListener.Event API.
Change-Id: I0d01639c4738945aafd3920acdfbe26cf23c176b
* Add port to replication status and display path for local
replication
Change-Id: I483b95255b4b7e15581836fba8bc3b4d69206b47
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This adds the following commits:
- Fix note creation when the same commit exists in another Git repository.
- Fix committing the notes from the export command.
Change-Id: I7d679235da70ae0939e83ed11c0b2e8a753d8997
This revision adds:
- Extend Gerrit's top menu with plugin-owned entry
Change-Id: Iab0da66e9ecee990cb163e35110e5405054c32c5
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
The replication is updated to include the following changes:
* a9fcff5 Create missing repositories on the remote site
* ad923e4 Support replication of project deletions
a9fcff5 is a change in behaviour of the replication plugin and a
warning about this should be added to the release notes.
Change-Id: Ic5c643c8a10b27e61e0a34fe15acfdc0cdec9c9d
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
* stable-2.7:
Set version to 2.7
Fix installation of plugins
Fix change stuck in SUBMITTED state but actually merged
Remove documentation links from admin page
NPE when deleting draft patch set when previous draft already deleted
Fix example for 'test-submit rule' in Prolog cookbook
Mark ALREADY_MERGED changes as merged in the DB and run hooks
Conflicts:
gerrit-acceptance-tests/pom.xml
gerrit-antlr/pom.xml
gerrit-cache-h2/pom.xml
gerrit-common/pom.xml
gerrit-extension-api/pom.xml
gerrit-gwtdebug/pom.xml
gerrit-gwtexpui/pom.xml
gerrit-gwtui/pom.xml
gerrit-gwtui/src/main/java/com/google/gerrit/client/admin/AdminConstants.properties
gerrit-httpd/pom.xml
gerrit-launcher/pom.xml
gerrit-main/pom.xml
gerrit-openid/pom.xml
gerrit-patch-commonsnet/pom.xml
gerrit-patch-jgit/pom.xml
gerrit-pgm/pom.xml
gerrit-plugin-api/pom.xml
gerrit-plugin-archetype/pom.xml
gerrit-plugin-gwt-archetype/pom.xml
gerrit-plugin-gwtui/pom.xml
gerrit-plugin-js-archetype/pom.xml
gerrit-prettify/pom.xml
gerrit-reviewdb/pom.xml
gerrit-server/pom.xml
gerrit-sshd/pom.xml
gerrit-util-cli/pom.xml
gerrit-util-ssl/pom.xml
gerrit-war/pom.xml
plugins/commit-message-length-validator
plugins/replication
plugins/reviewnotes
pom.xml
Change-Id: Iacb961caf52032e7e445be9ed81376db849e171b
The new revision includes the following changes:
- Introduce remoteNameStyle = basenameOnly
- Add retry counts to replication tasks so they can be viewed by
show-queue
Change-Id: Ib13b956ecd36a5bcd7199f4490787871e60c89db
Update the plugins to get the latest changes.
Core plugins:
- Add an 'About' section in the documentation
Helloworld:
- Fix documentation structure
- Add an 'About' section in the documentation
Change-Id: I3a51c8c097a760af08b272b7db8cbe29f06ab817
Update the revision of the replication plugin to get the
following changes:
- Make ${name} optional when replicating only a single repository
- Implement pattern-based project matching in replication.config
Change-Id: I5d9ed40f43dafc1c7b814f5d24ad171d06c67292
Update to include the commit: "Allow to reject commits when subject
or line length exceeds limit".
Change-Id: I2722d5c00c5ad9e37b669f3c5c4a0c8ea2962f95
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
Assume BUCK has applied my commit to use set -e when running a
genrule(). This allows us to use ';' in all genrule commands and
trust the build will stop if any of the single statement terminates
with a non-zero exit status.
$SRCDIR is a cleaner reference to the sources of a genrule(),
fixing an ugly reference to the (supposedly hidden) __srcs directory.
Add a comment about the version generator, BUCK wants to make genrule
output fully cacheable, which requires rules to be idempotent.
Change-Id: I938450ed81675330e979d76721e0ba971d30d0e2
These plugins now define their gerrit_plugin() allowing the core
server to bundle them with `buck build :release`.
Change-Id: Ifa3e45bbfee18d0d86e516814bcce15f9f6476da
* stable-2.7:
Fix spelling errors in access-control.txt
Access control documentation: Formatting
Access control documentation: Clean up of categories
Access Control Documentation: Explain special and magic refs
Set core plugins to correct revisions for 2.6-rc2
Update developer instructions for cloning the Gerrit project
Fix Windows build
Conflicts:
Documentation/access-control.txt
Change-Id: I1ee212d357f0da6d006c5fef9427a4b7138c7536
* stable-2.6:
Fix spelling errors in access-control.txt
Access control documentation: Formatting
Access control documentation: Clean up of categories
Access Control Documentation: Explain special and magic refs
Set core plugins to correct revisions for 2.6-rc2
Update developer instructions for cloning the Gerrit project
Fix Windows build
Change-Id: Ic6a27ddffed8521f10aaca9ca6619840174be1ff
Implement a new build system using Buck[1], Facebook's
open source clone of Google's internal build system.
Pros:
- Concise build language
- Test and build output is concise
- Test failures and stack traces show on terminal
- Reliable incrementals; clean is unnecessary
- Extensible with simple blocks of Python
- Fast
buck: clean: 0.452s, full 1m21.083s [*], no-op: 7.145s,
mvn: clean: 4.596s, full 2m53.776s, no-op: 59.108s,
[*] full build includes downloading all dependencies,
time can vary due to remote server performance.
Cons:
- No Windows support
- No native Maven Central support (added by macros)
- No native GWT, Prolog, or WAR support (added by macros)
- Bootstrap of buck requires Ant
Getting started:
git clone https://gerrit.googlesource.com/buck
cd buck
ant
Mac OS X:
PATH="`pwd`/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:$PATH"
Linux:
PATH="`pwd`/bin:$PATH"
Importing into Eclipse:
$ time buck build :eclipse
0m48.949s
Import existing project from `pwd`
Import 'gerrit' (do not import other Maven based projects)
Expand 'gerrit'
Right click 'buck-out' > Properties
Under Attributes check 'Derived'
If the code doesn't currently compile but an updated classpath
is needed, refresh the configs and obtain missing JARs:
$ buck build :eclipse_project :download
Running JUnit tests:
$ time buck test --all -e slow # skip slow tests
0m19.320s
$ time buck test --all # includes acceptance tests
5m17.517s
Building WAR:
$ buck build :gerrit
$ java -jar buck-out/gen/gerrit.war
Building release:
$ buck test --all && buck build :api :release
$ java -jar buck-out/gen/release.war
$ ls -lh buck-out/gen/{extension,plugin}-api.jar
Downloading dependencies:
Dependencies are normally downloaded automatically, but Buck can
inspect its graph and download missing dependencies so future
compiles can run without the network:
$ buck build :download
[1] http://facebook.github.io/buck/
Change-Id: I40853b108bd8e153cefa0896a5280a9a5ff81655
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
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