Skip to content

Commit 2a4a8ef

Browse files
committed
license: fix and pass skywalking-eyes check
1 parent 73062c5 commit 2a4a8ef

File tree

703 files changed

+1145
-695
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

703 files changed

+1145
-695
lines changed

.bazelversion

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
name: License Check
19+
20+
on: [push, pull_request]
21+
22+
jobs:
23+
license:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v2
27+
- name: Check License Header
28+
uses: apache/skywalking-eyes/header@501a28d2fb4a9b962661987e50cf0219631b32ff
29+
# with:
30+
# log: debug # optional: set the log level. The default value is `info`.
31+
# config: .licenserc.yaml # optional: set the config file. The default value is `.licenserc.yaml`.
32+
# token: # optional: the token that license eye uses when it needs to comment on the pull request. Set to empty ("") to disable commenting on pull request. The default value is ${{ github.token }}
33+
# mode: # optional: Which mode License-Eye should be run in. Choices are `check` or `fix`. The default value is `check`.

.licenserc.yaml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
header:
19+
license:
20+
spdx-id: Apache-2.0
21+
copyright-owner: Apache Software Foundation
22+
23+
paths-ignore:
24+
# License and notice files
25+
- 'licenses'
26+
- 'LICENSE'
27+
- 'NOTICE'
28+
- 'DISCLAIMER'
29+
30+
# Documentation and configuration files
31+
- '**/*.md'
32+
- '**/Cargo.lock'
33+
- 'rust-toolchain'
34+
- '**/*.lds'
35+
36+
# Cryptographic and binary files for testing
37+
- '**/*.pem'
38+
- '**/*.key'
39+
- '**/*.crt'
40+
- '**/*.rsa'
41+
- '**/*.der'
42+
43+
# Third-party libraries - included in licenses directory
44+
- 'common/inc' # LICENSE-common-inc.txt
45+
- 'sgx_tstd/hashbrown' # LICENSE-hashbrown.txt
46+
- 'sgx_edl/edl/sgx_sync.edl' # LICENSE-intel-sgx.txt
47+
- 'sgx_backtrace/sgx_backtrace_sys' # LICENSE-libbacktrace.txt
48+
- 'sgx_unwind/libunwind' # LICENSE-libunwind.txt
49+
- 'rustlib/' # LICENSE-rust.txt
50+
- 'sgx_crypto/sgx_crypto_sys/tcrypto' # LICENSE-tcrypto.txt
51+
- 'sgx_libc/sgx_tlibc_sys/tlibc/' # LICENSE-tlibc.txt
52+
- 'sgx_libc/sgx_tlibc_sys/tsafecrt/' # LICENSE-tsafecrt.txt
53+
54+
dependency:
55+
files:
56+
- 'Cargo.toml'

DISCLAIMER

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Apache Teaclave (incubating) is an effort undergoing incubation at The Apache
2+
Software Foundation (ASF), sponsored by the Apache Incubator.
3+
Incubation is required of all newly accepted projects until a further review
4+
indicates that the infrastructure, communications, and decision making process
5+
have stabilized in a manner consistent with other successful ASF projects.
6+
While incubation status is not necessarily a reflection of the completeness or
7+
stability of the code, it does indicate that the project has yet to be fully
8+
endorsed by the ASF.

LICENSE

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,32 @@
205205
This product bundles various third-party components under other open source
206206
licenses. This section summarizes those components and their licenses. See
207207
licenses/ for text of these licenses.
208+
209+
Third-party components included in this distribution:
210+
211+
- common/inc
212+
License: See licenses/LICENSE-common-inc.txt
213+
214+
- sgx_tstd/hashbrown
215+
License: See licenses/LICENSE-hashbrown.txt
216+
217+
- sgx_edl/edl/sgx_sync.edl
218+
License: See licenses/LICENSE-intel-sgx.txt
219+
220+
- sgx_backtrace/sgx_backtrace_sys
221+
License: See licenses/LICENSE-libbacktrace.txt
222+
223+
- sgx_unwind/libunwind
224+
License: See licenses/LICENSE-libunwind.txt
225+
226+
- rustlib/
227+
License: See licenses/LICENSE-rust.txt
228+
229+
- sgx_crypto/sgx_crypto_sys/tcrypto
230+
License: See licenses/LICENSE-tcrypto.txt
231+
232+
- sgx_libc/sgx_tlibc_sys/tlibc/
233+
License: See licenses/LICENSE-tlibc.txt
234+
235+
- sgx_libc/sgx_tlibc_sys/tsafecrt/
236+
License: See licenses/LICENSE-tsafecrt.txt

buildenv.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
16-
# under the License..
16+
# under the License.
1717
#
1818
#
1919

common/inc/sgx_dcap_key_exchange.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
16-
// under the License..
16+
// under the License.
1717

1818
#ifndef _SGX_DCAP_KEY_EXCHANGE_H_
1919
#define _SGX_DCAP_KEY_EXCHANGE_H_

common/inc/sgx_dcap_tkey_exchange.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1414
// KIND, either express or implied. See the License for the
1515
// specific language governing permissions and limitations
16-
// under the License..
16+
// under the License.
1717

1818
#ifndef _SGX_DCAP_TKEY_EXCHANGE_H_
1919
#define _SGX_DCAP_TKEY_EXCHANGE_H_

licenses/LICENSE-common-inc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ software distributed under the License is distributed on an
5757
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
5858
KIND, either express or implied. See the License for the
5959
specific language governing permissions and limitations
60-
under the License..
60+
under the License.

0 commit comments

Comments
 (0)