ada289c6df
Remove outdated references to ReviewDb. Where ambiguous terms like "database" are used, make sure they are still technically accurate, or else remove them. After this change, all documentation should be up to date with respect to the database backend, with the exception of note-db.txt itself. Change-Id: I7134087dc56070788e81ada6ac504b3c8fe84c4c
55 lines
1.1 KiB
Plaintext
55 lines
1.1 KiB
Plaintext
= rulec
|
|
|
|
== NAME
|
|
rulec - Compile project-specific Prolog rules to JARs
|
|
|
|
== SYNOPSIS
|
|
[verse]
|
|
--
|
|
_java_ -jar gerrit.war _rulec_
|
|
-d <SITE_PATH>
|
|
[--quiet]
|
|
[--all | <PROJECT>...]
|
|
--
|
|
|
|
== DESCRIPTION
|
|
Looks for a Prolog rule file named `rules.pl` on the repository's
|
|
`refs/meta/config` branch. If rules.pl exists, creates a JAR file
|
|
named `rules-'SHA1'.jar` in `'$site_path'/cache/rules`.
|
|
|
|
== OPTIONS
|
|
-d::
|
|
--site-path::
|
|
Location of the gerrit.config file, and all other per-site
|
|
configuration data, supporting libraries and log files.
|
|
|
|
--all::
|
|
Compile rules for all projects.
|
|
|
|
--quiet::
|
|
Suppress non-error output messages.
|
|
|
|
<PROJECT>:
|
|
Compile rules for the specified project.
|
|
|
|
== CONTEXT
|
|
This command can only be run on a server which has local access to the
|
|
managed Git repositories.
|
|
|
|
Caching needs to be enabled. See
|
|
link:config-gerrit.html#cache.directory[cache.directory].
|
|
|
|
== EXAMPLES
|
|
To compile a rule JAR file for test/project:
|
|
|
|
----
|
|
$ java -jar gerrit.war rulec -d site_path test/project
|
|
----
|
|
|
|
GERRIT
|
|
------
|
|
Part of link:index.html[Gerrit Code Review]
|
|
|
|
SEARCHBOX
|
|
---------
|