You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to have some client testing against repositories produced with other tuf implementations.
I think there are two options in general (could choose one or both):
copy a snapshot of a public production repository, store contents in python-tuf git with the tests
test against a public production repository
The former would be an additional regression test -- get it working once and then it might prevent code regressions in future. Latter would be more interesting in that the metadata may change over time (as the metadata just has different variations but also as the other implementation changes), but ultimately it is an unreliable test for multiple reasons so couldn't be a blocking test in CI. I'm not sure yet which makes most sense.
Some possible repos to test against (I have not spoken to the maintainers of any of these repositories about this):
copy a snapshot of a public production repository, store contents in python-tuf git with the tests
I forgot to mention: testing like this would require mocking the current time to roughly the time the snapshot was made. Otherwise the metadata will start expiring sooner or later.
It would be good to have some client testing against repositories produced with other tuf implementations.
I think there are two options in general (could choose one or both):
The former would be an additional regression test -- get it working once and then it might prevent code regressions in future. Latter would be more interesting in that the metadata may change over time (as the metadata just has different variations but also as the other implementation changes), but ultimately it is an unreliable test for multiple reasons so couldn't be a blocking test in CI. I'm not sure yet which makes most sense.
Some possible repos to test against (I have not spoken to the maintainers of any of these repositories about this):
As for what to test, a client refresh from initial root.json certainly makes sense. But if we test against a live repo we could also:
The text was updated successfully, but these errors were encountered: