mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-29 12:58:51 -06:00
refactor: hand uncached data trees to the caller
data_directory_members printed a warning and filled a process-wide set that the pack, the manifest and the step 5 comparison all fed. It now reports each uncached tree through uncached_out. The platform pack and the manifest print the warning and add the tree to the run's account, as the emulator pack already did with data_dir_notices, and generate_pack names what it wrote: a --manifest run no longer ends on 'packs written without data directories'.
This commit is contained in:
1 parent
01f8408038
commit
6721a738b4
9 files changed
+159
-64
No files matched your search
@@ -101,6 +101,7 @@ def run_platform_packs(
|
||||
one_per_slot=args.one_per_slot,
|
||||
offline=args.offline,
|
||||
no_game_data=getattr(args, "no_game_data", False),
|
||||
uncached_out=getattr(args, "uncached_trees", None),
|
||||
)
|
||||
print(f" Split into {len(zip_paths)} packs")
|
||||
else:
|
||||
@@ -136,6 +137,7 @@ def run_platform_packs(
|
||||
offline=args.offline,
|
||||
pack_name=group_name,
|
||||
no_game_data=getattr(args, "no_game_data", False),
|
||||
uncached_out=getattr(args, "uncached_trees", None),
|
||||
)
|
||||
except (FileNotFoundError, OSError, yaml.YAMLError) as e:
|
||||
print(f" ERROR: {e}", file=sys.stderr)
|
||||
@@ -165,6 +167,7 @@ def run_platform_packs(
|
||||
offline=args.offline, required_only=required_only,
|
||||
data_registry=data_registry,
|
||||
no_game_data=getattr(args, "no_game_data", False),
|
||||
uncached_out=getattr(args, "uncached_trees", None),
|
||||
), target_list(board_list) if board_list.is_file() else None)
|
||||
|
||||
all_ok = finalize_platform_packs(args, db, data_registry, built, systems_for, system_filter)
|
||||
|
||||
Reference in new issue
Block a user