Browse Source

optimize: add some licenser header (#813)

* optimize: add some licenser header

* revert some lines

* add ignore

---------

Co-authored-by: FengZhang <zfcode@qq.com>
tags/v2.0.0-rc01
jimin GitHub 4 months ago
parent
commit
ff0f0a74d0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
5 changed files with 68 additions and 12 deletions
  1. +17
    -0
      .gitignore
  2. +1
    -8
      .licenserc.yaml
  3. +17
    -0
      CONTRIBUTING_CN.md
  4. +16
    -1
      README_ZH.md
  5. +17
    -3
      testdata/sql/undo_log.sql

+ 17
- 0
.gitignore 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.
#

# Idea configuration file # Idea configuration file
.idea/ .idea/




+ 1
- 8
.licenserc.yaml View File

@@ -54,20 +54,13 @@ header: # `header` section is configurations for source codes license header.
- '**' - '**'


paths-ignore: # `paths-ignore` are the path list that will be ignored by license-eye. paths-ignore: # `paths-ignore` are the path list that will be ignored by license-eye.
- 'dist-material/**'
- 'licenses' - 'licenses'
- '**/*.md'
- '**/go.mod' - '**/go.mod'
- '**/go.sum' - '**/go.sum'
- 'LICENSE' - 'LICENSE'
- 'DISCLAIMER'
- 'NOTICE' - 'NOTICE'
- '.gitignore'
- 'makefile'
- 'VERSION'
- '.github' - '.github'
- 'DISCLAIMER'
- 'pkg/discovery/mock/mock_etcd_client.go'
- 'pkg/datasource/sql/undo/parser/branch_undo_log.pb.go'
comment: on-failure # on what condition license-eye will comment on the pull request, `on-failure`, `always`, `never`. comment: on-failure # on what condition license-eye will comment on the pull request, `on-failure`, `always`, `never`.


language: language:


+ 17
- 0
CONTRIBUTING_CN.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.
-->

# 为 seata-go 做贡献 # 为 seata-go 做贡献


如果你有兴趣为 seata-go 贡献代码,我们会热烈欢迎。首先,我们非常鼓励这种意愿。这是为您提供的贡献指南列表。 如果你有兴趣为 seata-go 贡献代码,我们会热烈欢迎。首先,我们非常鼓励这种意愿。这是为您提供的贡献指南列表。


+ 16
- 1
README_ZH.md View File

@@ -1,4 +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: 简单的可扩展自主事务架构(Go版本) # seata-go: 简单的可扩展自主事务架构(Go版本)


[![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) [![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)


+ 17
- 3
testdata/sql/undo_log.sql View File

@@ -1,18 +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.
*/
DROP TABLE IF EXISTS `undo_log`; DROP TABLE IF EXISTS `undo_log`;
CREATE TABLE `undo_log` CREATE TABLE `undo_log`
( (


Loading…
Cancel
Save