From 7a86ee030791b163cf35a9a4267591d06850f278 Mon Sep 17 00:00:00 2001 From: "Jorge C. Leitao" Date: Mon, 21 Jun 2021 21:26:12 +0000 Subject: [PATCH] Fixed RAT check. --- .github/workflows/dev.yml | 18 +++------------- CHANGELOG.md | 19 ++++++++++++++++ dev/release/rat_exclude_files.txt | 36 ++++++++++--------------------- 3 files changed, 33 insertions(+), 40 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 548f0ddbb52e..51569c0029a7 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -32,25 +32,13 @@ jobs: name: Release Audit Tool (RAT) runs-on: ubuntu-latest steps: - - name: Checkout Arrow - uses: actions/checkout@v2 - with: - repository: apache/arrow - submodules: true - fetch-depth: 0 - - name: Checkout Arrow Rust - uses: actions/checkout@v2 - with: - path: rust - fetch-depth: 0 + - uses: actions/checkout@v2 - name: Setup Python uses: actions/setup-python@v1 with: python-version: 3.8 - - name: Setup Archery - run: pip install -e dev/archery[lint] - - name: Lint - run: archery lint --rat + - name: Audit licenses + run: ./dev/release/run-rat.sh . prettier: name: Use prettier to check formatting of documents diff --git a/CHANGELOG.md b/CHANGELOG.md index c901a4eca336..252736c8e03b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ + + For older versions, see [apache/arrow/CHANGELOG.md](https://github.com/apache/arrow/blob/master/CHANGELOG.md) # Changelog diff --git a/dev/release/rat_exclude_files.txt b/dev/release/rat_exclude_files.txt index d2b5aadbb000..4c13feef6516 100644 --- a/dev/release/rat_exclude_files.txt +++ b/dev/release/rat_exclude_files.txt @@ -1,27 +1,13 @@ -*.npmrc -*.gitignore -.gitmodules -*.csv -*.json -*.snap -.github/ISSUE_TEMPLATE/*.md -.github/pull_request_template.md -CHANGELOG.md -pax_global_header -MANIFEST.in -requirements.txt -*.html -*.sgml -*.css -*.png -*.ico -*.svg -*.devhelp2 -*.scss +venv/* +testing/* +target/* +dev/release/rat_exclude_files.txt +arrow/test/data/* .gitattributes -arrow/test/data/*.csv -rust-toolchain +**.gitignore +.gitmodules +Cargo.lock +filtered_rat.txt +rat.txt +# auto-generated arrow-flight/src/arrow.flight.protocol.rs -ballista/rust/benchmarks/tpch/queries/q*.sql -ballista/rust/scheduler/testdata/* -ballista/ui/scheduler/yarn.lock