You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myriad.apache.org by Javi Roman <jr...@gmail.com> on 2019/02/28 08:12:24 UTC

How to review the release (reminder)

Here some steps for revising the RC1 release:

1. Download the release candidate:

Download the release candidate(s), including all hash and signature
files,
using the links in the VOTE email. (The release candidates are TGZ
files,
the hash files are .md5 and .sha512 files, and the signature files are
.asc
files.)

$ wget -e robots=off -r -nH --cut-dirs=5 --no-parent -R "index.html*"
https://dist.apache.org/repos/dist/dev/incubator/myriad/myriad-0.3.0-incubating-rc1/
$ cd myriad-0.3.0-incubating-rc1
$ wget https://dist.apache.org/repos/dist/dev/incubator/myriad/KEYS

2. Checksums and PGP signatures are valid:

A. Signatures checking:

$ gpg --import KEYS
$ gpg --verify myriad-0.3.0-incubating-rc1.tar.gz.asc
myriad-0.3.0-incubating-rc1.tar.gz

B. Checksums checking:

$ gpg --print-md MD5 myriad-0.3.0-incubating-rc1.tar.gz | diff -
myriad-0.3.0-incubating-rc1.tar.gz.md5
$ gpg --print-md SHA512 myriad-0.3.0-incubating-rc1.tar.gz | diff -
myriad-0.3.0-incubating-rc1.tar.gz.sha512

3. Disclaimer and Notice files:

Verify the incubator disclaimer is in a separate file called DISCLAIMER,
residing inside the top-level distribution folder, along with the LICENSE and
NOTICE files.

$ tar xvzf myriad-0.3.0-incubating-rc1.tar.gz

4. All source files have license headers, where appropriate:

We can use Apache Rat for checking the license headers. We have to create an
Rat exclude file (regex).

$ wget http://central.maven.org/maven2/org/apache/rat/apache-rat/0.13/apache-rat-0.13.jar

$ cat rat-excludes
.*\.txt(?:)
.*\.md(?:)
.npmrc
slaves
workers
package.json
roles/common/vars/main.yml
.*\.service(?:)
main.yml

$ java -jar apache-rat-0.13.jar -E rat-excludes -d
myriad-0.3.0-incubating-rc1 > report.txt

5. Release consists of source code only, no binaries:

$ find . -name "*.jar"

6. Build is successful, including automated tests:

$ gradle wrapper --gradle-version 2.9
$ ./gradlew build
$ find . -name "*.jar"

7. Functional testing:

We can follow this steps in order to test in Vagrant (libvirt):

https://github.com/apache/incubator-myriad/tree/master/vagrant/libvirt/mesos

--
Javi Roman

Twitter: @javiromanrh
GitHub: github.com/javiroman
Linkedin: es.linkedin.com/in/javiroman
Big Data Blog: dataintensive.info
Apache Id: javiroman