Skip to content

Commit f592643

Browse files
authored
optimize: add license header (apache#6648)
1 parent 238cf3a commit f592643

File tree

8 files changed

+106
-2
lines changed

8 files changed

+106
-2
lines changed

changes/en-us/2.x.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Add changes here for all PR submitted to the 2.x branch.
2222
- [[#6566](https://github.com/apache/incubator-seata/pull/6566)] Add support for configuring exposeProxy in GlobalTransactionScanner
2323
- [[#6534](https://github.com/apache/incubator-seata/pull/6534)] optimize: send async response
2424
- [[#6640](https://github.com/apache/incubator-seata/pull/6640)] modify codecov config
25+
- [[#6640](https://github.com/apache/incubator-seata/pull/6648)] add license header
2526

2627
### refactor:
2728

@@ -46,6 +47,7 @@ Thanks to these contributors for their code commits. Please report an unintended
4647
- [wanghongzhou](https://github.com/wanghongzhou)
4748
- [ggbocoder](https://github.com/ggbocoder)
4849
- [xjlgod](https://github.com/xjlgod)
50+
- [xingfudeshi](https://github.com/xingfudeshi)
4951

5052

51-
Also, we receive many valuable issues, questions and advices from our community. Thanks for you all.
53+
Also, we receive many valuable issues, questions and advices from our community. Thanks for you all.

changes/zh-cn/2.x.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- [[#6523](https://github.com/apache/incubator-seata/pull/6523)] 升级 alibaba/druid 的版本到1.2.20
2323
- [[#6566](https://github.com/apache/incubator-seata/pull/6566)] 支持GlobalTransactionScanner类中exposeProxy属性的配置
2424
- [[#6534](https://github.com/apache/incubator-seata/pull/6534)] 优化: 发送异步响应
25+
- [[#6534](https://github.com/apache/incubator-seata/pull/6648)] 增加license header信息
2526

2627
### refactor:
2728

@@ -47,6 +48,7 @@
4748
- [wanghongzhou](https://github.com/wanghongzhou)
4849
- [ggbocoder](https://github.com/ggbocoder)
4950
- [xjlgod](https://github.com/xjlgod)
51+
- [xingfudeshi](https://github.com/xingfudeshi)
5052

5153

52-
同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。
54+
同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。

script/config-center/config.txt

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# 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, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
118
#For details about configuration items, see https://seata.apache.org/zh-cn/docs/user/configurations
219
#Transport configuration, for client and server
320
transport.type=TCP

script/config-center/nacos/nacos-config-interactive.py

+16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
#!/usr/bin/env python3
22
# -*- coding: UTF-8 -*-
3+
#
4+
# Licensed to the Apache Software Foundation (ASF) under one or more
5+
# contributor license agreements. See the NOTICE file distributed with
6+
# this work for additional information regarding copyright ownership.
7+
# The ASF licenses this file to You under the Apache License, Version 2.0
8+
# (the "License"); you may not use this file except in compliance with
9+
# the License. You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
319
import http.client
420
import urllib.parse
521
import re

script/config-center/nacos/nacos-config.py

+16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
#!/usr/bin/env python3
22
# -*- coding: UTF-8 -*-
3+
#
4+
# Licensed to the Apache Software Foundation (ASF) under one or more
5+
# contributor license agreements. See the NOTICE file distributed with
6+
# this work for additional information regarding copyright ownership.
7+
# The ASF licenses this file to You under the Apache License, Version 2.0
8+
# (the "License"); you may not use this file except in compliance with
9+
# the License. You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
319

420
import http.client
521
import sys

script/server/helm/seata-server/.helmignore

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# 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, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
118
# Patterns to ignore when building packages.
219
# This supports shell glob matching, relative path matching, and
320
# negation (prefixed with !). Only one pattern per line.

script/server/helm/seata-server/templates/NOTES.txt

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# 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, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
118
1. Get the application URL by running these commands:
219
{{- if contains "NodePort" .Values.service.type }}
320
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "seata-server.fullname" . }})

script/server/helm/seata-server/templates/_helpers.tpl

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
{{/*
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
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, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/}}
17+
118
{{/* vim: set filetype=mustache: */}}
219
{{/*
320
Expand the name of the chart.

0 commit comments

Comments
 (0)