You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "sarutak (via GitHub)" <gi...@apache.org> on 2023/10/29 17:38:48 UTC
[PR] AVRO-3861: [Build] Add RAT exclusions for python docs [avro]
sarutak opened a new pull request, #2572:
URL: https://github.com/apache/avro/pull/2572
AVRO-3861
## What is the purpose of the change
This PR fixes an issue that the RAT check fails if Python API docs built are in `lang/py/docs/build`.
You can reproduce this issue by the following steps.
1. Build Python API doc by `cd lang/py && ./build.sh doc`
2. Run `./build.sh dist`
Then, you can see the following error message.
```
[WARNING] Files with unapproved licenses:
lang/py/docs/build/html/_static/pygments.css
lang/py/docs/build/html/_static/basic.css
lang/py/docs/build/html/_static/doctools.js
lang/py/docs/build/html/_static/documentation_options.js
lang/py/docs/build/html/_static/language_data.js
lang/py/docs/build/html/_static/searchtools.js
lang/py/docs/build/html/_static/sphinx_highlight.js
lang/py/docs/build/html/_static/alabaster.css
lang/py/docs/build/html/_static/custom.css
lang/py/docs/build/html/automodule.html
lang/py/docs/build/html/index.html
lang/py/docs/build/html/intro.html
lang/py/docs/build/html/genindex.html
lang/py/docs/build/html/py-modindex.html
lang/py/docs/build/html/search.html
lang/py/docs/build/html/.buildinfo
lang/py/docs/build/html/searchindex.js
```
To fix this issue, this PR addes an exclusion rule to `pom.xml` for RAT.
## Verifying this change
Confirmed `./build.sh dist` succeeded even if there are some files in `lang/py/docs/build`
## Documentation
- Does this pull request introduce a new feature? (no)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-3861: [Build] Add RAT exclusions for python docs [avro]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g merged PR #2572:
URL: https://github.com/apache/avro/pull/2572
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-3861: [Build] Add RAT exclusions for python docs [avro]
Posted by "martin-g (via GitHub)" <gi...@apache.org>.
martin-g commented on PR #2572:
URL: https://github.com/apache/avro/pull/2572#issuecomment-1788670589
Thank you, @sarutak !
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org