potiuk commented on issue #296: URL: https://github.com/apache/tooling-trusted-releases/issues/296#issuecomment-3493379196
FYI https://github.com/apache/airflow/pull/57901. I am repackaging all the source-tarballs of ours to follow the "-source" subfolder. Also I improved the licence checks to use embedded .rat-excludes to make things simpler and verify that rat checks works. After the check it will boils down to (if you are going to implement similar thing): ```bash rm -rf /tmp/apache/airflow-src && mkdir -p /tmp/apache-airflow-src && tar -xzf ${PATH_TO_SVN}/${VERSION}/apache_airflow*-source.tar.gz --strip-components 1 -C /tmp/apache-airflow-src ``` Followed by: ```bash java -jar /tmp/apache-rat-0.17/apache-rat-0.17.jar --input-exclude-file /tmp/apache-airflow-src/.rat-excludes /tmp/apache-airflow-src/ | grep -E "! |INFO: " ``` That nicely (for manual inspection at least) produces this: ``` INFO: Apache Creadur RAT 0.17 (Apache Software Foundation) INFO: Excluding patterns: .git-blame-ignore-revs, .github/*, .git ... INFO: Excluding MISC collection. INFO: Excluding HIDDEN_DIR collection. SLF4J(W): No SLF4J providers were found. SLF4J(W): Defaulting to no-operation (NOP) logger implementation SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details. INFO: RAT summary: INFO: Approved: 15615 INFO: Archives: 2 INFO: Binaries: 813 INFO: Document types: 5 INFO: Ignored: 2392 INFO: License categories: 2 INFO: License names: 2 INFO: Notices: 216 INFO: Standards: 15609 INFO: Unapproved: 0 INFO: Unknown: 0 ``` And in case of errors: ``` ! Unapproved: 1 A count of unapproved licenses. ! /CODE_OF_CONDUCT.md ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
