On Thu, Dec 16, 2010 at 1:56 PM, Carsten Ziegeler <[email protected]> wrote:
> This vote is about the release of:
>
> - Apache Sling Commons Compiler 2.0.0 [1]
> - Apache Sling I18n 2.0.4 [2]
> - Apache Sling Commons Json 2.0.6 [3]
> - Apache Sling Commons Log 2.1.0 [4]
> - Apache Sling Scripting Java 2.0.0 [5]
> - Apache Sling Scripting JST 2.0.4 - First release
> - Apache Sling Scripting API 2.1.2 [6]
> - Apache Sling Scripting JSP 2.0.12 [7]
> - Apache Sling Scripting JavaScript 2.0.10 [8]
> - Apache Sling JCR Compiler 2.0.0 [9]

+1 to all, thanks for preparing the release!

Checked signatures and digests, and that the contents of zip archives
(digests below) match the corresponding svn tags. That latter task
required writing a script this time due to an EWAYTOOMANYRELEASES
error, included below so that I can find it next time ;-)

-Bertrand



MD5 
(./org.apache.sling.commons.compiler/2.0.0/org.apache.sling.commons.compiler-2.0.0-source-release.zip)
= 6d64d5c52f17ffdfdfbcbe4f21e3d11c
MD5 
(./org.apache.sling.commons.json/2.0.6/org.apache.sling.commons.json-2.0.6-source-release.zip)
= fac7cb29e896fab2ed05f91792de6f91
MD5 
(./org.apache.sling.commons.log/2.1.0/org.apache.sling.commons.log-2.1.0-source-release.zip)
= 46c8b0847cb473745c91f3f4af739ca3
MD5 
(./org.apache.sling.i18n/2.0.4/org.apache.sling.i18n-2.0.4-source-release.zip)
= e8ae820b772d9644f26439471baa6d9b
MD5 
(./org.apache.sling.jcr.compiler/2.0.0/org.apache.sling.jcr.compiler-2.0.0-source-release.zip)
= c43f1feb076865e4ec872725716172f0
MD5 
(./org.apache.sling.scripting.api/2.1.2/org.apache.sling.scripting.api-2.1.2-source-release.zip)
= b54da8124a47d58db8e9951610faa4e2
MD5 
(./org.apache.sling.scripting.java/2.0.0/org.apache.sling.scripting.java-2.0.0-source-release.zip)
= d1954241b80c1fcef298428805b147fc
MD5 
(./org.apache.sling.scripting.javascript/2.0.10/org.apache.sling.scripting.javascript-2.0.10-source-release.zip)
= 22e3757ee0402e61b9acc6130751a943
MD5 
(./org.apache.sling.scripting.jsp/2.0.12/org.apache.sling.scripting.jsp-2.0.12-source-release.zip)
= 638190d02730a2578832b43e542dcfdc
MD5 
(./org.apache.sling.scripting.jst/2.0.4/org.apache.sling.scripting.jst-2.0.4-source-release.zip)
= 5298cb44a5f2c180e070601fa1c6830b



#!/bin/bash
# check that a Sling staged release matches the corresponding svn tags
# run from /tmp/sling-staging/NNN/org/apache/sling
TAGBASE=http://svn.apache.org/repos/asf/sling/tags/

function check() {
        TAG=$TAGBASE/$1
        ZIP=$PWD/$2
        WORKDIR=workdir/$1/$(date +%s)
        CUR=$PWD
        echo
        echo "Checking $ZIP against $TAG"
        mkdir -p $WORKDIR
        cd $WORKDIR > /dev/null
        unzip $ZIP > /dev/null
        ZIPDIR=$PWD/$(ls)
        svn export $TAG svnexport > /dev/null
        cd svnexport > /dev/null
        diff -r . $ZIPDIR
        cd $CUR
        
}

find . -name *.zip | cut -c 3- | sed 's/\// /g' | while read line
do
        set $line
        TAG=${1}-${2}
        ZIP=${1}/${2}/${3}
        check $TAG $ZIP
done

Reply via email to