From 271ccc948fbbc340815eed9b8d224541fbce2d11 Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Sun, 22 Aug 2021 16:31:36 +0800 Subject: [PATCH] [KYUUBI #972] [LICENSE] Exclude binary/doc files from source release ### _Why are the changes needed?_ ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #972 from pan3793/src-license. Closes #972 443cd05c [Cheng Pan] Exclude unused files from source release 52271827 [Cheng Pan] Exclude unused files from source release d475b511 [Cheng Pan] Exclude unused files from source release e76299bd [Cheng Pan] Exclude docs from source release 2e42bc8c [Cheng Pan] Exclude whole tpcds module from source release 93b41a8c [Cheng Pan] [LICENSE] Exclude binary files from source release Authored-by: Cheng Pan Signed-off-by: Cheng Pan --- .dockerignore | 17 +++++++++++++++++ .gitattributes | 10 +++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 6cb161f36..95a5ffd91 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,20 @@ +# +# 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. +# + externals/*/target */target target diff --git a/.gitattributes b/.gitattributes index 53be9d4d8..1e3eb7638 100644 --- a/.gitattributes +++ b/.gitattributes @@ -15,7 +15,15 @@ # limitations under the License. # -licenses-binary/* export-ignore +.github/ export-ignore +.idea/ export-ignore +.readthedocs.yml export-ignore +.travis.yml export-ignore +_config.yml export-ignore +codecov.yml export-ignore +dev/kyuubi-tpcds/ export-ignore +docs/ export-ignore +licenses-binary/ export-ignore LICENSE-binary export-ignore NOTICE-binary export-ignore *.bat text eol=crlf