vmware-archive / repository-editor-for-tuf

Command line tool for editing and maintaining a TUF repository
Apache License 2.0
5 stars 3 forks source link

Test a refactor of edit() contextmanager #48

Closed jku closed 2 years ago

jku commented 2 years ago

Current design with edit()-contextmanager is quite nice to use... but leaves almost all edit()-implementation complexity to the concrete repository class (in this code base GitRepository). There is an alternative design which could possibly hide that complexity inside librepo Repository (which I imagine could live in python-tuf):