mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
In "Targets" section:
- Remove `repository.targets('<delegated rolename>').add_target(...)`
command, because it is not copy-pastable and delegations
have not yet been covered at that point.
- Update the "remove targets" snippet to remove the previously added
"myproject/file4.txt" instead of "file3.txt", because we will add
"myproject/file4.txt" to the delegated "unclaimed" role in the
Delegation section.
In "Delegation" section:
- Change "unclaimed" delegation pattern from 'foo*.tgz', for which
no file exists in the tutorial, to 'myproject/*.txt'.
- Add "myproject/file4.txt" to the delegated unclaimed targets role
- Remove the command that updates the version of the "unclaimed"
role, because this should not be done manually, and the add_target
call shows just as well how to access delegated roles.
- Comment out the revoke delgated role section, leaving a TODO note
for required updates (should be ticketized).
In "Delegate to Hashed Bins":
- Add call to remove target "myproject/file4.txt" from "unclaimed",
because it is further delgated to hashed bins
- Add dirty_roles() call to show all the newly created bins
- Add mark_dirty() and writeall() calls to create a consistent
state of the repo
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
|
||
|---|---|---|
| .. | ||
| images | ||
| latex | ||
| papers | ||
| ADOPTERS.md | ||
| AUTHORS.txt | ||
| CHANGELOG.md | ||
| CLI.md | ||
| CODE-OF-CONDUCT.md | ||
| CONTRIBUTORS.rst | ||
| GETTING_STARTED.rst | ||
| GOVERNANCE.md | ||
| INSTALLATION.rst | ||
| MAINTAINERS.txt | ||
| METADATA.md | ||
| OVERVIEW.rst | ||
| QUICKSTART.md | ||
| ROADMAP.md | ||
| SECURITY.md | ||
| TAP.rst | ||
| tuf-spec.0.9.txt | ||
| tuf-spec.md | ||
| tuf-spec.txt | ||
| TUTORIAL.md | ||