From f6018d1071ed80a43f9ccb3b165968706b9baed9 Mon Sep 17 00:00:00 2001 From: imbajin Date: Sat, 14 Jan 2023 23:50:01 +0800 Subject: [PATCH] chore: remove unnecessary binary files & add rat check in ci (#2086) --- .github/workflows/ci.yml | 6 ++++++ .../src/assembly/travis/private-key.gpg.gpg | Bin 5224 -> 0 bytes .../src/main/resources/public-certs.store | Bin 892 -> 0 bytes pom.xml | 1 + 4 files changed, 7 insertions(+) delete mode 100644 hugegraph-dist/src/assembly/travis/private-key.gpg.gpg delete mode 100644 hugegraph-dist/src/main/resources/public-certs.store diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c78051f71..fd8df7f9f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,12 @@ jobs: with: fetch-depth: 2 + - name: License check(RAT) + run: | + mvn apache-rat:check -ntp + find ./ -name rat.txt -print0 | xargs -0 -I file cat file > merged-rat.txt + grep "Binaries" merged-rat.txt -C 3 && cat merged-rat.txt + - name: Compile run: | mvn clean compile -U -Dmaven.javadoc.skip=true -ntp diff --git a/hugegraph-dist/src/assembly/travis/private-key.gpg.gpg b/hugegraph-dist/src/assembly/travis/private-key.gpg.gpg deleted file mode 100644 index f968f6197e74d9a19adcd835a654b8b5b49420bd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5224 zcmV-u6qoCa4Fm@R0vwb5CJW$F-sIBk0qcz8oihHP$|!qN>itlbT2$^M%$aS z7MIV#5(1@{r|k|FuGv#Bs6&y;rLPoMv3|TcA4~dQbogUq#-X*CB7P?N!*b4XFd4u8 zo7trOK80f|7{^1+=ML}c4Y|r@8!owVZk2iY;$8B3b{NouyD86PPFO1}l_+(Cl ze>nj%WMhI9_onVre{4w+$fcU874>I~&f`KsCJ-4~5CzxtoUci9jE#x&I(9I5`?ah$ z!ULaJCXW>gCA?jE#Eint!Q`g%>|&qhI86f5TY8Vu{_c#Qhg?C1ti(n{>>rbI4+6Z( zWUw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UY`ERRTYm+kst`~)M#AUjz)u9d<#Bo(=llU?}PXZFQ<{$V4IBDmaQk|jX}_+ zha2A|Kq;Qaz?Y3sdIQ=;Iy0T#ziU-M=ET=81BOp(+;$km-~pk)+tJvLebkV315^A@ z1q9u6a4S3~ca_Qpo=mGxuy-mqjJwx5C1{d8FS>)-a|Nt?PFWQvDQb9L%Q3l;do{ay zDk%e;Y&;vcc<0u~RA(`((~dfaj#2;-W5v}H``M!hFRo0tyh1zDf{{HA7?9#uN@i0q zLx#kSRM?h4F1nzBh&Jz{Eu;JVP<3VQ(d_w@=h*JI6_YbH*}mUUO!$So2dsVJ`JS5Z zJ6HL@FR#P{y{DQQm&khr;DfqEfgbuxuUl%aj0v1N0xNZytOE3yWIJS_0QVdUNxRm~ zW1u&ly}AHrl^PNu@)HZru|_>&91P1Ns3!=sN&k8l8a9WitaB8={<&WoU;6F-sO&Bu zxUuIkRsO0e8U1XrHqQefgpw}rGZLhZKa6cA1 zy6@&?;k~uXsLmF1sW(wAFWEFM_!0DdH78O@Rp%hm*AdYJl%rip;aPUafb2i4LRzBx z0gS~|r)6tPa&Q?_2>OUB*+ah$GTdSJF!5#6Gjj>eb>1rtA>WoZM8OyUQY@Z@)p z{Ftrd_Vjt9SmWpOKb2ZX-^)shQa%IuUA1Y6Xa3&DO&H?adFuR_p52bK^AmsGAB=~% zpC&Wa%@F;*1+U(CF-vslr$v0%o7JDj6`!Le0Km9#3wpu>YiU1<7~B0@#(>7|U@!@q z>eyR@EkEdjsmSmmr#dc*@Q6v>VL$j;|HXbki;nPS?fn)@Y=VQb9kKxrv5IMO%~d4b zX2rn;LJE<2`UrLekR+DZRuwzCSB^BuL);wB>9zhoVADT(hkym3uX!`ZQRL7GiF$8d(o2-ye+t diff --git a/hugegraph-dist/src/main/resources/public-certs.store b/hugegraph-dist/src/main/resources/public-certs.store deleted file mode 100644 index 0da6d226993ecbab1650809dd3456e549d3844af..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 892 zcmezO_TO6u1_mY|W(3n*1*J(jnaRniMI}I?oOwM}-VCe}dZq@J3=GVc22ISS22D(# z7cet1GBL5_WMuakaI>*%wRxPgU}0uuFvu|!FyLcj4rO5zW)IEF&dV>)gNblph_GXb zaAAmWV~8-rMGWM`c?~TMEDX&J%uURUO`^nkjX+!zD3{KzX=2=A(8Q<%3l2sgN1my% zk>PKBaHDLgkY><*uQ_^eo;?31xIM_`y$i!(Is1lffohqqu?|XszawpXBYy2a`gNDV zx6`vjbFMd9H^`dge@aW(o;@>Q>5}>LU$9gQC>`?Oz4H3M?Z>2lScgA9wqltmKg;jt zZss$WDKSgVz39PsoJo{ndO|?Is51ANO_O#uEqdL; z{UJi;E68czA1-LUHrw{z={>7s%yxwDtemob_b;ngO+UkZxNX^+(gP#I`*vN4^nX^! zF3{Mp#Z#$nDF-VoJKt-mOZo)tLhG^>D73!c%7W~=4GW5^A^{0|57wf`uIDk zic!V-%#x4$Rs>GyT+w|0Vbs(4Y?Hdv;u@+$RZ|#!tpA<&)M9RIWdOP3c;mmqNjtJ0 z)!*AN`G&Ni-Sp5oDOWC)mDFAnzR$h&Bct7)myUMrIjP6pZvQV}=M#AqesP`pq8HJ| zSIjdCN*|uQxk{16@@>9nY{klh%XBqMw68X%@7l>}J@vRi|LRso{^fBEDgPYiCU7`T zR`kCvI&c2|Q%`i*YVswgy6rF3Z3|eeXdrJO3rx4Nd@N!tB2nV=zQh%$2gq=4d2!WJ z&U#+Jx{WC5oLQg2K!-_0L!IGqD4XrvXSFBSY3%0mV%}4;l}V&lE9|A@GD&8pH@B+! hbDwbhs!}!L3FzK_@~w;Bl-ae**/*.properties dist/**/* **/assembly/static/bin/hugegraph.service + **/swagger-ui/**/* scripts/dev/reviewers scripts/dev/reviewers **/*.md