...
Markdown |
---|
## Download all the contents under voting version/rc https://dist.apache.org/repos/dist/dev/incubator/iotdb/ ## Download the public key https://dist.apache.org/repos/dist/dev/incubator/iotdb/KEYS At the bottom is the public key of Release Manager (RM), copy the content in below to a text file named ``key.asc``. ``````shell -----BEGIN PGP PUBLIC KEY BLOCK ----- Version: GnuPG v2 ... -----END PGP PUBLIC KEY BLOCK_----- ``` Import the RM public key to your own computer Install gpg/gpg2 ``````shell gpg/gpg2 --import key.asc ``` ## Verify the source release * :: (incubation stage) verify that there is ``incubating``` in the name. * Verify if DISCLAIMER, NOTICE, LICENSE are present, and if the contents are correct. * Verify README, RELEASE_NOTES * Verify header ``````shell mvn -B apache-rat:check ``` ## check* Check third party dependencies ``````shell mvn license:add-third-party -Dlicense.useMissingFile find . -name THIRD-PARTY.txt | xargs grep -E 'GPL|General Public License' | grep -v Apache | grep -v MIT | grep -v CDDL ``` * :: Verify signatures and hashes ``````shell gpg2 --verify apache-iotdb-0.9.0-incubating-source-release.zip.asc apache-iotdb-0.9.0-incubating-source-release.zip. Show Good Singnature shasum -a512 apache-iotdb-0.9.0-incubating-source-release.zip Compare it to the corresponding. sha512, and the same will do. ````` * :: Verify the compilation ``` ```shell mvnw.sh install It should be all SUCCESS at last. ``` ## Verify the binary distribution * :: (incubation stage) verify that there is ``incubating``` in the name. * Verify if DISCLAIMER, NOTICE, LICENSE are present, and if the contents are correct. * Verify the README, RELEASE_NOTES * :: Verify signatures and hashes ``` ```shell gpg2 --verify apache-iotdb-0.9.0-incubating-bin.zip.asc apache-iotdb-0.9.0-incubating-bin.zip. Show Good Singnature shasum -a512 apache-iotdb-0.9.0-incubating-bin.zip Compare it to the corresponding .sha512, and the same will do. ````` * :: Verify if it can be started and that the sample statements are executed correctly ``````shell ./sbin/start-server.sh ./sbin/start-client.sh SET STORAGE GROUP TO root.turbine; CREATE TIMESERIES root.turbine.d1.s0 WITH DATATYPE=DOUBLE, ENCODING=GORILLA; insert into root.turbine.d1(timestamp,s0) values(1,1); insert into root.turbine.d1(timestamp,s0) values(2,2); insert into root.turbine.d1(timestamp,s0) values(3,3); select * from root; 打印如下内容: +-----------------------------------+------------------+ | Time|root.turbine.d1.s0| +-----------------------------------+------------------+ | 1970-01-01T08:00:00.001+08:00| 1.0| | 1970-01-01T08:00:00.002+08:00| 2.0| | 1970-01-01T08:00:00.003+08:00| 3.0| +-----------------------------------+------------------+ ``` ## Sample mail After verification, you can send an email: ``` Hi, +1 (PMC could binding) The source release: Incubating in name [ok] Has DISCLAIMER [ok] LICENSE and NOTICE [ok] signatures and hashes [ok] All files have ASF header [ok] could compile from source: ./mvnw.sh clean install [ok] The binary distribution: Incubating in name [ok] Has DISCLAIMER [ok] LICENSE and NOTICE [ok] signatures and hashes [ok] Could run with the following statements [ok] SET STORAGE GROUP TO root.turbine; CREATE TIMESERIES root.turbine.d1.s0 WITH DATATYPE=DOUBLE, ENCODING=GORILLA; insert into root.turbine.d1(timestamp,s0) values(1,1); insert into root.turbine.d1(timestamp,s0) values(2,2); insert into root.turbine.d1(timestamp,s0) values(3,3); select * from root; Thanks, xxx ``` |
## Download all the contents under voting version/rc
https://dist.apache.org/repos/dist/dev/incubator/iotdb/
## Download the public key
https://dist.apache.org/repos/dist/dev/incubator/iotdb/KEYS
At the bottom is the public key of Release Manager (RM), copy the content in below to a text file named ``key.asc``.
```
-----BEGIN PGP PUBLIC KEY BLOCK -----
Version: GnuPG v2
...
-----END PGP PUBLIC KEY BLOCK_-----
```
Import the RM public key to your own computer
Install gpg/gpg2
```
gpg/gpg2 --import key.asc
```
## Verify the source release
* :: (incubation stage) verify that there is ``incubating``` in the name.
* Verify if DISCLAIMER, NOTICE, LICENSE are present, and if the contents are correct.
* Verify README, RELEASE_NOTES
* Verify header
```
mvn -B apache-rat:check
```
## check third party dependencies
```
...
|
...
```
* :: Verify signatures and hashes
```
gpg2 --verify apache-iotdb-0.9.0-incubating-source-release.zip.asc apache-iotdb-0.9.0-incubating-source-release.zip.
Show Good Singnature
shasum -a512 apache-iotdb-0.9.0-incubating-source-release.zip
Compare it to the corresponding. sha512, and the same will do.
``
* :: Verify the compilation
```
mvnw.sh install
It should be all SUCCESS at last.
```
## Verify the binary distribution
* :: (incubation stage) verify that there is ``incubating``` in the name.
* Verify if DISCLAIMER, NOTICE, LICENSE are present, and if the contents are correct.
* Verify the README, RELEASE_NOTES
* :: Verify signatures and hashes
```
gpg2 --verify apache-iotdb-0.9.0-incubating-bin.zip.asc apache-iotdb-0.9.0-incubating-bin.zip.
Show Good Singnature
shasum -a512 apache-iotdb-0.9.0-incubating-bin.zip
Compare it to the corresponding .sha512, and the same will do.
``
* :: Verify if it can be started and that the sample statements are executed correctly
```
./sbin/start-server.sh
./sbin/start-client.sh
SET STORAGE GROUP TO root.turbine;
CREATE TIMESERIES root.turbine.d1.s0 WITH DATATYPE=DOUBLE, ENCODING=GORILLA;
insert into root.turbine.d1(timestamp,s0) values(1,1);
insert into root.turbine.d1(timestamp,s0) values(2,2);
insert into root.turbine.d1(timestamp,s0) values(3,3);
select * from root;
打印如下内容:
+-----------------------------------+------------------+
| Time|root.turbine.d1.s0|
+-----------------------------------+------------------+
| 1970-01-01T08:00:00.001+08:00| 1.0|
| 1970-01-01T08:00:00.002+08:00| 2.0|
| 1970-01-01T08:00:00.003+08:00| 3.0|
+-----------------------------------+------------------+
```
## Sample mail
After verification, you can send an email:
```
Hi,
+1 (PMC could binding)
The source release:
Incubating in name [ok]
Has DISCLAIMER [ok]
LICENSE and NOTICE [ok]
signatures and hashes [ok]
All files have ASF header [ok]
could compile from source: ./mvnw.sh clean install [ok]
The binary distribution:
Incubating in name [ok]
Has DISCLAIMER [ok]
LICENSE and NOTICE [ok]
signatures and hashes [ok]
Could run with the following statements [ok]
SET STORAGE GROUP TO root.turbine;
CREATE TIMESERIES root.turbine.d1.s0 WITH DATATYPE=DOUBLE, ENCODING=GORILLA;
insert into root.turbine.d1(timestamp,s0) values(1,1);
insert into root.turbine.d1(timestamp,s0) values(2,2);
insert into root.turbine.d1(timestamp,s0) values(3,3);
select * from root;
...
``` |