-
Notifications
You must be signed in to change notification settings - Fork 42
add license checker #997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add license checker #997
Conversation
1846102 to
f81e20f
Compare
| # Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT. | ||
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
|
|
||
| # You can add an exception file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this exception list for license check or for copyright check? or both? please mention it in the comment here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is for both
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as I stated above - please mention it in the comment here
| @@ -0,0 +1,192 @@ | |||
| #!/usr/bin/env bash | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when all done, the last thing to do would be to make order in your commits. In this PR it would be at best to have 3 commits:
- adding check_license based on the pmemstream repository (with link in the description ,where was it copied from)
- adding all your changes to the script
- fixing copyrights and licenses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, so this is not done ideally - a few notes on commits:
- still there are 4 commits - the last one, with simple fixes should be squashed, for sure
- descriptions of the commits should be as meaningful as possible; e.g. now, the second one (
[Fix formatting of CMakeLists.txt](https://github.com/oneapi-src/unified-memory-framework/pull/997/commits/d8ba0f40dc48ec80eff8e8836d13bf642c780f00)) have a lot of lines, which are not relevant... and the title is inaccurate - the title
Final version of license checkis also not saying what you did in this commit 😉
in case you need any hint on this matter, please let me, or anyone else from the team know and we'll gladly help
41d276d to
d27f555
Compare
Fix formatting of CMakeLists.txt V2 Check license Check license V2 Check license V2.2 Check license V2.3 Check license V2.3 false test Check license V2.3 false test 2 Check license V2.3 false test 3 Check license V2.3 false test 4 TEST v1 TEST v1.2 TEST v1.3 TEST v1.4 Fix V1 Add date exception Added more exception files Added more exception files V2 Added more exception files V2.2 final version final version v2 final version v3
d27f555 to
d8ba0f4
Compare
Final version of license check.. Final version of license check... Final version of license check....
0660a85 to
c6a9fa0
Compare
| @@ -0,0 +1,142 @@ | |||
| # Check code with compilers' sanitizers | |||
| name: Sanitizers | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
heh, this file shouldn't be here
| @@ -0,0 +1,192 @@ | |||
| #!/usr/bin/env bash | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, so this is not done ideally - a few notes on commits:
- still there are 4 commits - the last one, with simple fixes should be squashed, for sure
- descriptions of the commits should be as meaningful as possible; e.g. now, the second one (
[Fix formatting of CMakeLists.txt](https://github.com/oneapi-src/unified-memory-framework/pull/997/commits/d8ba0f40dc48ec80eff8e8836d13bf642c780f00)) have a lot of lines, which are not relevant... and the title is inaccurate - the title
Final version of license checkis also not saying what you did in this commit 😉
in case you need any hint on this matter, please let me, or anyone else from the team know and we'll gladly help
| # Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT. | ||
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
|
|
||
| # You can add an exception file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as I stated above - please mention it in the comment here
includes: - add missing CUDA provider in the web docs, - proxy_pool is enabled by default, move req. info to proxy_lib, - add links in README.
and update the script to work outside of scripts dir.
Signed-off-by: Lukasz Dorau <[email protected]>
…est_valgrind.sh Fix paths of logs in test_valgrind.sh
Set device_properties.stype during init. Found by L0 validation layer.
Fix L0 provider
…n_examples enable building examples on win static hwloc CI
Update docs content and process
check_license/file-exceptions.sh
Outdated
| grep -v -E -e 'src/uthash/.*' \ | ||
| -e 'benchmark/ubench.h' \ | ||
| -e 'include/umf/proxy_lib_new_delete.h' \ | ||
| -e 'scripts/docs_config/conf.py' \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs files moved to a new <umf_root>/docs dir, so at least this line should be updated
check_license/file-exceptions.sh
Outdated
| -e '\.cmake-format$' \ | ||
| -e 'CODEOWNERS$' \ | ||
| -e 'scripts/assets/images/.*' \ | ||
| -e 'scripts/docs_config/.*' \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm I think not all files from docs_config (now called docs/config) should be omitted
updated checker algoritm, added exception files, added correct license where needed, added calling checker
|
continued in #1028 |
Description
Add license checker.
Checklist