nix-gerrit/README.md

56 lines
1.1 KiB
Markdown
Raw Normal View History

2024-07-08 18:04:51 +00:00
# nix-gerrit
<!--
SPDX-FileCopyrightText: 2024 The nix-gerrit Authors <git@lukegb.com>
SPDX-License-Identifier: MIT
-->
[Lix](https://lix.systems) expressions for building [Gerrit Code
Review](https://gerritcodereview.com)
Note that this is _not_ and is _not_ intended to be a fully vanilla Gerrit
builder. This set of Gerrit expressions contains some patches that deviate from
upstream. Be warned and review carefully!
## Gerrit
Gerrit can be built with
```
nix-build -A gerrit
# or, if you're feeling flake-y:
nix build
```
## Gerrit Plugins
### OAuth
The out-of-tree [Gerrit OAuth2 plugin](https://gerrit.googlesource.com/plugins/oauth/) is available.
```
nix-build -A plugins.oauth
# or
nix build '.#plugins.oauth'
```
### Code-Owners
The out-of-tree [Gerrit Code-Owners plugin](https://gerrit.googlesource.com/plugins/code-owners/) is available.
```
nix-build -A plugins.code-owners
# or
nix build '.#plugins.code-owners'
```
## Building everything at once
Everything in the tree can be built at once using the `ci` expressiong:
```
nix-build -A ci
# or
nix build '.#ci'
```