加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
OAT.xml 7.03 KB
一键复制 编辑 原始数据 按行查看 历史
majun-bot 提交于 2022-08-04 06:05 . add OAT.xml.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2021 Huawei Device Co., Ltd.
Licensed 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.
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.
-->
<configuration>
<oatconfig>
<licensefile></licensefile>
<policylist>
<policy name="projectPolicy" desc="">
<!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/-->
<!--<policyitem type="license" name="MulanPSL-2.0" path=".*" desc="Dynamically linked by module X"/>-->
<policyitem type="copyright" name="Huawei Technologies Co., Ltd" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/>
</policy>
</policylist>
<filefilterlist>
<filefilter name="defaultFilter" desc="Files not to check">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--<filteritem type="filepath" name="License/.*" desc="Describe the reason for filtering scan results"/>-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<filteritem type="filepath" name="01_ML/character_recognition/images/.*" desc="Describe the reason for filtering scan results"/>
<filteritem type="filepath" name="01_ML/character_recognition/readme.assets/.*" desc="Temp files"/>
<filteritem type="filepath" name="01_ML/k_means/images/.*" desc="Temp files"/>
<filteritem type="filepath" name="01_ML/pca/images/.*" desc="Temp files"/>
<filteritem type="filepath" name="02_CV/deeplabv3/images/.*" desc="Temp files"/>
<filteritem type="filepath" name="02_CV/yolov3/images/.*" desc="Temp files"/>
<filteritem type="filepath" name="05_AI/.*" desc="Temp files"/>
<filteritem type="filepath" name="06_distributed/mixed_precision/images/.*" desc="Temp files"/>
<filteritem type="filepath" name="07_cloud_base/lite_cpp_inference/object_detection/gradle/wrapper/.*" desc="Temp files"/>
<filteritem type="filepath" name="07_cloud_base/lite_demo_deploy/image_classification/gradle/wrapper/.*" desc="Temp files"/>
<filteritem type="filepath" name="07_cloud_base/lite_demo_deploy/images/.*" desc="Temp files"/>
<filteritem type="filepath" name="application_example/animeganv2/images/.*" desc="Temp files"/>
<filteritem type="filepath" name="application_example/mlpMixer/src/.*" desc="Temp files"/>
<filteritem type="filepath" name="application_example/pfld/.*" desc="Temp files"/>
<filteritem type="filepath" name="application_example/reconet/.*" desc="Temp files"/>
<filteritem type="filepath" name="training_example/CNN/EfficientNet/.*" desc="Temp files"/>
<filteritem type="filepath" name="training_example/Transformer/ViT/images/.*" desc="Temp files"/>
</filefilter>
</filefilterlist>
<licensematcherlist>
<!--licensematcher name="uvwxyz License" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped.">
<licensetext name="
uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
" desc=""/>
<licensetext name="
uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
" desc=""/>
</licensematcher-->
</licensematcherlist>
</oatconfig>
</configuration>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化