Page MenuHomeSoftware Heritage

schemata: Send only origin url for scheduling debian loader tasks
ClosedPublic

Authored by ardumont on Oct 14 2019, 3:06 PM.

Details

Summary

This answers the part mentioned in the new loader-debian implementation diff:

About debian lister, in any case:

  • We'll need to adapt slightly the lister to pass solely the origin url and not the origin dict

Related D2135
Related T2025

Test Plan

tox

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz added a subscriber: vlorentz.

Could you add a test?

This revision now requires changes to proceed.Oct 17 2019, 3:13 PM

Could you add a test?

Well, no,

  1. there is no test at all.
  1. And this will go deprecated as soon as we land the package loader (soon).
  1. That package loader includes the new debian loader (D2135, which is tested).

That does not use this schemata model any more.

The debian lister will have that model part moved there (already tested).

And that part of the code will be dropped... and currently reinjected where it belong within the lister as the other listers do.

It really feels unnecessary...

This revision is now accepted and ready to land.Oct 17 2019, 3:29 PM