From b3e164055379993ea2ec41289821498b167f12b5 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 11 Oct 2021 21:17:35 +0200 Subject: [PATCH] Add contribution guidelines CONTRIBUTING.md: Add guidelines describing how code is added and which commands to use to add or update key material. --- CONTRIBUTING.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..5fbd9bb --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,46 @@ +# Contributing + +These are the contribution guidelines for archlinux-keyring. +All code contributions fall under the terms of the GPL-3.0-or-later (see +[LICENSE](LICENSE)). + +Any merge request to the repository requires two approvals of authorized +approvers (the current main key holders). + +## Keyringctl + +The `keyringctl` script is written in typed python, which makes use of +[sequoia](https://sequoia-pgp.org/)'s `sq` command. + +The script is type checked, linted and formatted using standard tooling. +When providing a merge request make sure to run `make lint`. + +## Key directories + +This repository contains PGP packet data, that describes the trusted signing +keys (below [main](main)) and the packager keys (below [packagers](packagers)) +of the distribution. + +Import of a new main key is done using + +```bash +./keyringctl import-main --name +``` + +Updates to existing main keys is done using + +```bash +./keyringctl import-main +``` + +Import of a new packager key is done using + +```bash +./keyringctl import-packager --name +``` + +Updates to existing packager keys is done using + +```bash +./keyringctl import-packager +```