summaryrefslogtreecommitdiffstats
path: root/dm-packaging/review
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 14:25:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 14:25:47 +0000
commit4ed1a6e1d4fcb1ba272a4fb3931b33d1c6fbee0d (patch)
tree26048107dbe7d72d60d9339d90f5cfe678937863 /dm-packaging/review
parentInitial commit. (diff)
downloaddebian-keyring-4ed1a6e1d4fcb1ba272a4fb3931b33d1c6fbee0d.tar.xz
debian-keyring-4ed1a6e1d4fcb1ba272a4fb3931b33d1c6fbee0d.zip
Adding upstream version 2023.12.24.upstream/2023.12.24
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dm-packaging/review')
-rwxr-xr-xdm-packaging/review32
1 files changed, 32 insertions, 0 deletions
diff --git a/dm-packaging/review b/dm-packaging/review
new file mode 100755
index 0000000..abddb5c
--- /dev/null
+++ b/dm-packaging/review
@@ -0,0 +1,32 @@
+#!/bin/sh
+set -e
+
+changeset="$1"
+if [ -z "$changeset" ]; then
+ echo "Usage: checkchangeset changeset" >&2
+ exit 1
+fi
+
+TMPRING=./keyring.tmp
+trap cleanup EXIT
+cleanup () {
+ rm -f $TMPRING*
+}
+
+make
+echo ""
+echo "Running test suite on keyring, with this changeset included:"
+cp debian-maintainers.gpg $TMPRING
+jetring-apply $TMPRING "$changeset"
+DM_KEYRING="$TMPRING"
+export DM_KEYRING
+if ! ./runtests; then
+ testfailed=1
+fi
+echo ""
+echo "jetring-review of the changes in the changeset:"
+jetring-review -d debian-maintainers.gpg $changeset
+
+if [ "$testfailed" ]; then
+ exit 1
+fi