mirror of
https://gitee.com/openharmony/third_party_pyyaml
synced 2024-11-23 07:20:31 +00:00
2ecaf6cedb
Signed-off-by: xuyong <xuyong59@huawei.com>
101 lines
8.0 KiB
XML
101 lines
8.0 KiB
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.
|
||
-->
|
||
|
||
<configuration>
|
||
<oatconfig>
|
||
<licensefile></licensefile>
|
||
<policylist>
|
||
<policy name="projectPolicy" desc="">
|
||
<policyitem type="license" name="MIT" path="LICENSE" desc="兼容license"/>
|
||
<policyitem type="license" name="MIT" path="announcement.msg" desc="兼容license"/>
|
||
<policyitem type="license" name="MIT" path="setup.py" desc="兼容license"/>
|
||
<policyitem type="copyright" name=" Ingy döt Net" path="announcement.msg" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/>
|
||
<policyitem type="copyright" name=" Simonov" path="announcement.msg" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/>
|
||
<!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/-->
|
||
<!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/-->
|
||
<!--policyitem type="copyright" name="xxx" path="abc/.*" 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="invalid-python-bytes-2-py3.loader-error" desc="Not a binary file, doesn't have any risk."/>
|
||
<filteritem type="filename" name="latin.unicode" desc="Just a config file with special format, doesn't have any risk."/>
|
||
<filteritem type="filename" name="emoticons.unicode" desc="Just a config file with special format, doesn't have any risk."/>
|
||
<filteritem type="filename" name="emoticons2.unicode" desc="Just a config file with special format, doesn't have any risk."/>
|
||
<filteritem type="filename" name="invalid-base64-data-2.loader-error" desc="Not a binary file, doesn't have any risk."/>
|
||
<filteritem type="filename" name="odd-utf16.stream-error" desc="Not a binary file, doesn't have any risk."/>
|
||
<!--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="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
|
||
<filteritem type="filepath" name="tests/.*" desc="no license header"/>
|
||
<filteritem type="filepath" name="lib/yaml/.*" desc="no license header"/>
|
||
<filteritem type="filepath" name="examples/.*" desc="no license header"/>
|
||
<filteritem type="filepath" name="yaml/.*" desc="no license header"/>
|
||
<filteritem type="filepath" name="packaging/build/.*" desc="no license header"/>
|
||
<filteritem type="filename" name="CHANGES" desc="no license header"/>
|
||
<filteritem type="filename" name="pyproject.toml" desc="no license header"/>
|
||
<!--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="filepath" name="tests/.*" desc="Describe the reason for filtering scan results"/>
|
||
<filteritem type="filepath" name="lib/yaml/.*" desc="Describe the reason for filtering scan results"/>
|
||
<filteritem type="filepath" name="examples/.*" desc="Describe the reason for filtering scan results"/>
|
||
<filteritem type="filepath" name="yaml/.*" desc="Describe the reason for filtering scan results"/>
|
||
<filteritem type="filepath" name="packaging/build/.*" desc="Describe the reason for filtering scan results"/>
|
||
<filteritem type="filename" name="CHANGES" desc="Describe the reason for filtering scan results"/>
|
||
<filteritem type="filename" name="pyproject.toml" desc="Describe the reason for filtering scan results"/>
|
||
<filteritem type="filename" name="setup.py" desc="Describe the reason for filtering scan results"/>
|
||
<!--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="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>
|
||
|
||
</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>
|