This is an automated email from the ASF dual-hosted git repository. jimin pushed a commit to branch 2.x in repository https://gitbox.apache.org/repos/asf/incubator-seata.git
The following commit(s) were added to refs/heads/2.x by this push: new ac9c8bab0f optimize: add some license header (#7426) ac9c8bab0f is described below commit ac9c8bab0f3c329d39f87f920d4bc978d8a45d3d Author: jimin <sliev...@163.com> AuthorDate: Thu Jun 19 00:43:09 2025 +0800 optimize: add some license header (#7426) --- .licenserc.yaml | 4 ++-- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + .../static/console-fe/public/css/console1412.css | 16 ++++++++++++++++ .../seata/sqlparser/antlr/mysql/parser/MySqlLexer.java | 17 +++++++++++++++++ .../seata/sqlparser/antlr/mysql/parser/MySqlParser.java | 17 +++++++++++++++++ .../antlr/mysql/parser/MySqlParserBaseListener.java | 17 +++++++++++++++++ .../antlr/mysql/parser/MySqlParserBaseVisitor.java | 17 +++++++++++++++++ .../antlr/mysql/parser/MySqlParserListener.java | 17 +++++++++++++++++ .../antlr/mysql/parser/MySqlParserVisitor.java | 17 +++++++++++++++++ 10 files changed, 122 insertions(+), 2 deletions(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 682c10dc87..c3b5d441b1 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -40,7 +40,6 @@ header: - 'NOTICE' - 'DISCLAIMER' - '**/org/apache/seata/sqlparser/antlr/**/*.g4' - - '**/org/apache/seata/sqlparser/antlr/mysql/parser/*' #generate file - 'distribution/licenses/**' - 'distribution/LICENSE' - 'distribution/LICENSE-*' @@ -52,10 +51,11 @@ header: - '**/*.jpg' - '**/*.jpeg' - '**/*.ico' + - '**/*.tokens' + - '**/*.interp' - '**/.babelrc' #json format - '**/.eslintrc' #json format - '**/.prettierrc' #json format - - 'console/src/main/resources/static/console-fe/public/css/console1412.css' #generate css comment: on-failure dependency: files: diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 561f7f094b..ac61d9b79e 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -59,6 +59,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7430](https://github.com/apache/incubator-seata/pull/7430)] Add support for parsing @RequestParam annotation in netty-http-server - [[#7432](https://github.com/apache/incubator-seata/pull/7432)] conditionally include test modules using Maven profiles - [[#7445](https://github.com/apache/incubator-seata/pull/7432)] separate the license from the server and namingserver +- [[#7426](https://github.com/apache/incubator-seata/pull/7426)] add some license header ### security: diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 658abf4210..c8ffa9a494 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -58,6 +58,7 @@ - [[#7428](https://github.com/apache/incubator-seata/pull/7428)] 修改 pmd-check 输出日志为 ERROR 级别 - [[#7430](https://github.com/apache/incubator-seata/pull/7430)] 在netty-http-server中增加了对解析@RequestParam注释的支持 - [[#7445](https://github.com/apache/incubator-seata/pull/7432)] 分离license到server和namingserver +- [[#7426](https://github.com/apache/incubator-seata/pull/7426)] 添加 license header ### security: diff --git a/console/src/main/resources/static/console-fe/public/css/console1412.css b/console/src/main/resources/static/console-fe/public/css/console1412.css index 838132db09..4fb68d5ca5 100644 --- a/console/src/main/resources/static/console-fe/public/css/console1412.css +++ b/console/src/main/resources/static/console-fe/public/css/console1412.css @@ -1 +1,17 @@ +/* + * 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. + */ @charset "UTF-8";.viewFramework-topbar{position:fixed;width:100%;height:50px;background:#09C;z-index:101}.viewFramework-body{position:absolute;width:100%;top:50px;bottom:0px;background-color:#000;z-index:100}.viewFramework-body .console-global-notice .console-global-notice-nav{top:14px}.viewFramework-body .console-global-notice .console-global-notice-list{margin:0;height:40px}.viewFramework-body .console-global-notice .console-global-notice-list .console-global-notice-item{padding:11px 1 [...] diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlLexer.java b/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlLexer.java index 7f8a603ab2..cc1a8dc2db 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlLexer.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlLexer.java @@ -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. + */ + // Generated from E:/seata/seata/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql// /antlr// \MySqlLexer.g4 by ANTLR 4.8 package org.apache.seata.sqlparser.antlr.mysql.parser; import org.antlr.v4.runtime.Lexer; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParser.java b/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParser.java index c180470fde..34faf74f51 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParser.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParser.java @@ -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. + */ + // Generated from E:/seata/seata/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/antlr\MySqlParser.g4 by ANTLR 4.8 package org.apache.seata.sqlparser.antlr.mysql.parser; import org.antlr.v4.runtime.atn.*; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseListener.java b/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseListener.java index 94174bb531..0a55232232 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseListener.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseListener.java @@ -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. + */ + // Generated from E:/seata/seata/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/antlr\MySqlParser.g4 by ANTLR 4.8 package org.apache.seata.sqlparser.antlr.mysql.parser; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseVisitor.java b/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseVisitor.java index dfd0681891..10f1d15403 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseVisitor.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserBaseVisitor.java @@ -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. + */ + // Generated from E:/seata/seata/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/antlr\MySqlParser.g4 by ANTLR 4.8 package org.apache.seata.sqlparser.antlr.mysql.parser; import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserListener.java b/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserListener.java index 563d951cbb..7198da825b 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserListener.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserListener.java @@ -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. + */ + // Generated from E:/seata/seata/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/antlr\MySqlParser.g4 by ANTLR 4.8 package org.apache.seata.sqlparser.antlr.mysql.parser; import org.antlr.v4.runtime.tree.ParseTreeListener; diff --git a/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserVisitor.java b/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserVisitor.java index 0884a4a60f..f11991671e 100644 --- a/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserVisitor.java +++ b/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/parser/MySqlParserVisitor.java @@ -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. + */ + // Generated from E:/seata/seata/sqlparser/seata-sqlparser-antlr/src/main/java/org/apache/seata/sqlparser/antlr/mysql/antlr\MySqlParser.g4 by ANTLR 4.8 package org.apache.seata.sqlparser.antlr.mysql.parser; import org.antlr.v4.runtime.tree.ParseTreeVisitor; --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org