Skip to content

Commit 495b9a1

Browse files
authored
optimize: add ASF header to some files (#797)
1 parent b690562 commit 495b9a1

File tree

7 files changed

+87
-1
lines changed

7 files changed

+87
-1
lines changed

CONTRIBUTING.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
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+
-->
117
# Contributing to seata-go
218

319
It is warmly welcomed if you have interest to hack on seata-go. First, we encourage this kind of willing very much. And here is a list of contributing guide for you.

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
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+
-->
117

218
# Seata-go: Simple Extensible Autonomous Transaction Architecture(Go version)
319

420
[![CI](https://github.com/apache/incubator-seata-go/actions/workflows/license.yml/badge.svg)](https://github.com/apache/incubator-seata-go/actions/workflows/license.yml)
521
[![license](https://img.shields.io/github/license/apache/incubator-seata-go.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
622

723
[简体中文 ZH](./README_ZH.md)
8-
924
## What is seata-go?
1025

1126
Apache Seata(incubating) is a very mature distributed transaction framework, and is the de facto standard platform for distributed transaction technology in the Java field. Seata-go is the implementation version of go language in Seata multilingual ecosystem, which realizes the interoperability between Java and Go, so that Go developers can also use seata-go to realize distributed transactions. Please visit the [official website of Seata](https://seata.apache.org/) to view the quick start and documentation.

changes/2.0.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ The version is updated as follows:
9090
- [[#686](https://github.com/apache/incubator-seata-go/pull/686)] add more linter in ci
9191
- [[#737](https://github.com/apache/incubator-seata-go/pull/737)] modify the readme file and update the currently completed work
9292
- [[#756](https://github.com/apache/incubator-seata-go/pull/756)] update license checker
93+
- [[#797](https://github.com/apache/incubator-seata-go/pull/797)] add ASF header to some files
9394

9495

9596
### contributors:
@@ -127,6 +128,7 @@ Thanks to these contributors for their code commits. Please report an unintended
127128
- [funky-eyes](https://github.com/funky-eyes)
128129
- [tanzegen](https://github.com/tanzegen)
129130
- [lovepoem](https://github.com/lovepoem)
131+
- [YvCeung](https://github.com/YvCeung)
130132

131133

132134
Also, we receive many valuable issues, questions and advices from our community. Thanks all.

changes/2.0.0_zh.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ Seata-go 是一款开源的分布式事务解决方案,提供高性能和简
9090
- [[#686](https://github.com/apache/incubator-seata-go/pull/686)] 在 ci 中添加更多的 linter
9191
- [[#737](https://github.com/apache/incubator-seata-go/pull/737)] 更新 readme 文件中已完成的工作
9292
- [[#756](https://github.com/apache/incubator-seata-go/pull/756)] 添加 license 检查逻辑
93+
- [[#797](https://github.com/apache/incubator-seata-go/pull/797)] 给一些源文件添加 ASF header
9394

9495

9596
### contributors:
@@ -127,6 +128,7 @@ Seata-go 是一款开源的分布式事务解决方案,提供高性能和简
127128
- [funky-eyes](https://github.com/funky-eyes)
128129
- [tanzegen](https://github.com/tanzegen)
129130
- [lovepoem](https://github.com/lovepoem)
131+
- [YvCeung](https://github.com/YvCeung)
130132

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

pkg/datasource/sql/mock/README.md

Lines changed: 17 additions & 0 deletions
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
```bash
219
mockgen -source=test_driver.go -destination=./mock_driver.go -package=mock
320
mockgen -source=../datasource/datasource_manager.go -destination=./mock_datasource_manager.go -package=mock

pkg/datasource/sql/undo/parser/branch_undo_log.pb.go

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/discovery/mock/mock_etcd_client.go

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)