Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create roles independently from tuf.repository_tool.Targets.delegate() #820

Closed
awwad opened this issue Jan 8, 2019 · 1 comment
Closed
Labels
enhancement good first issue Bite-sized items for first time contributors up for grabs

Comments

@awwad
Copy link
Contributor

awwad commented Jan 8, 2019

Related to #660 .

Long ago in the reference implementation, creating a delegation was equivalent to creating a role. That is not the case, however, as a delegation can point to an existing role. Accordingly, the Targets class method 'delegate()' creates a role. We made some changes previously to allow delegate() to work even if the role to delegate to already exists, but the code is still confusing in this regard. It's probably best to separate role creation from delegation to that role.

@awwad awwad added enhancement good first issue Bite-sized items for first time contributors up for grabs labels Jan 8, 2019
@joshuagl joshuagl added this to the Refactor milestone Jul 7, 2020
@joshuagl joshuagl removed this from the Refactor milestone Sep 8, 2020
@jku
Copy link
Member

jku commented Feb 16, 2022

Closing this issue as it was filed against (what is now known as) the legacy codebase: issue seems to not be relevant anymore. Please re-open or file a new issue if you feel that the issue is revelant to current python-tuf.

More details

Current source code (and upcoming 1.0 release) only contains the modern components

  • a low-level Metadata API (tuf.api) and
  • tuf.ngclient that implements the client workflow,

Legacy components (e.g. tuf.client, tuf.repository_tool, tuf.repository_lib as well as the repo and client scripts) are no longer included. See announcement and API reference for more details.

@jku jku closed this as completed Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue Bite-sized items for first time contributors up for grabs
Projects
None yet
Development

No branches or pull requests

3 participants