Tuf: Design client library

Created on 10 Sep 2020  Â·  5Comments  Â·  Source: theupdateframework/tuf

Identify what functionality from existing updater/download modules should exist in a TUF client on top of a metadata model as sketched in #1112.

Start with API functionality.

Coordinate with #1134.

client decision record discussion

All 5 comments

Things to consider, based on learnings from a PoC integration with pip (cc @jku):

  • download progress reporting #1057
  • allowing a package manager to plug-in their own network/download stack
  • minimal footprint (minimal dependencies and being able to be installed independently of the repository library and tools)
  • supporting metadata and targets on separate hosts, and different targets on different hosts
  • ability to check for existence of local configuration for a given repository #1063

TAPs to be aware of when designing:

  • allowing a package manager to plug-in their own network/download stack

Filed #1142 for this

  • supporting metadata and targets on separate hosts, and different targets on different hosts

and #1143 for this

See #1158 for "client/updater: Parallel Downloads"

We're seeing multiple areas where the current Updater interface/API is brittle or confusing (#1143, #1174, possibly others).

I had originally expected that we would try to maintain the current updater API, but we should review that and even if we do stay close to the current API plan to fix the confusing/outdated/inflexible aspects.

Was this page helpful?
0 / 5 - 0 ratings