Extensions: lock the repositories before overwriting their manifestsmain
commit8907069c243ec98ee70975e8033e236d6f3357e6
authorCampbell Barton <ideasman42@gmail.com>
Wed, 15 May 2024 11:51:34 +0000 (15 21:51 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 15 May 2024 11:51:34 +0000 (15 21:51 +1000)
tree5f46893e24a3f6bd626e0d5559791a3151e86ee8
parent9117d3cafcd2629615456faa82d8a3f61181aa76
Extensions: lock the repositories before overwriting their manifests

It was possible for multiple Blender's to write to the repositories
JSON at once when checking for updates on startup.
This is now prevented with locking.
bl_pkg/bl_extension_notify.py
bl_pkg/bl_extension_utils.py
bl_pkg/cli/blender_ext.py