mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 06:48:52 -06:00
fix: read wanted dumps beside the site database
This commit is contained in:
1 parent
2f804a26ce
commit
fd5cd98a7f
1 file changed
+7
-3
@@ -669,10 +669,14 @@ def generate_site(args: argparse.Namespace) -> None:
|
|||||||
[cov["config"] for cov in coverages.values()], db, profiles, run.suppl_names)
|
[cov["config"] for cov in coverages.values()], db, profiles, run.suppl_names)
|
||||||
# Built once, the derivable dumps taken out once: the provenance page and
|
# Built once, the derivable dumps taken out once: the provenance page and
|
||||||
# the CSV it links to must list the same dumps.
|
# the CSV it links to must list the same dumps.
|
||||||
|
# The snapshots and the pipeline's derivable.json sit beside the
|
||||||
|
# database, as its paths do: read from the working directory, a run on
|
||||||
|
# another collection published this checkout's Wanted list.
|
||||||
|
collection = siteinputs.current().db.parent
|
||||||
dumps = wanted_dumps(
|
dumps = wanted_dumps(
|
||||||
build_report(db, load_provenance_snapshots(), needs=profile_needs(profiles, db),
|
build_report(db, load_provenance_snapshots(str(collection / "provenance")),
|
||||||
root=siteinputs.current().db.parent),
|
needs=profile_needs(profiles, db), root=collection),
|
||||||
load_derivable(),
|
load_derivable(str(collection / "derivable.json")),
|
||||||
)
|
)
|
||||||
|
|
||||||
# The test each emulator page builds for itself: the parts a page is
|
# The test each emulator page builds for itself: the parts a page is
|
||||||
|
|||||||
Reference in new issue
Block a user