@@ -55,18 +55,25 @@ gpg --import KEYS
55
55
56
56
# After importing, you can see the following output, which means that 3 user public keys have been imported
57
57
gpg: /home/ubuntu/.gnupg/trustdb.gpg: trustdb created
58
- gpg: key
B78B058CC255F6DC : public key
" Imba Jin (apache mail) <[email protected] >" imported
58
+ gpg: key
BA7E78F8A81A885E : public key
" imbajin (apache mail) <[email protected] >" imported
59
59
gpg: key 818108E7924549CC: public key
" vaughn <[email protected] >" imported
60
60
gpg: key 28DCAED849C4180E: public key
" coderzc (CODE SIGNING KEY) <[email protected] >" imported
61
61
gpg: Total number processed: 3
62
62
gpg: imported: 3
63
63
64
- # 2. Trust release users (here you need to trust 3 users, perform the same operation for Imba Jin, vaughn, coderzc in turn)
65
- gpg --edit-key Imba Jin # Take the first one as an example , enter the interactive mode
64
+ # 2. Trust release users (trust n username mentioned in voting mail, if more than one user, just repeat the steps in turn or use the script below )
65
+ gpg --edit-key $USER # input the username , enter the interactive mode
66
66
gpg> trust
67
67
...output options..
68
- Your decision? 5 # select five
69
- Do you really want to set this key to ultimate trust? (y/N) y # slect y, then q quits trusting the next user
68
+ Your decision? 5 # select 5
69
+ Do you really want to set this key to ultimate trust? (y/N) y # slect y, then q quits trusting the next user
70
+
71
+ # (Optional) You could also use the command to trust one user in non-interactive mode:
72
+ echo -e " 5\ny\n" | gpg --batch --command-fd 0 --edit-key $USER trust
73
+ # Or use the script to auto import all public gpg keys (be carefully):
74
+ for key in $( gpg --no-tty --list-keys --with-colons | awk -F: ' /^pub/ {print $5}' ) ; do
75
+ echo -e " 5\ny\n" | gpg --batch --command-fd 0 --edit-key " $key " trust
76
+ done
70
77
71
78
72
79
# 3. Check the signature (make sure there is no Warning output, every source/binary file prompts Good Signature)
@@ -94,10 +101,9 @@ After decompressing `*hugegraph*src.tar.gz`, Do the following checks:
94
101
1 . folders with ` incubating ` , and no ** empty** files/folders
95
102
2 . ` LICENSE ` + ` NOTICE ` + ` DISCLAIM ` file exists and the content is normal
96
103
3 . ** does not exist** binaries (without LICENSE)
97
- 4 . The source code files all contain the standard ` ASF License ` header (this could be done with the Maven-MAT plugin)
104
+ 4 . The source code files all contain the standard ` ASF License ` header (this could be done with the ` Maven-MAT ` plugin)
98
105
5 . Check whether the ` pom.xml ` version number of each parent/child module is consistent (and meet expectations)
99
- 6 . Check the first 3 to 5 commits, click to see if the modification is consistent with the source file
100
- 7 . Finally, make sure the source code works/compiles correctly
106
+ 6 . Finally, make sure the source code works/compiles correctly
101
107
102
108
``` bash
103
109
# prefer to use/switch to java 11 for the following operations (compiling/running)
0 commit comments