This page is for Sedona community to vote a Sedona release. The script below is tested on macOS.
In order to vote a Sedona release, you must provide your checklist including the following minimum requirement:
To make your life easier, we have provided an online Jupyter notebook using MyBinder. Please click this button to open the notebook and verify the release: . Then you can vote
+1 in the vote email.
If you prefer to run the steps on your local machine, please read the steps below. If you can successfully finish the steps, you will pass the items mentioned above. Then you can vote +1 in the vote email and provide your checklist.
brew install gnupg gnupg2. You can check in a terminal gpg --version.java --version.brew install maven. You can check it in a terminal mvn -version.python3 --version.You can skip this step if you installed these software before.
Please replace SEDONA_CURRENT_RC and SEDONA_CURRENT_VERSION with the correct versions. Then paste the content in a script called verify.sh and re-direct the output to a file. To run a script, do the following:
#!/bin/bash ## Change the permission of the script to executable chmod 777 verify.sh ## Run and redirect the output to a file ./verify.sh &> verify.out
The content of the verify.sh script is as follows. ==If you copy the following content, a line break is automatically added to a long line of code. Please remove it in your local script.==
#!/bin/bash SEDONA_CURRENT_RC={{ sedona_create_release.current_rc }} SEDONA_CURRENT_VERSION={{ sedona_create_release.current_version }} ## Download a Sedona release wget -q https://downloads.apache.org/sedona/KEYS wget -q https://dist.apache.org/repos/dist/dev/sedona/$SEDONA_CURRENT_RC/apache-sedona-$SEDONA_CURRENT_VERSION-src.tar.gz wget -q https://dist.apache.org/repos/dist/dev/sedona/$SEDONA_CURRENT_RC/apache-sedona-$SEDONA_CURRENT_VERSION-src.tar.gz.asc wget -q https://dist.apache.org/repos/dist/dev/sedona/$SEDONA_CURRENT_RC/apache-sedona-$SEDONA_CURRENT_VERSION-src.tar.gz.sha512 wget -q https://dist.apache.org/repos/dist/dev/sedona/$SEDONA_CURRENT_RC/apache-sedona-$SEDONA_CURRENT_VERSION-bin.tar.gz wget -q https://dist.apache.org/repos/dist/dev/sedona/$SEDONA_CURRENT_RC/apache-sedona-$SEDONA_CURRENT_VERSION-bin.tar.gz.asc wget -q https://dist.apache.org/repos/dist/dev/sedona/$SEDONA_CURRENT_RC/apache-sedona-$SEDONA_CURRENT_VERSION-bin.tar.gz.sha512 ## Verify the signature and checksum gpg --import KEYS gpg --verify apache-sedona-$SEDONA_CURRENT_VERSION-src.tar.gz.asc gpg --verify apache-sedona-$SEDONA_CURRENT_VERSION-bin.tar.gz.asc shasum -a 512 apache-sedona-$SEDONA_CURRENT_VERSION-src.tar.gz cat apache-sedona-$SEDONA_CURRENT_VERSION-src.tar.gz.sha512 shasum -a 512 apache-sedona-$SEDONA_CURRENT_VERSION-bin.tar.gz cat apache-sedona-$SEDONA_CURRENT_VERSION-bin.tar.gz.sha512 ## Uncompress the source code folder tar -xvf apache-sedona-$SEDONA_CURRENT_VERSION-src.tar.gz ## Compile the project from source (cd apache-sedona-$SEDONA_CURRENT_VERSION-src;mvn clean install -DskipTests)
Good signature from and the final 4 lines should be two pairs of checksum matching each other.gpg: key 3A79A47AC26FF4CD: "Jia Yu <jiayu@apache.org>" not changed gpg: key 6C883CA80E7FD299: "PawelKocinski <imbruced@apache.org>" not changed gpg: Total number processed: 2 gpg: unchanged: 2 gpg: assuming signed data in 'apache-sedona-1.2.0-incubating-src.tar.gz' gpg: Signature made Mon Apr 4 11:48:31 2022 PDT gpg: using RSA key 949DD6275C69AB954B1872FC6C883CA80E7FD299 gpg: issuer "imbruced@apache.org" gpg: Good signature from "PawelKocinski <imbruced@apache.org>" [unknown] gpg: WARNING: The key's User ID is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 949D D627 5C69 AB95 4B18 72FC 6C88 3CA8 0E7F D299 gpg: assuming signed data in 'apache-sedona-1.2.0-incubating-bin.tar.gz' gpg: Signature made Mon Apr 4 11:48:42 2022 PDT gpg: using RSA key 949DD6275C69AB954B1872FC6C883CA80E7FD299 gpg: issuer "imbruced@apache.org" gpg: Good signature from "PawelKocinski <imbruced@apache.org>" [unknown] gpg: WARNING: The key's User ID is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 949D D627 5C69 AB95 4B18 72FC 6C88 3CA8 0E7F D299 d3bdfd4d870838ebe63f21cb93634d2421ec1ac1b8184636206a5dc0d89a78a88257798b1f17371ad3cfcc3b1eb79c69e1410afdefeb4d9b52fc8bb5ea18dd2e apache-sedona-1.2.0-incubating-src.tar.gz d3bdfd4d870838ebe63f21cb93634d2421ec1ac1b8184636206a5dc0d89a78a88257798b1f17371ad3cfcc3b1eb79c69e1410afdefeb4d9b52fc8bb5ea18dd2e apache-sedona-1.2.0-incubating-src.tar.gz 64cea38dd3ca171ee4e2a7365dbce999773862f2a11599bd0f27e9551d740659a519a9b976b3e7b0826088010967093e6acc9462f7073e9737c24b007a2df846 apache-sedona-1.2.0-incubating-bin.tar.gz 64cea38dd3ca171ee4e2a7365dbce999773862f2a11599bd0f27e9551d740659a519a9b976b3e7b0826088010967093e6acc9462f7073e9737c24b007a2df846 apache-sedona-1.2.0-incubating-bin.tar.gz
BUILD SUCCESS if you can compile the source code. If this step fails, you can contact Sedona PMC and see if this is just because of your environment.Check if the downloaded files have the correct version.
In the unzipped source code folder, and check if DISCLAIMER and NOTICE files and included and up to date.