This is a requisite step for the new deposit loader [1].
The other existing "private" endpoints will be dropped soon.
Note:
- tests: Explicit private tests in their names
- deposit.signals: Scheduler 'load-deposit' task with those new endpoints (<-
this is what needs the new enpoints [1]).
[1] https://forge.softwareheritage.org/source/swh-loader-core/browse/package-loader/swh/loader/package/deposit.py$24
Related T2024