kyuubi/build
Fei Wang 46db9a8eb1 [KYUUBI #1463] Enabled to preserve symbolic links when copying dist dir
<!--
Thanks for sending a pull request!

Here are some tips for you:
  1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html
  2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
  3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'.
-->

### _Why are the changes needed?_
<!--
Please clarify why the changes are needed. For instance,
  1. If you add a feature, you can talk about the use case of it.
  2. If you fix a bug, you can clarify why it is a bug.
-->
Before, the soft symbolic links are not reserved when making copy.

`man cp`
```
 -R    If source_file designates a directory, cp copies the directory and the entire subtree connected at that point.  If the source_file ends in
           a /, the contents of the directory are copied rather than the directory itself.  This option also causes symbolic links to be copied,
           rather than indirected through, and for cp to create special files rather than copying them as normal files.  Created directories have the
           same mode as the corresponding source directory, unmodified by the process' umask.

           In -R mode, cp will continue copying even if errors are detected.

           Note that cp copies hard-linked files as separate files.  If you need to preserve hard links, consider using tar(1), cpio(1), or pax(1)
           instead.

```

### _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

- [x] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #1463 from turboFei/tar_opt.

Closes #1463

abd9ddcd [Fei Wang] reorder the tar option

Authored-by: Fei Wang <fwang12@ebay.com>
Signed-off-by: Fei Wang <fwang12@ebay.com>
2021-11-29 17:31:53 +08:00
..
release [KYUUBI #1368] Turn off debugging in dist scripts 2021-11-12 19:45:56 +08:00
dependency.sh [KYUUBI #1164] Grep WARN in dependency.sh 2021-09-27 18:30:20 +08:00
dist [KYUUBI #1463] Enabled to preserve symbolic links when copying dist dir 2021-11-29 17:31:53 +08:00
Dockerfile [KYUUBI #1396][K8S] Add docker image tools and replace Dockerfile 2021-11-26 17:48:50 +08:00
kyuubi-build-info [KYUUBI #297] Remove unused property from build properties file 2021-01-18 14:26:11 +08:00
mvn [KYUUBI #756] [INFRA] Recover CODECOV 2021-07-06 00:35:25 +08:00
util.sh [KYUUBI #889] [BUILD] Package release tarball 2021-08-06 13:17:51 +08:00