Skip to content

Design client library #1135

Description

@lukpueh

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.

Activity

  1. added this to the Client Refactor milestone on Sep 10, 2020
  2. added
    clientRelated to the client (updater) implementation
    on Sep 10, 2020
  3. added
    discussionDiscussions related to the design, implementation and operation of the project
    on Sep 10, 2020
  4. joshuagl commented on Sep 10, 2020

    @joshuagl
    Member

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

    TAPs to be aware of when designing:

  5. jku commented on Sep 14, 2020

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

    Filed #1142 for this

  6. jku commented on Sep 14, 2020

    @jku
    Member
    • supporting metadata and targets on separate hosts, and different targets on different hosts

    and #1143 for this

  7. jku commented on Oct 2, 2020

    @jku
    Member

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

  8. added
    decision recordOutcome of this discussion should be tracked in a decision record
    on Oct 14, 2020
  9. joshuagl commented on Oct 14, 2020

    @joshuagl
    Member

    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.

  10. jku commented on May 19, 2021

    @jku
    Member

    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.

    Same same.

    Now that we've kicked out mirrors (so are not directly compatible anyway) and now that I've had time to think about it, I think we should improve the API as much as we can. It'll still be quite close to the old one (so not hard to port) but hopefully an improvement.

    Latest ideas in #1317 (comment)

  11. added
    backlogIssues to address with priority for current development goals
    on May 26, 2021
  12. removed
    backlogIssues to address with priority for current development goals
    on Jul 28, 2021
  13. MVrachev commented on Aug 27, 2021

    @MVrachev
    Collaborator

    I think that in a way this issue and issue #1317 are covering the same stuff.
    Do we need that one?
    If we don't, I think the only two proposals left that are not addressed are

    TAPs to be aware of when designing:

    which we can move in #1317 as TODO items.

  14. jku commented on Sep 17, 2021

    @jku
    Member

    IMO the final missing piece(s) here might be documented in #1580.

  15. jku commented on Nov 30, 2021

    @jku
    Member

    I'm sure there are features that are still wanted by someone, but I think the client design is now done and implemented: anything still missing is a new feature, closing this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clientRelated to the client (updater) implementationdecision recordOutcome of this discussion should be tracked in a decision recorddiscussionDiscussions related to the design, implementation and operation of the project

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions