Loaders only use prepare_origin_visit to set the origin and visit date,
so it is simpler to do it in BaseLoader.__init__.
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Maniphest Tasks
- T4187: Pass forge type to loaders
- Commits
- rDLDBASE59814745be54: BaseLoader: Add 'origin_url' argument and remove 'prepare_origin_visit' method
Diff Detail
Diff Detail
- Repository
- rDLDBASE Generic VCS/Package Loader
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D7610 (id=27566)
Rebasing onto cc227cab28...
Current branch diff-target is up to date.
Changes applied before test
commit 59814745be545c715db6b6e1794a92e5f29c50bc Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Apr 21 09:48:36 2022 +0200 BaseLoader: Add 'origin_url' argument and remove 'prepare_origin_visit' method Loaders only use prepare_origin_visit to set the origin and visit date, so it is simpler to do it in `BaseLoader.__init__`.
See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/722/ for more details.