Skip to content

ngclient: review _preorder_depth_first_walk() #1398

Closed

Description

@jku

This is for the new client that's currently in experimental-client branch: but I'm hoping this issue is handled after the experimental client is merged to develop

We've not touched _preorder_depth_first_walk() or _visit_child_role() yet: they need some love:
First things:

  • type annotations would make the whole thing a lot easier to read and reason about
  • docstrings are old style
  • evaluate if some functionality could/should be in API (e.g. in DelegatedRole)

Then maybe:

  • maybe the code can be made simpler?
  • review the use of fnmatch(): it seems a bit suspicious (again using filesystem path functions for what I think are url fragments)

Activity

  1. changed the title [-]experimental client: review _preorder_depth_first_walk()[/-] [+]ngclient: review _preorder_depth_first_walk()[/+] on May 25, 2021
  2. added
    backlog
    on May 26, 2021
  3. added this to the weeks22-23 milestone on May 26, 2021
  4. removed this from the weeks22-23 milestone on Jun 9, 2021
  5. added this to the weeks24-25 milestone on Jun 9, 2021
  6. joshuagl commented on Jun 9, 2021

    @joshuagl
    Member

    See also a request for clarification on the algorithm in the specification theupdateframework/specification#164

  7. self-assigned this
    on Jun 9, 2021
  8. modified the milestones: weeks26-27, Sprint 4 on Jul 7, 2021
  9. removed
    backlog
    on Jul 7, 2021
  10. modified the milestones: Sprint 4, Sprint 5 on Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions