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

Update to tuf.repository module changes #67

Open jku opened 1 year ago

jku commented 1 year ago

Describe the bug

https://github.com/theupdateframework/python-tuf/pull/2321

Useful changes in repository will

  1. require some changes (rename snapshot() to do_snapshot() and timestamp() to do_timestamp()) -- not doing this will break the app once the next release is made
  2. allow some nicer application code (see the better typed accessors)

Reproduction steps

-

Expected behavior

-

Additional context

No response

jku commented 1 year ago

not doing this will break the app once the next release is made

Oops this is not actually true: repository-editor has not yet been updated to use the tuf.repository module (tuf.repository was developed from librepo in this source tree, and this source tree hasn't yet been updated)...

So nothing will break but it would make sense to

Maybe it actually makes sense to wait until next python-tuf release (2.2?) before doing that