You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2023/01/14 15:50:08 UTC

[incubator-hugegraph] branch master updated: chore: remove unnecessary binary files & add rat check in ci (#2086)

This is an automated email from the ASF dual-hosted git repository.

jin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git


The following commit(s) were added to refs/heads/master by this push:
     new f6018d107 chore: remove unnecessary binary files & add rat check in ci (#2086)
f6018d107 is described below

commit f6018d1071ed80a43f9ccb3b165968706b9baed9
Author: imbajin <ji...@apache.org>
AuthorDate: Sat Jan 14 23:50:01 2023 +0800

    chore: remove unnecessary binary files & add rat check in ci (#2086)
---
 .github/workflows/ci.yml                               |   6 ++++++
 hugegraph-dist/src/assembly/travis/private-key.gpg.gpg | Bin 5224 -> 0 bytes
 hugegraph-dist/src/main/resources/public-certs.store   | Bin 892 -> 0 bytes
 pom.xml                                                |   1 +
 4 files changed, 7 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9c78051f7..fd8df7f9f 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 f968f6197..000000000
Binary files a/hugegraph-dist/src/assembly/travis/private-key.gpg.gpg and /dev/null differ
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 0da6d2269..000000000
Binary files a/hugegraph-dist/src/main/resources/public-certs.store and /dev/null differ
diff --git a/pom.xml b/pom.xml
index 890c3a0fd..7e52c0c42 100644
--- a/pom.xml
+++ b/pom.xml
@@ -412,6 +412,7 @@
                             <exclude>**/*.properties</exclude>
                             <exclude>dist/**/*</exclude>
                             <exclude>**/assembly/static/bin/hugegraph.service</exclude>
+                            <exclude>**/swagger-ui/**/*</exclude>
                             <exclude>scripts/dev/reviewers</exclude>
                             <exclude>scripts/dev/reviewers</exclude>
                             <exclude>**/*.md</exclude>