From a27c8b00ebf173659f22f53ce65679e94e7dfb1b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:19:41 +0200 Subject: Adding upstream version 2022.12.24. Signed-off-by: Daniel Baumann --- dm-packaging/review | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 dm-packaging/review (limited to 'dm-packaging/review') 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 -- cgit v1.2.3