kaxil opened a new pull request, #63767: URL: https://github.com/apache/airflow/pull/63767
Fixes the CI failure: `cp: cannot stat 'dev/registry/logos/*': No such file or directory` `extract_metadata.py` unconditionally creates `dev/registry/logos/` even when no logos are found (e.g. incremental build for a provider without logos). The workflow's `if [ -d ... ]` check passes for the empty directory, then `cp -r logos/*` fails because the shell glob doesn't expand when the directory is empty. **Workflow**: Changed both glob-based copy guards to also verify the directory is non-empty before attempting `cp`. **extract_metadata.py**: Made directory creation lazy — `logos_dest_dir` is only created when `integration_logos_dir` exists, and `registry_logos_dir` is only created when a logo was actually found and needs copying. -- 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]
