Page MenuHomeSoftware Heritage

loaders: Remove the validation proxy setup
ClosedPublic

Authored by ardumont on Mar 2 2020, 1:49 PM.

Details

Summary

The loaders are now sending the full swh.model.model objects.

Another way would be:

  • as a first iterative step, to keep that setup (abandonning this diff)
  • make the validation storage actually allows swh.model.model objects as input (no-op)
  • then as another optional step (we'd be isofunctional for now without it), make the actual integrity checks (hashing the manifest to its id(s) and compare)

What do you think?

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont retitled this revision from loaders: Remove the validation proxy to loaders: Remove the validation proxy setup.Mar 2 2020, 1:54 PM

Considering the amount of breaking changes between swh.loader.*, swh.model, swh.core and swh.storage, I think we're due for a "stop the world" upgrade anyway. At this point I don't think there's much point tweaking the validate proxy anymore.

This revision was not accepted when it landed; it landed in state Needs Review.Mar 2 2020, 3:22 PM
This revision was automatically updated to reflect the committed changes.