mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-18 15:47:51 -06:00
fix: standalone writers take the repository lock
This commit is contained in:
1 parent
639204712b
commit
1ed605969d
10 files changed
+152
-30
No files matched your search
@@ -12080,11 +12080,14 @@ def main() -> None:
|
||||
# files in the sweep, so the second is refused instead.
|
||||
import contextlib
|
||||
|
||||
from common import load_data_dir_registry
|
||||
from common import load_data_dir_registry, repository_output_lock
|
||||
from refresh_data_dirs import hold_data_dirs
|
||||
|
||||
# The coverage pages resolve against data/, held while they are read.
|
||||
with artifact_lock(args.docs_dir), contextlib.ExitStack() as held:
|
||||
# Whatever --docs-dir says, website/src/data and wiki/ are written.
|
||||
with artifact_lock(args.docs_dir), \
|
||||
repository_output_lock(str(PUBLISHED_PARTS_FILE)), \
|
||||
contextlib.ExitStack() as held:
|
||||
hold_data_dirs(held, load_data_dir_registry(args.platforms_dir))
|
||||
_generate(args)
|
||||
except ArtifactLockBusy as exc:
|
||||
|
||||
Reference in new issue
Block a user