mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 18:47:53 -06:00
fix: keep the offline database build offline
preserve_large_file_entries mixed the keep-or-drop rule with a download, a write into bios/ and a SystemExit. The rule is now surviving_entries, the restore a separate step that receives offline, and read_database raises DatabaseUnreadable that the build turns into exit 1. generate_db gains --offline, which pipeline --offline passes to step 1.
This commit is contained in:
1 parent
8ec1c3aa2f
commit
a30984912c
8 files changed
+208
-147
No files matched your search
@@ -40,6 +40,11 @@ def main() -> int:
|
||||
default=DEFAULT_PROVENANCE_DIR,
|
||||
help="Directory with dump-catalog snapshots",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--offline",
|
||||
action="store_true",
|
||||
help="Restore release assets from the local cache only, never download",
|
||||
)
|
||||
args = parser.parse_args()
|
||||
require_directory(args.bios_dir)
|
||||
with repository_output_lock(args.output):
|
||||
|
||||
Reference in new issue
Block a user