-
Notifications
You must be signed in to change notification settings - Fork 266
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
repository: maybe provide a Repository.get_delegating_role() #2552
Comments
jku
changed the title
repository: maybe provide a Repository.get_delegate_role()
repository: maybe provide a Repository.get_delegating_role()
Feb 9, 2024
Oh this is going to be a nightmare if we allow "diamond" delegation structure (mutliple roles in different delegating metadata delegating to same name) |
cc #660 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wonder if
Repository.get_delegating_role(role: str) -> str
would be usefulRepository.get_verification_result(role, md)
The reason this does not exist is that we can't really provide a fully generic implementation:
Repository
does not maintain a delegation tree. So we couldRepository
implementations to provide the method ORRepository
The text was updated successfully, but these errors were encountered: