-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from espressif/feat/ci_add_copyright_check
CI: Add copyright license check
- Loading branch information
Showing
20 changed files
with
69 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
DEFAULT: | ||
perform_check: yes # should the check be performed? | ||
# Sections setting this to 'no' don't need to include any other options as they are ignored | ||
# When a file is using a section with the option set to 'no', no checks are performed. | ||
|
||
# what licenses (or license expressions) are allowed for files in this section | ||
# when setting this option in a section, you need to list all the allowed licenses | ||
allowed_licenses: | ||
- Apache-2.0 | ||
license_for_new_files: Apache-2.0 # license to be used when inserting a new copyright notice | ||
new_notice_c: | # notice for new C, CPP, H, HPP and LD files | ||
/* | ||
* SPDX-FileCopyrightText: {years} Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: {license} | ||
*/ | ||
new_notice_python: | # notice for new python files | ||
# SPDX-FileCopyrightText: {years} Espressif Systems (Shanghai) CO LTD | ||
# SPDX-License-Identifier: {license} | ||
# comment lines matching: | ||
# SPDX-FileCopyrightText: year[-year] Espressif Systems | ||
# or | ||
# SPDX-FileContributor: year[-year] Espressif Systems | ||
# are replaced with this template prefixed with the correct comment notation (# or // or *) and SPDX- notation | ||
espressif_copyright: '{years} Espressif Systems (Shanghai) CO LTD' | ||
|
||
# You can create your own rules for files or group of files | ||
libuvc: | ||
include: | ||
- 'host/class/uvc/usb_host_uvc/**' | ||
allowed_licenses: | ||
- Apache-2.0 | ||
- LGPL-2.1-or-later | ||
license_for_new_files: Apache-2.0 | ||
|
||
tinyusb: | ||
include: | ||
- ' device/esp_tinyusb/**' | ||
allowed_licenses: | ||
- Apache-2.0 | ||
- MIT | ||
license_for_new_files: Apache-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters