Preparatory work to drop unused fields from OriginVisit
Related to T2310
Differential D3306
loader: Read snapshot out of the last origin visit status ardumont on Jun 17 2020, 4:26 PM. Authored by
Details
Preparatory work to drop unused fields from OriginVisit Related to T2310 tox
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D3306 (id=11710)Rebasing onto f1866671a4... Current branch diff-target is up to date. Changes applied before testcommit 63957ffc0cba296c37bc5f835a0d011ffa2e65e2 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Wed Jun 17 16:22:12 2020 +0200 loader: Read snapshot out of the last origin visit status Related to T2310 See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/9/ for more details. Comment Actions Build is green Patch application report for D3306 (id=11711)Rebasing onto f1866671a4... Current branch diff-target is up to date. Changes applied before testcommit 151831ca932d85a2a75b93951f4245e3027f5c14 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Wed Jun 17 16:22:12 2020 +0200 loader: Read snapshot out of the last origin visit status Related to T2310 See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/10/ for more details. Comment Actions Build is green Patch application report for D3306 (id=11806)Rebasing onto cba09ab734... Current branch diff-target is up to date. Changes applied before testcommit 7837917c8ab71aefa1ad3da816defb900668f319 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Jun 22 16:02:57 2020 +0200 loader: Read snapshot out of the last origin visit status Related to T2310 See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/11/ for more details.
Comment Actions Make it apparent we only use the snapshot for its id Comment Actions Build is green Patch application report for D3306 (id=11808)Rebasing onto cba09ab734... Current branch diff-target is up to date. Changes applied before testcommit 33fe79eb34c074a760fae5a67f2130e1d47ea7c9 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Jun 22 16:02:57 2020 +0200 loader: Retrieve last snapshot with snapshot_get_latest function Related to T2310 See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/12/ for more details.
Comment Actions Not sure about implications of the branches_count=1 argument, but it may be related to my other comment. Otherwise, LGTM.
Comment Actions
As we only want the snapshot id here, there is no point in creating the full snapshot here (which in some edge cases could be large). Comment Actions Build is green Patch application report for D3306 (id=11827)Rebasing onto cba09ab734... Current branch diff-target is up to date. Changes applied before testcommit d210f73957a52888ba6e17e118fa4e4485e3536b Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Jun 22 16:02:57 2020 +0200 loader: Read snapshot out of the last origin visit status Related to T2310 See https://jenkins.softwareheritage.org/job/DLDHG/job/tests-on-diff/13/ for more details. |