apache / infrastructure-actions

Apache infrastructure
https://infrastructure.apache.org/
1 stars 3 forks source link

generate_settings.py crashes with ezt.UnknownReference: uses_copy #5

Closed sebbASF closed 5 months ago

sebbASF commented 5 months ago

I think this is because the code that initialises the setting is indented wrongly, so it is not invoked:

https://github.com/apache/infrastructure-actions/blob/f5fbac13ff1d57da7fdebaef3f461509e74ddb00/pelican/migration/generate_settings.py#L113-L119

The corresponding code in the live version looks rather different:

https://github.com/apache/infrastructure-pelican/blob/a43a4d6d7639c5e9671b4b5bab8704a398bff890/bin/buildsite.py#L373-L379