You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2021/06/22 10:40:56 UTC

[arrow-rs] branch master updated: Fixed RAT check. (#482)

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

alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new 4c7d418  Fixed RAT check. (#482)
4c7d418 is described below

commit 4c7d4189e72901a78fb4f4250c11421241dd9e13
Author: Jorge Leitao <jo...@gmail.com>
AuthorDate: Tue Jun 22 12:40:48 2021 +0200

    Fixed RAT check. (#482)
---
 .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 548f0dd..51569c0 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 c901a4e..252736c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,22 @@
+<!---
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
 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 d2b5aad..4c13fee 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