1 Star 0 Fork 5

shitijun/fluttertpc_flutter_mailer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
OAT.xml 10.68 KB
一键复制 编辑 原始数据 按行查看 历史
shitijun 提交于 2024-12-27 16:57 . modify oat and license
<?xml version="1.0" encoding="UTF-8"?>
<!-- MIT License
Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
This is the configuration file template for OpenHarmony OSS Audit Tool, please copy it to your project root dir and modify it refer to OpenHarmony/tools_oat/README.
All configurations in this file will be merged to OAT-Default.xml, if you have any questions or concerns, please create issue in OpenHarmony/tools_oat and @jalenchen or chenyaxun.
licensefile:
1.If the project don't have "LICENSE" in root dir, please define all the license files in this project in , OAT will check license files according to this rule.
policylist:
1. policy: If the OAT-Default.xml policies do not meet your requirements, please add policies here.
2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is:
<policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
3. policyitem type:
"compatibility" is used to check license compatibility in the specified path;
"license" is used to check source license header in the specified path;
"copyright" is used to check source copyright header in the specified path;
"import" is used to check source dependency in the specified path, such as import ... ,include ...
"filetype" is used to check file type in the specified path, supported file types: archive, binary
"filename" is used to check whether the specified file exists in the specified path(projectroot means the root dir of the project), supported file names: LICENSE, README, README.OpenSource
4. policyitem name: This field is used for define the license, copyright, "*" means match all, the "!" prefix means could not match this value. For example, "!GPL" means can not use GPL license.
5. policyitem path: This field is used for define the source file scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be exclude while process this policyitem.
6. policyitem rule and group: These two fields are used together to merge policy results. "may" policyitems in the same group means any one in this group passed, the result will be passed.
7. policyitem filefilter: Used to bind filefilter which define filter rules.
7. policyitem desc: Used to describe the reason of this policy item, committers will check this while merging the code.
8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is used to filter file path.
Note:If the text contains special characters, please escape them according to the following rules:
" == &quot;
& == &amp;
' == &apos;
< == &lt;
> == &gt;
-->
<configuration>
<oatconfig>
<licensefile></licensefile>
<policylist>
<policy name="projectPolicy" desc="">
<policyitem desc="Developed By Shenzhen Kaihong Digital Industry Development Co, Ltd." filefilter="copyrightPolicyFilter" group="defaultGroup" name="Shenzhen Kaihong Digital Industry Development Co., Ltd." path=".*" rule="may" type="copyright"/>
<policyitem type="copyright" name="Hunan OpenValley Digital Industry Development Co., Ltd." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by OpenValley Digital Co., Ltd."/>
<policyitem type="license" name="MIT" path=".*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
<policyitem type="license" name="Apache-2.0" path=".*" desc="不影响兼容性"/>
<policyitem type="license" name="BSD-style" path=".*" desc="不影响兼容性" />
<policyitem type="compatibility" name="MIT" path=".*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
<policyitem type="compatibility" name="Apache-2.0" path=".*" desc="不影响兼容性"/>
<policyitem type="compatibility" name="BSD-style" path=".*" desc="不影响兼容性" />
</policy>
</policylist>
<filefilterlist>
<filefilter name="defaultFilter" desc="Files not to check">
<filteritem type="filename" name="LICENSE" desc="LICENSE说明,不需要添加版权头"/>
<filteritem type="filename" name="NOTICE" desc="NOTICE说明,不需要添加版权头"/>
<filteritem type="filename" name="*hvigorfile.ts" desc="hvigor配置文件,DevEco Studio自动生成,不手动修改"/>
<filteritem type="filename" name="*hvigorw.bat" desc="hvigor配置文件,DevEco Studio自动生成,不手动修改"/>
<filteritem type="filename" name="*hvigor-wrapper.js" desc="hvigor配置文件,DevEco Studio自动生成,不手动修改"/>
<filteritem type="filename" name="*hvigorw" desc="hvigor配置文件,DevEco Studio自动生成,不手动修改"/>
<filteritem type="filename" name="*.json5" desc="项目工程默认文件,不需要添加版权头"/>
<filteritem type="filepath" name="*.metadata" desc="配置文件,原本就无版权头,不做侵入式修改"/>
<filteritem type="filename" name="*.so|*.har|*.dat" desc="二进制文件,不影响兼容性"/>
<filteritem type="filename" name="*.iml|*.json|*.txt|*.yaml|*.yml" desc="desc files"/>
<filteritem type="filename" name="*.png|*.ico|*.jpg|*.webp|*.ttf|*.enc|*.mp3|*.pdf" desc="app resource files"/>
<filteritem type="filename" name="melos.yaml" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="doc/*" desc="开源库代码(或原库代码文件),不做侵入式修改"/>
<filteritem type="filepath" name="android/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="darwin/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="ios/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="lib/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="macos/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="src/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="test/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filename" name="melos.yaml" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filename" name="*.mdx" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filename" name=".metadata" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filename" name="analysis_options.yaml" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filename" name="pubspec.yaml" desc="开源库代码(或原库代码文件),原本就无协议头,不需要添加版权头"/>
<filteritem type="filepath" name="example/android/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="example/ios/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="example/lib/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="example/macos/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="example/test/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="example/web/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
<filteritem type="filepath" name="example/android/*" desc="开源库代码(或原库代码文件),原本就无协议头,不做侵入式修改"/>
</filefilter>
<filefilter name="copyrightPolicyFilter" desc="Filters for compatibility,license header policies">
</filefilter>
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for copyright header policies">
<filteritem type="filepath" name="entry/src/main/resources/base/media/.*" desc="图片"/>
<filteritem type="filepath" name="entry/src/ohosTest/resources/base/media/.*" desc="图片"/>
<filteritem type="filepath" name="AppScope/resources/base/media/app_icon.png" desc="图片"/>
<filteritem type="filepath" name="oh-package.json5" desc="配置文件"/>
</filefilter>
</filefilterlist>
</oatconfig>
</configuration>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shitijun/fluttertpc_flutter_mailer.git
git@gitee.com:shitijun/fluttertpc_flutter_mailer.git
shitijun
fluttertpc_flutter_mailer
fluttertpc_flutter_mailer
master

搜索帮助