Browse Source

optimize: add ASF header to some files (#797)

tags/v2.0.0-rc01
YvCeung GitHub 5 months ago
parent
commit
495b9a1215
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
7 changed files with 87 additions and 1 deletions
  1. +16
    -0
      CONTRIBUTING.md
  2. +16
    -1
      README.md
  3. +2
    -0
      changes/2.0.0.md
  4. +2
    -0
      changes/2.0.0_zh.md
  5. +17
    -0
      pkg/datasource/sql/mock/README.md
  6. +17
    -0
      pkg/datasource/sql/undo/parser/branch_undo_log.pb.go
  7. +17
    -0
      pkg/discovery/mock/mock_etcd_client.go

+ 16
- 0
CONTRIBUTING.md View File

@@ -1,3 +1,19 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
# Contributing to seata-go

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.


+ 16
- 1
README.md View File

@@ -1,3 +1,19 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

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

@@ -5,7 +21,6 @@
[![license](https://img.shields.io/github/license/apache/incubator-seata-go.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)

[简体中文 ZH](./README_ZH.md)

## What is seata-go?

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.


+ 2
- 0
changes/2.0.0.md View File

@@ -90,6 +90,7 @@ The version is updated as follows:
- [[#686](https://github.com/apache/incubator-seata-go/pull/686)] add more linter in ci
- [[#737](https://github.com/apache/incubator-seata-go/pull/737)] modify the readme file and update the currently completed work
- [[#756](https://github.com/apache/incubator-seata-go/pull/756)] update license checker
- [[#797](https://github.com/apache/incubator-seata-go/pull/797)] add ASF header to some files


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


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


+ 2
- 0
changes/2.0.0_zh.md View File

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


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

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


+ 17
- 0
pkg/datasource/sql/mock/README.md View File

@@ -1,3 +1,20 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

```bash
mockgen -source=test_driver.go -destination=./mock_driver.go -package=mock
mockgen -source=../datasource/datasource_manager.go -destination=./mock_datasource_manager.go -package=mock

+ 17
- 0
pkg/datasource/sql/undo/parser/branch_undo_log.pb.go View File

@@ -1,3 +1,20 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.2


+ 17
- 0
pkg/discovery/mock/mock_etcd_client.go View File

@@ -1,3 +1,20 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// Code generated by MockGen. DO NOT EDIT.
// Source: test_etcd_client.go



Loading…
Cancel
Save