From b3dca04377108c6e443a586cc15c4f29a6fce3e8 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 13 Jan 2025 09:24:07 +0100 Subject: [PATCH] copr/keygen/files/backup_keyring.sh: update the comment section --- roles/copr/keygen/files/backup_keyring.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/roles/copr/keygen/files/backup_keyring.sh b/roles/copr/keygen/files/backup_keyring.sh index fec11d7f70..53327f2431 100644 --- a/roles/copr/keygen/files/backup_keyring.sh +++ b/roles/copr/keygen/files/backup_keyring.sh @@ -1,8 +1,14 @@ #!/bin/sh -# used as root -# root gpg keychain should have PUBLIC key with `user name` copr-keygen-backup-key -# (per https://pagure.io/fedora-infrastructure/issue/8904) +# - used as root +# - executed hourly, overwriting the "daily file" in /backup dir +# - the Fedora Infra backup mechanism pulls that file, overwriting its own +# "daily" copy +# - it means we should always have at most a 24h-old backup +# - the root gpg keychain should have PUBLIC key with `user name` +# copr-keygen-backup-key, per +# https://pagure.io/fedora-infrastructure/issue/8904 +# - fixed in https://github.com/fedora-copr/copr/issues/3532 PATH_TO_KEYRING_DIR="/var/lib/copr-keygen" BACKUP_DIR=/backup