- signatures and checksums match
- source builds
- apache rat passes

+1






Below are the linux commands I used to verify the release of the
cayenne-4.0.M3 files:

=============================================

wget 
https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/cayenne-4.0.M3-macosx.dmg
wget 
https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/cayenne-4.0.M3-macosx.dmg.asc
wget 
https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/cayenne-4.0.M3-macosx.dmg.md5
wget 
https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/cayenne-4.0.M3-src.tar.gz
wget 
https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/cayenne-4.0.M3-src.tar.gz.asc
wget 
https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/cayenne-4.0.M3-src.tar.gz.md5
wget 
https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/cayenne-4.0.M3-win.zip
wget 
https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/cayenne-4.0.M3-win.zip.asc
wget 
https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/cayenne-4.0.M3-win.zip.md5
wget https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/cayenne-4.0.M3.tar.gz
wget 
https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/cayenne-4.0.M3.tar.gz.asc
wget 
https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/cayenne-4.0.M3.tar.gz.md5

# check checksums
## made with  gpg --print-md MD5 cayenne-X.X.tar.gz
cat *.md5 | tr -d ' ' | awk 'BEGIN{OFS=" "; FS=":"}
{tmp=$1;$1=$2;$2=tmp;print}' | md5sum -c

# check signatures
wget http://www.apache.org/dist/cayenne/KEYS
gpg --import KEYS
find . -name '*.asc' -exec gpg --verify {} \;

# verify .tar.gz and -win.zip files are identical -- flawed process
due to platform building differences
mkdir src
cd src
tar xvf ../cayenne-4.0.M3.tar.gz
mv cayenne-4.0.M3/ cayenne-4.0.M3-tar-gz
unzip ../cayenne-4.0.M3-win.zip
# should be no output
# but windows and tar package are built with different java versions.
## differences in jars, pdfs, html resources, css, html, package-info
between tar.gz and zip(win)
diff -rq cayenne-4.0.M3* | grep -v "jar differ" | grep -v "html
differ" | grep -v "pdf differ" | grep -v ".css differ"
# should be "are identical" output
diff -srq cayenne-4.0.M3* | grep -v "jar differ" | grep -v "html
differ" | grep -v "pdf differ" | grep -v ".css differ" | grep -v "are
identical"

# unpack source
tar xvzf ../cayenne-4.0.M3-src.tar.gz
# build source
cd cayenne-4.0.M3-src
mvn install

## mvn apache-rat currently unused for cayenne
# manually verify that there are no unknown or unapproved licensed files
./rat.sh ../../../../java/apache-rat-0.11/apache-rat-0.11.jar
##mvn apache-rat:check
# To check for all errors, if more than one project is affected
#   mvn apache-rat:check -Drat.numUnapprovedLicenses=9999
# To see details of rat failure
#   mvn -e -X apache-rat:check



On Mon, Feb 8, 2016 at 1:00 PM, Savva Kolbachev <s.kolbac...@gmail.com> wrote:
> Hi All,
> I've added java8 module to the assembly and switched assembly module
> to the cayenne-java8-module-to-build
> profile. So assembly module now requires Java 8. Also I've added .idea
> directory to the exclusions.
>
> Maven artifacts:
> https://repository.apache.org/content/repositories/orgapachecayenne-1009
> Assemblies: https://dist.apache.org/repos/dist/dev/cayenne/4.0.M3/
>
> Tests:
> https://docs.google.com/document/d/1sLR2CykqZSoPU2WdQaKKcp4rLgwja4fmPEOvYw5zZgc/edit?usp=sharing
>
> Please evaluate and cast your votes.
>
> --
> Thanks and Regards
> Savva Kolbachev

Reply via email to