This is an automated email from the ASF dual-hosted git repository. zfeng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-seata-go.git
The following commit(s) were added to refs/heads/master by this push: new ff0f0a74 optimize: add some licenser header (#813) ff0f0a74 is described below commit ff0f0a74d0690ee3124fbdfcd4ed41f332f608e6 Author: jimin <sliev...@163.com> AuthorDate: Sun May 18 12:12:34 2025 +0800 optimize: add some licenser header (#813) * optimize: add some licenser header * revert some lines * add ignore --------- Co-authored-by: FengZhang <zfc...@qq.com> --- .gitignore | 17 +++++++++++++++++ .licenserc.yaml | 9 +-------- CONTRIBUTING_CN.md | 17 +++++++++++++++++ README_ZH.md | 17 ++++++++++++++++- testdata/sql/undo_log.sql | 32 +++++++++++++++++--------------- 5 files changed, 68 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index 965a7bb1..ccc8bd3e 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/.licenserc.yaml b/.licenserc.yaml index 0bab631f..c42dae30 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -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. - - 'dist-material/**' - 'licenses' - - '**/*.md' - '**/go.mod' - '**/go.sum' - 'LICENSE' + - 'DISCLAIMER' - 'NOTICE' - - '.gitignore' - - 'makefile' - - 'VERSION' - '.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`. language: diff --git a/CONTRIBUTING_CN.md b/CONTRIBUTING_CN.md index c2a8c7b3..2a2a596e 100644 --- a/CONTRIBUTING_CN.md +++ b/CONTRIBUTING_CN.md @@ -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 贡献代码,我们会热烈欢迎。首先,我们非常鼓励这种意愿。这是为您提供的贡献指南列表。 diff --git a/README_ZH.md b/README_ZH.md index 3cc58144..ceaf87e3 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -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版本) [](https://github.com/apache/incubator-seata-go/actions/workflows/license.yml) diff --git a/testdata/sql/undo_log.sql b/testdata/sql/undo_log.sql index d975d1da..37af7092 100644 --- a/testdata/sql/undo_log.sql +++ b/testdata/sql/undo_log.sql @@ -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. - +/* + * 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`; CREATE TABLE `undo_log` ( --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org