liuchunhao opened a new pull request, #5561:
URL: https://github.com/apache/gravitino/pull/5561
…e wrong path problem
### What changes were proposed in this pull request?
This script checks if all the files mentioned in the LICENSE file are
present in the project.
Besides highlighting the missing files, it will display possible
locations for any new files.
This script adds text like [NOT FOUND] --> "new/path/to/the/file" in
the end of the line where the file is missing.
With the output of this script, you can update the LICENSE file with
the correct file paths.
new file:
./dev/release/check-license.sh (script for checking the
missing files)
modified:
./LICENSE (remove missing files or replace them with the
newly found files)
### Why are the changes needed?
Some code paths listed in LICENSE file are already outdated due to the
refactoring of the codes.
We need to update the path to reflect the actual one.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
```bash
./check-license.sh
```
This script adds [NOT FOUND] --> "new/path/to/the/file" in the end of the
line where the file is missing.

This script will show the following message if all checks pass:

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]