Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

rethink old metadata file deletion #2

@jku

Description

@jku

Currently previous versions of targets are deleted as the new one is created. This creates a situation where the repo is invalid until snapshot is updated.

Try to leave the old files in place, and only remove them during the snapshot update. This way the target update can be merged and the repo is valid while snapshot is getting updated.

tufrepo verify must be able to handle this and should recognise the issue ("the repo is valid but there are metadata files that are not included in snapshot")

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions