Uh oh!
There was an error while loading. Please reload this page.
Remove global from plugins_manager - #59851
Conversation
Uh oh!
There was an error while loading. Please reload this page.
potiuk
commented
Dec 27, 2025
Why the .js changes? |
jscheffl
commented
Dec 27, 2025
Somehow the Prek plugin for JS compiler kicked-in after the small PY changes in FAB... not sure why. Seems some signature change... |
potiuk
commented
Dec 27, 2025
This one changed: And it matches "www" of the provider: We should probably make it a bit more selective when we switch to |
c3227c5 to
a1b9d32Compare491484a to
4f7dea5Comparejscheffl
commented
Dec 28, 2025
Changes the config in this PR now as the JS changes generated false alarms and this bothered me. Ready for review now! |
Uh oh!
There was an error while loading. Please reload this page.
* Remove global from plaungs_manager * Further rework and cleanup * Prevent re-build of Fab assets, change exclusions * Fixes * Fixes * Fixes * Fixes
* Remove global from plaungs_manager * Further rework and cleanup * Prevent re-build of Fab assets, change exclusions * Fixes * Fixes * Fixes * Fixes
* Remove global from plaungs_manager * Further rework and cleanup * Prevent re-build of Fab assets, change exclusions * Fixes * Fixes * Fixes * Fixes
* Remove global from plaungs_manager * Further rework and cleanup * Prevent re-build of Fab assets, change exclusions * Fixes * Fixes * Fixes * Fixes
* Remove global from plaungs_manager * Further rework and cleanup * Prevent re-build of Fab assets, change exclusions * Fixes * Fixes * Fixes * Fixes
Another small (in this case rather medium complex) increment to remove global statements for PR #58116
This removes global statements from plugins_manager.py where the a lot of state was hold in variables used with
globaland then a lot of code way relying to access these globals. Smelled a like a public interface and needed a bit of refactoring in other parts of the core to use proper access methods. Using new access methods withget_...()for all access with functools.cache() to prevent usage of global variables. All non external used methods marked as private to ensure it is not implicitly getting to be a public interface.globalis evil.