Update rpmlintrc rules
This commit is contained in:
parent
df065d6782
commit
afe5bb97da
@ -1,12 +1,10 @@
|
|||||||
# These are not real spelling errors...
|
# These are not real spelling errors…
|
||||||
addFilter(r' spelling-error .*[ \(]en_US\)? (microservices|auth|gRPC|'
|
addFilter(r' spelling-error .*[ \(]en_US\)? (microservices|auth|gRPC|'
|
||||||
r'channelz|proto(buf)?|unary|rpc|grpcio|csds|localhost|'
|
r'channelz|proto(buf)?|unary|rpc|grpcio|csds|localhost|'
|
||||||
r'grpc(debug)?|servicers|[Dx]DS|programatically) ')
|
r'grpc(debug)?|servicers|[Dx]DS|programatically) ')
|
||||||
# Maybe some of these are supposed to be CRNL-terminated:
|
# Maybe some of these are supposed to be CRNL-terminated:
|
||||||
addFilter(r' wrong-file-end-of-line-encoding '
|
addFilter(r' wrong-file-end-of-line-encoding '
|
||||||
r'/usr/share/doc/grpc/examples/csharp/')
|
r'/usr/share/doc/grpc/examples/csharp/')
|
||||||
# We generally follow upstream package metadata for these:
|
|
||||||
addFilter(r' description-shorter-than-summary')
|
|
||||||
# Many subpackages do not have their own documentation!
|
# Many subpackages do not have their own documentation!
|
||||||
addFilter(r' no-documentation')
|
addFilter(r' no-documentation')
|
||||||
# We believe we have patched all calls to SSL_CTX_set_cipher_list with
|
# We believe we have patched all calls to SSL_CTX_set_cipher_list with
|
||||||
@ -24,9 +22,12 @@ addFilter(r' shared-lib-without-dependency-information '
|
|||||||
# are intended for program use.
|
# are intended for program use.
|
||||||
addFilter(r' no-manual-page-for-binary grpc_.*_plugin$')
|
addFilter(r' no-manual-page-for-binary grpc_.*_plugin$')
|
||||||
# There is really no version information available.
|
# There is really no version information available.
|
||||||
addFilter(r' unversioned-explicit-provides bundled\(upb\)')
|
addFilter(r' unversioned-explicit-provides bundled\((upb|utf8_range)\)')
|
||||||
# We use rpmautospec, which rpmlint may not yet understand
|
# There is no replacement for these.
|
||||||
addFilter(r' Possible unexpanded macro in: .*%autorelease$')
|
addFilter(r' obsolete-not-provided python3-grpcio-(admin|csds)$')
|
||||||
addFilter(r' %changelog entries must start with \*$')
|
# Every RPM has this…
|
||||||
# This really does make sense:
|
addFilter(r' strange-permission grpc\.spec 600$')
|
||||||
addFilter(r' summary-not-capitalized .*xDS$')
|
# This is OK; it just doesn’t link libc
|
||||||
|
addFilter(r' shared-library-without-dependency-information /.*/libgrpc\+\+_error_details\.so\.')
|
||||||
|
# It is reasonable for trivial __init__.py files to be duplicates.
|
||||||
|
addFilter(r' files-duplicate .*__init__\.py')
|
||||||
|
Loading…
Reference in New Issue
Block a user