Skip to content

Metadata API: Consider removing 'update()' methods #1627

@lukpueh

Description

@lukpueh

[edited on 12/20/2021: Mention ".json" bias]
[edited on 11/10/2021: Point to #1230]

Description of issue or feature request:

The Metadata API classes for top-level roles Targets, Timestamp and Snapshot each have an update method. They have been criticised in several places (#1193 (comment) pp, #1223 (comment) pp, #1620 (comment)).

More specifically the following doubts have been expressed:

Current behavior:

  • purpose of method is unclear
  • method name is ambiguous

Expected behavior:

  • Make a better case for the purpose and names of methods and document it, or replace/remove.

Metadata

Metadata

Assignees

Labels

backlogIssues to address with priority for current development goalsrepositoryRelated to the repository implementation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions