Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/export-pkgbuild-keys.in
AgeCommit message (Collapse)Author
2022-06-22export-pkgbuild-keys: fix export for packages without validpgpkeysLevente Polyak
In case the validpgpkeys array is empty or undefined, the empty printf line only included a single line break which lead to mapfile -t consuming it as an array with 1 element consisting of an empty string. Fix this by only calling the printf in case the validpgpkeys array is not empty. Without any output, the mapfile -t will simply produce an empty array. Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
2022-06-09export-pkgbuild-keys: use TEMPDIR while exporting keyLevente Polyak
This avoids the possibility to pollute the keys directory with temporary files if the script is aborted in between. Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
2022-06-09export-pkgbuild-keys: add simple success export messagesLevente Polyak
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
2022-06-09Export source PGPs from PKGBUILD on commitAllan McRae
Provide a tool to export keys listed in the PKGBUILDs validpgpkeys to keys/pgp/$fingerprint.asc. The presense of the "keys" directory alongside the PKGBUILD in trunk/ is tested during commitpkg. If the directory is abscent, keys are exported and added to the commit. If the directory is present, a check is made to ensure all valid PGP keys are provided. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Levente Polyak <anthraxx@archlinux.org>