When a revision is passed, it now retrieves and caches the complete
history three to minimize the queries to the graph.
Fix get_archive to avoid storage parameter for ArchiveGraph
Paths
| Differential D7477 Authored by douardda on Mar 31 2022, 12:18 PM.
Details
Diff Detail
Event TimelineHerald added a reviewer: Reviewers. · View Herald TranscriptMar 31 2022, 12:18 PM2022-03-31 12:18:06 (UTC+2) Comment Actions Build is green Patch application report for D7477 (id=27129)Rebasing onto 16723f8be4... Current branch diff-target is up to date. Changes applied before testcommit 67d7c5733e9b4648b3fb07918b69107fc6bcd036 Author: Andres Ezequiel Viso <aeviso@softwareheritage.org> Date: Thu Mar 31 12:16:19 2022 +0200 Fix `get_archive` to avoid `storage` parameter for `ArchiveGraph` commit 9f77e41049f268ae388f0a1b77cfa7a0c3b49e32 Author: Andres Ezequiel Viso <aeviso@softwareheritage.org> Date: Thu Mar 31 11:42:47 2022 +0200 Improve `revision_get_parents` implementation in `ArchiveGraph` When a revision is passed, it now retrieves and caches the complete history three to minimize the queries to the graph. See https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/589/ for more details. Harbormaster completed remote builds in B28046: Diff 27129.Mar 31 2022, 2:29 PM2022-03-31 14:29:54 (UTC+2) Comment Actions Build is green Patch application report for D7477 (id=27129)Rebasing onto 16723f8be4... Current branch diff-target is up to date. Changes applied before testcommit 67d7c5733e9b4648b3fb07918b69107fc6bcd036 Author: Andres Ezequiel Viso <aeviso@softwareheritage.org> Date: Thu Mar 31 12:16:19 2022 +0200 Fix `get_archive` to avoid `storage` parameter for `ArchiveGraph` commit 9f77e41049f268ae388f0a1b77cfa7a0c3b49e32 Author: Andres Ezequiel Viso <aeviso@softwareheritage.org> Date: Thu Mar 31 11:42:47 2022 +0200 Improve `revision_get_parents` implementation in `ArchiveGraph` When a revision is passed, it now retrieves and caches the complete history three to minimize the queries to the graph. See https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/588/ for more details. aeviso added a child revision: D7478: Clean up `model` removing old unused logic.Mar 31 2022, 3:25 PM2022-03-31 15:25:43 (UTC+2) This revision is now accepted and ready to land.Apr 5 2022, 3:58 PM2022-04-05 15:58:09 (UTC+2) douardda abandoned this revision.
Revision Contents
Diff 27129 swh/provenance/__init__.py
swh/provenance/swhgraph/archive.py
swh/provenance/tests/test_archive_interface.py
|