-------- Forwarded Message --------
Subject: Re: [VOTE] Release Apache Log4net 3.1.0
Date: Mon, 12 May 2025 10:21:44 +0200
From: Davyd McColl <dav...@gmail.com>
To: Jan Friedrich <freeand...@apache.org>

+1: Current testing issues as per this thread aside, verification worked fine on windows and linux


@Jan, I've ported your verify-release.ps1 to a shell script if you want to include it to make cross-platform verification easier (attached)


Apologies for taking so long to cast a vote.


-d

On 2025-05-07 20:07, Jan Friedrich wrote:
This is a vote to release the Apache Log4net 3.1.0.

Website: https://logging.staged.apache.org/log4net/release-notes.html
GitHub: https://github.com/apache/logging-log4net
Commit: 76eb4b34f501415fef5adcee2c677f60f48651dc
Distribution: https://dist.apache.org/repos/dist/dev/logging/log4net/3.1.0
Signing key: 0x7D24496A230E29D6349A99EF583E491578F02D5D
Review kit: https://logging.staged.apache.org/log4net/release-review.html

Please download, test, and cast your votes on this mailing list.

[ ] +1, release the artifacts
[ ] -1, don't release, because ...

This vote is open for 72 hours and will pass unless getting a net negative vote count. All votes are welcome and we encourage everyone to test the release, but only the Logging Services PMC votes are officially counted.
#!/bin/bash
set -e

TARGET_DIR="$1";
if test -z "$TARGET_DIR"; then
  TARGET_DIR="$(pwd)"
fi

function verify_hash()
{
  FILE="$1"
  EXPECTED_HASH="$(cat "$FILE" | awk '{print $1}' | tr '[:lower:]' '[:upper:]')"
  FILE_NAME="$(cat "$FILE" | awk '{print $2}' | sed -e 's/^\*//')"
  FILE_HASH="$(sha512sum "$FILE_NAME" | awk '{print $1}' | tr '[:lower:]' 
'[:upper:]')"
  if test "$EXPECTED_HASH" = "$FILE_HASH"; then
    echo "$FILE: Passed"
  else
    echo "$FILE: Not Passed"
    echo "Read from file: $EXPECTED_HASH"
    echo "Computed: $FILE_HASH"
  fi
}

for f in $(find "$TARGET_DIR" -iname '*.sha512'); do
  verify_hash "${f}"
done

wget https://downloads.apache.org/logging/KEYS
gpg --import -q KEYS
for f in $(find "$TARGET_DIR" -iname '*.asc'); do
  gpg --verify "$f"
done

mkdir -p src
cd src
unzip -q -o ../*source*.zip

Reply via email to